NAME
SoDrawStyle – node that defines the style to use when rendering
INHERITS FROM
SoDrawStyle
SYNOPSIS
#include <Inventor/nodes/SoDrawStyle.h>
enum Style {
SoDrawStyle::FILLED Draw filled regions
SoDrawStyle::LINES Draw only outlines (wire frame)
SoDrawStyle::POINTS Draw points at vertices
SoDrawStyle::INVISIBLE Do not draw anything at all
}
Fields from class SoDrawStyle:
Methods from class SoDrawStyle:
static SoType getClassTypeId()
void setOverride(SbBool state)
virtual SbBool affectsState() const
SbBool hasDefaultValues() const
SbBool set(const char *fieldDataString)
SbBool isNotifyEnabled() const
void unrefNoDelete() const
virtual SoType getTypeId() const
virtual void setName(const SbName &name)
virtual SbName getName() const
DESCRIPTION
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.
FIELDS
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). Values can range from 0 (invisible) to 0xffff (solid). This specifies how dashed or dotted lines will be drawn.
METHODS
SoDrawStyle()
Creates a drawing style node with default settings.
static SoType getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
Sets the current drawing style.
FILE FORMAT/DEFAULTS
SEE ALSO
Typeset by Felix Ritter (MeVis Research GmbH)
Hyperlinks by Wolfram Esser (method park Software AG)