#include <sglStatelet.hpp>
Inheritance diagram for sglFrontFace::

Public Types | |
| enum | FrontFaceEnum { eCCW = GL_CCW, eCW = GL_CW } |
Public Methods | |
| sglFrontFace (FrontFaceEnum winding=eCCW) | |
| virtual | ~sglFrontFace () |
| void | setFrontFace (FrontFaceEnum winding) |
| FrontFaceEnum | getFrontFace () const |
| void | apply (sglCurrState *curr_state) const |
| virtual void | printInfo (ostream &ostrm, const char *indent_string) const |
Protected Attributes | |
| FrontFaceEnum | m_winding |
Example:
sglFrontFace *cmask = new sglFrontFace; // eCCW by default cmask->setFrontFace(sglFrontFace::eCW); // switch front face
Definition at line 1088 of file sglStatelet.hpp.
|
|
The front face mode tokens.
Definition at line 1092 of file sglStatelet.hpp. |
|
|
Constructor (also the default constructor).
Definition at line 1105 of file sglStatelet.hpp. |
|
|
virtual destructor.
Definition at line 1109 of file sglStatelet.hpp. |
|
|
Set the polygon winding mode.
Definition at line 1114 of file sglStatelet.hpp. |
|
|
Query the current winding mode.
Definition at line 1119 of file sglStatelet.hpp. |
|
|
Apply this state change to the current rendering state.
Reimplemented from sglStatelet. |
|
|
Output the state of this node to the specified ostream.
Reimplemented from sglStatelet. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001