Open Inventor Reference
|
Element that stores the current draw style.
#include <Inventor/elements/SoDrawStyleElement.h>
Public Types | |
enum | Style { FILLED, LINES, POINTS, INVISIBLE } |
These are the available draw styles: More... | |
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, Style style) |
Sets the current draw style in the state. | |
static void | set (SoState *state, SoNode *, Style style) |
static Style | get (SoState *state) |
Returns current draw style from the state. | |
static Style | getDefault () |
Returns the default draw style. | |
static void | initClass () |
Initializes the SoDrawStyleElement class. | |
Protected Member Functions | |
virtual | ~SoDrawStyleElement () |
Definition at line 69 of file SoDrawStyleElement.h.
Definition at line 75 of file SoDrawStyleElement.h.
virtual SoDrawStyleElement::~SoDrawStyleElement | ( | ) | [protected, virtual] |
Definition at line 94 of file SoDrawStyleElement.h.
References SoInt32Element::get().
static Style SoDrawStyleElement::getDefault | ( | ) | [inline, static] |
Definition at line 98 of file SoDrawStyleElement.h.
virtual void SoDrawStyleElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
Reimplemented in SoGLDrawStyleElement.
static void SoDrawStyleElement::initClass | ( | ) | [static] |
Reimplemented from SoInt32Element.
Reimplemented in SoGLDrawStyleElement.
virtual void SoDrawStyleElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoInt32Element.
Definition at line 89 of file SoDrawStyleElement.h.