Open Inventor Reference
|
Node that defines the style to use when rendering. More...
#include <Inventor/nodes/SoDrawStyle.h>
Public Types | |
enum | Style { FILLED = SoDrawStyleElement::FILLED, LINES = SoDrawStyleElement::LINES, POINTS = SoDrawStyleElement::POINTS, INVISIBLE = SoDrawStyleElement::INVISIBLE } |
Public Member Functions | |
SoDrawStyle () | |
Creates a drawing style node with default settings. | |
virtual void | doAction (SoAction *action) |
This method performs the "typical" operation of a node for any action. | |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | callback (SoCallbackAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoSFEnum | style |
Drawing style. | |
SoSFFloat | pointSize |
Radius of points (for POINTS style). | |
SoSFFloat | lineWidth |
Width of lines (for LINES style). | |
SoSFUShort | linePattern |
Stipple pattern for lines (for LINES style). | |
Protected Member Functions | |
virtual | ~SoDrawStyle () |
This node defines the current drawing style for all subsequent shape nodes in a scene graph. SoDrawStyle specifies how primitives should be rendered. The drawing style has no effect on picking or callback primitive generation.
DrawStyle { style FILLED pointSize 0 lineWidth 0 linePattern 65535 }
Definition at line 101 of file SoDrawStyle.h.
enum SoDrawStyle::Style |
Definition at line 106 of file SoDrawStyle.h.
SoDrawStyle::SoDrawStyle | ( | ) |
virtual SoDrawStyle::~SoDrawStyle | ( | ) | [protected, virtual] |
virtual void SoDrawStyle::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoDrawStyle::doAction | ( | SoAction * | action | ) | [virtual] |
The default implementation does nothing.
Reimplemented from SoNode.
virtual void SoDrawStyle::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoNode.
static void SoDrawStyle::initClass | ( | ) | [static] |
Reimplemented from SoNode.
Values can range from 0 (invisible) to 0xffff (solid). This specifies how dashed or dotted lines will be drawn.
Definition at line 128 of file SoDrawStyle.h.
Definition at line 123 of file SoDrawStyle.h.
Definition at line 120 of file SoDrawStyle.h.
Definition at line 117 of file SoDrawStyle.h.