#include <ivf/IvfRasterization.h>
Inheritance diagram for CIvfRasterization:
Public Types | |
enum | TCullFace { CF_FRONT, CF_BACK, CF_FRONT_AND_BACK } |
enum | TTargetFace { TF_FRONT, TF_BACK, TF_FRONT_AND_BACK } |
enum | TPolygonMode { PM_POINT, PM_LINE, PM_FILL } |
Public Member Functions | |
IvfClassInfo ("CIvfRasterization", CIvfBase) | |
void | setPolygonMode (TTargetFace face, TPolygonMode mode) |
void | defineSmoothShadeMode () |
void | defineWireFrameMode () |
void | enableCullFace () |
void | disableCullFace () |
bool | isCullFaceEnabled () |
void | enablePolygonSmooth () |
void | disablePolygonSmooth () |
void | enableLineSmooth () |
void | disableLineSmooth () |
void | setLineWidth (float width) |
TCullFace | getCullFace () |
void | setCullFace (TCullFace face) |
Static Public Member Functions | |
static CIvfRasterization * | getInstance () |
Friends | |
class | CIvfSingletonDestroyer< CIvfRasterization > |
This class controls OpenGL rasterisation options.
The class is accesssed in the following way:
CIvfRasterizationPtr rasterOps = CIvfRasterization::getInstance();
Definition at line 45 of file IvfRasterization.h.
|
Sets up smooth shading (default in OpenGL) |
|
Sets up wire frame rendering |
|
Disables culling of back faces |
|
Disable line smoothing |
|
Disables polygon smoothing |
|
Enables culling of back faces |
|
Enables line smoothing |
|
Enables smoothing of polygons |
|
Return cull face state |
|
Singleton access method
|
|
Return back face culling state |
|
Set the face to be culled, see TCullFace |
|
Sets line width |
|
Sets OpenGL polygon mode see TPolygonMode |