#include <ivf/IvfPolyState.h>
Inheritance diagram for CIvfPolyState:
Public Types | |
enum | TTargetFace { TF_FRONT, TF_BACK, TF_FRONT_AND_BACK } |
enum | TPolygonMode { PM_POINT, PM_LINE, PM_FILL } |
Public Member Functions | |
CIvfPolyState () | |
virtual | ~CIvfPolyState () |
IvfClassInfo ("CIvfPolyState", CIvfRenderState) | |
void | setFace (TTargetFace face) |
TTargetFace | getFace () |
void | setMode (TPolygonMode mode) |
TPolygonMode | getMode () |
virtual void | doRestoreState () |
virtual void | doSaveState () |
virtual void | doState () |
This class encapsulates the OpenGL glPolygonMode() state function.
Definition at line 38 of file IvfPolyState.h.
|
CIvfPolyState constructor |
|
CIvfPolyState destructor |
|
Restore state to previous state Should be overidden by derived classes. Reimplemented from CIvfRenderState. |
|
Save the current state Should be overidden by derived classes. Reimplemented from CIvfRenderState. |
|
Apply new state Should be overidden by derived classes. Reimplemented from CIvfRenderState. |
|
Return target face |
|
Return face rendering mode |
|
Set target face
|
|
Set face rendering mode
|