Description
Classes
Functions
|
|
|
|
void |
drawAbsBox(RenderingContext & rc, const Geometry::Box & box) |
|
|
void |
drawAbsBox(RenderingContext & rc, const Geometry::Box & box, const Util::Color4f & color) |
|
|
void |
drawAbsWireframeBox(RenderingContext & rc, const Geometry::Box & box) |
|
|
void |
drawAbsWireframeBox(RenderingContext & rc, const Geometry::Box & box, const Util::Color4f & color) |
|
|
void |
drawBox(RenderingContext & rc, const Geometry::Box & box) |
|
|
void |
drawBox(RenderingContext & rc, const Geometry::Box & box, const Util::Color4f & color) |
|
|
void |
drawWireframeBox(RenderingContext & rc, const Geometry::Box & box) |
|
|
void |
drawWireframeBox(RenderingContext & rc, const Geometry::Box & box, const Util::Color4f & color) |
|
|
void |
drawWireframeSphere(RenderingContext & rc, const Geometry::Sphere & sphere) |
|
|
void |
drawWireframeSphere(RenderingContext & rc, const Geometry::Sphere & sphere, const Util::Color4f & color) |
|
|
void |
drawFastAbsBox(RenderingContext & rc, const Geometry::Box & box) |
|
|
void |
drawFullScreenRect(RenderingContext & rc) |
|
|
void |
drawQuad(RenderingContext & rc, const Geometry::Vec3f & lowerLeft, const Geometry::Vec3f & lowerRight, const Geometry::Vec3f & upperRight, const Geometry::Vec3f & upperLeft) |
|
|
void |
drawQuad(RenderingContext & rc, const Geometry::Vec3f & lowerLeft, const Geometry::Vec3f & lowerRight, const Geometry::Vec3f & upperRight, const Geometry::Vec3f & upperLeft, const Util::Color4f & color) |
|
|
void |
drawWireframeRect(RenderingContext & rc, const Geometry::Rect & rect) |
|
|
void |
drawWireframeRect(RenderingContext & rc, const Geometry::Rect & rect, const Util::Color4f & color) |
|
|
void |
drawRect(RenderingContext & rc, const Geometry::Rect & rect) |
|
|
void |
drawRect(RenderingContext & rc, const Geometry::Rect & rect, const Util::Color4f & color) |
|
|
void |
drawWireframeCircle(RenderingContext & rc, const Geometry::Vec2f & center, float radius) |
|
|
void |
drawWireframeCircle(RenderingContext & rc, const Geometry::Vec2f & center, float radius, const Util::Color4f & color) |
|
|
void |
drawTriangle(RenderingContext & rc, const Geometry::Vec3f & vertexA, const Geometry::Vec3f & vertexB, const Geometry::Vec3f & vertexC) |
|
|
void |
drawVector(RenderingContext & rc, const Geometry::Vec3f & from, const Geometry::Vec3f & to) |
|
|
void |
drawVector(RenderingContext & rc, const Geometry::Vec3f & from, const Geometry::Vec3f & to, const Util::Color4f & color) |
|
|
void |
drawVector(RenderingContext & rc, const Geometry::Vec3f & from, const Geometry::Vec3f & to, const Util::Color4f & color1, const Util::Color4f & color2) |
|
|
void |
enable2DMode(RenderingContext & rc) |
|
|
void |
enable2DMode(RenderingContext & rc, const Geometry::Rect_i & screenRect) |
|
|
void |
disable2DMode(RenderingContext & rc) Reset the projection and modelview matrices to the state before the last call to enable2DMode() . |
|
|
void |
enableInstanceBuffer(RenderingContext & rc, BufferObject & instanceBuffer, int32_t location, uint32_t elements) |
|
|
void |
disableInstanceBuffer(RenderingContext & rc, BufferObject & instanceBuffer, int32_t location, uint32_t elements) |
|
|
void |
drawInstances(RenderingContext & rc, Mesh * m, uint32_t firstElement, uint32_t elementCount, uint32_t instanceCount) |
|
|
void |
drawCamera(RenderingContext & rc, const Util::Color4f & color) Draw a symbolized camera using the given rendering context, and color. |
|
|
void |
drawCoordSys(RenderingContext & rc, float scale) |
|
|
void |
drawFrustum(RenderingContext & rc, const Geometry::Frustum & frustum, const Util::Color4f & color, float lineWidth) Draw the given frustum as lines using the given rendering context, color, and line width. |
|
|
void |
drawGrid(RenderingContext & rc, float scale) |
Documentation
function
drawAbsBox
Defined in Rendering/Draw.h:62
function
drawAbsBox
Defined in Rendering/Draw.h:63
function
drawAbsWireframeBox
Defined in Rendering/Draw.h:64
function
drawAbsWireframeBox
Defined in Rendering/Draw.h:65
function
drawBox
Defined in Rendering/Draw.h:66
function
drawBox
Defined in Rendering/Draw.h:67
function
drawWireframeBox
Defined in Rendering/Draw.h:68
function
drawWireframeBox
Defined in Rendering/Draw.h:69
function
drawWireframeSphere
Defined in Rendering/Draw.h:70
function
drawWireframeSphere
Defined in Rendering/Draw.h:71
function
drawFastAbsBox
Note: Because OpenGL immediate mode is used inside this function, the caller has to make sure that RenderingContext::applyChanges() is called before.
Defined in Rendering/Draw.h:77
function
drawFullScreenRect
Defined in Rendering/Draw.h:80
function
drawQuad
Draw a quadrilateral in three-dimensional space. The quadrilateral is given by four points. Positions, normals and texture coordinates are generated for the vertices.
Defined in Rendering/Draw.h:86
function
drawQuad
Set the current color and draw a quadrilateral in three-dimensional space.
See also: drawQuad
Defined in Rendering/Draw.h:92
function
drawWireframeRect
Defined in Rendering/Draw.h:94
function
drawWireframeRect
Defined in Rendering/Draw.h:95
function
drawRect
Defined in Rendering/Draw.h:97
function
drawRect
Defined in Rendering/Draw.h:98
function
drawWireframeCircle
Defined in Rendering/Draw.h:100
function
drawWireframeCircle
Defined in Rendering/Draw.h:101
function
drawTriangle
Draw a triangle in three-dimensional space. The triangle is given by three points. Positions are generated for the vertices only.
Defined in Rendering/Draw.h:108
function
drawVector
Defined in Rendering/Draw.h:110
function
drawVector
Defined in Rendering/Draw.h:111
function
drawVector
Defined in Rendering/Draw.h:112
function
enable2DMode
Set the projection and modelview matrices to enable drawing in screen space.
Note: The state before the call is saved. Call disable2DMode() to restore it.
Defined in Rendering/Draw.h:119
function
enable2DMode
Defined in Rendering/Draw.h:120
function
disable2DMode
Reset the projection and modelview matrices to the state before the last call to enable2DMode() .
Defined in Rendering/Draw.h:123
function
enableInstanceBuffer
|
|
|
|
|
|
void enableInstanceBuffer( |
RenderingContext & |
rc, |
|
BufferObject & |
instanceBuffer, |
|
int32_t |
location, |
|
uint32_t |
elements |
) |
|
|
Defined in Rendering/Draw.h:125
function
disableInstanceBuffer
|
|
|
|
|
|
void disableInstanceBuffer( |
RenderingContext & |
rc, |
|
BufferObject & |
instanceBuffer, |
|
int32_t |
location, |
|
uint32_t |
elements |
) |
|
|
Defined in Rendering/Draw.h:126
function
drawInstances
|
|
|
|
|
|
void drawInstances( |
RenderingContext & |
rc, |
|
Mesh * |
m, |
|
uint32_t |
firstElement, |
|
uint32_t |
elementCount, |
|
uint32_t |
instanceCount |
) |
|
|
Defined in Rendering/Draw.h:127
function
drawCamera
Draw a symbolized camera using the given rendering context, and color.
Defined in Rendering/DrawCompound.h:37
function
drawCoordSys
Defined in Rendering/DrawCompound.h:39
function
drawFrustum
Draw the given frustum as lines using the given rendering context, color, and line width.
Defined in Rendering/DrawCompound.h:42
function
drawGrid
|
|
|
|
|
|
void drawGrid( |
RenderingContext & |
rc, |
|
float |
scale |
) |
|
|
Defined in Rendering/DrawCompound.h:44