man SoDrawStyle () - node that defines the style to use when rendering

NAME

SoDrawStyle - node that defines the style to use when rendering

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoDrawStyle

SYNOPSIS

#include <Inventor/nodes/SoDrawStyle.h> enum Style { c } c } Draw filled regions

c } c } Draw only outlines (wire frame)

c } c } Draw points at vertices

c } c } Do not draw anything at all

} Fields from class SoDrawStyle: c } c } style

c } c } pointSize

c } c } lineWidth

c } c } linePattern Methods from class SoDrawStyle: c } c } SoDrawStyle()

c } c } getClassTypeId() Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } 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

c } c } style

Drawing style. c } c } pointSize

Radius of points (for POINTS style). c } c } lineWidth

Width of lines (for LINES style). c } c } 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

c } c } SoDrawStyle()

Creates a drawing style node with default settings. c } c } getClassTypeId()

Returns type identifier for this class.

ACTION BEHAVIOR

SoGLRenderAction, SoCallbackAction

Sets the current drawing style.

FILE FORMAT/DEFAULTS

DrawStyle {
style	FILLED
pointSize	0
lineWidth	0
linePattern	0xffff
}

SEE ALSO

SoLightModel, SoPickStyle, SoShapeHints