Stores the current draw style. More...
#include <Inventor/elements/SoDrawStyleElement.h>
Public Types | |
enum | Style { FILLED, LINES, POINTS, INVISIBLE, MARKERS } |
Public Member Functions | |
virtual void | print (FILE *fp) const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, Style style) |
static void | set (SoState *state, SoNode *, Style style) |
static Style | get (SoState *state) |
static Style | getDefault () |
Stores the current draw style.
This element stores the current draw style.
Returns current draw style from the state.
static int SoDrawStyleElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoInt32Element.
static SoType SoDrawStyleElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoInt32Element.
static Style SoDrawStyleElement::getDefault | ( | ) | [inline, static] |
Returns the default draw style.
virtual void SoDrawStyleElement::print | ( | FILE * | fp | ) | const [virtual] |
Prints element (for debugging).
Reimplemented from SoInt32Element.
Sets the current draw style in the state.
Sets the current draw style in the state.