1 #ifndef COIN_SODRAWSTYLE_H
2 #define COIN_SODRAWSTYLE_H
27 #include <Inventor/elements/SoDrawStyleElement.h>
28 #include <Inventor/fields/SoSFEnum.h>
29 #include <Inventor/fields/SoSFFloat.h>
30 #include <Inventor/fields/SoSFUShort.h>
31 #include <Inventor/nodes/SoSubNode.h>
39 static void initClass(
void);
43 FILLED = SoDrawStyleElement::FILLED,
44 LINES = SoDrawStyleElement::LINES,
45 POINTS = SoDrawStyleElement::POINTS,
46 INVISIBLE = SoDrawStyleElement::INVISIBLE
62 #endif // !COIN_SODRAWSTYLE_H
The SoPointSizeElement changes the pointsize setting of the render state.
Definition: SoPointSizeElement.h:29
static void setDrawStyleOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:570
SoSFFloat pointSize
Definition: SoDrawStyle.h:50
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35
static void set(SoState *const state, SoNode *const node, const float pointSize)
Definition: SoPointSizeElement.cpp:71
SoDrawStyle(void)
Definition: SoDrawStyle.cpp:157
virtual void GLRender(SoGLRenderAction *action)
Definition: SoNode.cpp:904
SbBool isIgnored(void) const
Definition: SoField.cpp:638
SoSFUShort linePattern
Definition: SoDrawStyle.h:52
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:67
@ POINTS
Definition: SoDrawStyle.h:45
@ LINES
Definition: SoDrawStyle.h:44
virtual ~SoDrawStyle()
Definition: SoDrawStyle.cpp:176
@ FILLED
Definition: SoDrawStyle.h:43
The SoDrawStyle class specificies common rendering properties for shapes.
Definition: SoDrawStyle.h:33
static void setLinePatternOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:630
Style
Definition: SoDrawStyle.h:42
static void set(SoState *const state, SoNode *const node, const float lineWidth)
Definition: SoLineWidthElement.cpp:70
virtual void callback(SoCallbackAction *action)
Definition: SoNode.cpp:974
The SoSFUShort class is a container for a unsigned short integer value.
Definition: SoSFUShort.h:30
SoSFFloat lineWidth
Definition: SoDrawStyle.h:51
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:31
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:41
virtual void GLRender(SoGLRenderAction *action)
Definition: SoDrawStyle.cpp:239
static void setPointSizeOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:676
SoState * getState(void) const
Definition: SoAction.cpp:1028
The SoGLLineWidthElement class changes the linewidth setting of the OpenGL render state.
Definition: SoGLLineWidthElement.h:29
virtual void callback(SoCallbackAction *action)
Definition: SoDrawStyle.cpp:246
@ INVISIBLE
Definition: SoDrawStyle.h:46
static void setLineWidthOverride(SoState *const state, SoNode *const node, const SbBool override)
Definition: SoOverrideElement.cpp:642
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:70
The SoGLPointSizeElement class changes the pointsize setting of the OpenGL render state.
Definition: SoGLPointSizeElement.h:30
SbBool isOverride(void) const
Definition: SoNode.cpp:683
SoSFEnum style
Definition: SoDrawStyle.h:49
The SoSFFloat class is a container for a floating point value.
Definition: SoSFFloat.h:30
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
virtual void doAction(SoAction *action)
Definition: SoNode.cpp:761
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition: SoGLRenderAction.h:39
The SoLineWidthElement class changes the linewidth setting of the render state.
Definition: SoLineWidthElement.h:29
virtual void doAction(SoAction *action)
Definition: SoDrawStyle.cpp:201
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen. 1.8.18