Specifies additional properties to be applied to all line geometry. More...
#include <Inventor/VRMLnodes/SoVRMLLineProperties.h>
Classes | |
struct | MTstruct |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLLineProperties () | |
virtual void | setOverride (const SbBool state) |
virtual SbBool | isOverride () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFBool | applied |
SoSFInt32 | lineType |
SoSFFloat | linewidthScaleFactor |
See the X3D Specification, below.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the X3D specification that are not present in this help file. The complete X3D spec is available at http://www.web3d.org .
The SoVRMLLineProperties node specifies additional properties to be applied to all line geometry. The linetype and linewidth will only be applied when the applied field has value TRUE. When the value of the applied field is FALSE, a solid line of nominal width will be produced. The color of the line is specified by the associated Material node.
The linewidthScaleFactor is a multiplicative value that scales a nominal linewidth by the linewidth scale factor. This resulting value will then be mapped to the nearest available line width. A value less than or equal to zero refers to the minimum available line width.
applied | TRUE |
lineType | 1 |
linewidthScaleFactor | 0 |
metaData | NULL |
SoSFBool | set_applied |
SoSFInt32 | set_lineType |
SoSFFloat | set_linewidthScaleFactor |
SoSFNode | set_metadata |
SoSFBool | applied_changed |
SoSFInt32 | lineType_changed |
SoSFFloat | linewidthScaleFactor_changed |
SoSFNode | metadata_changed |
SoVRMLLineProperties::SoVRMLLineProperties | ( | ) |
Constructor.
static SoType SoVRMLLineProperties::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLNode.
virtual SoType SoVRMLLineProperties::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLNode.
virtual SbBool SoVRMLLineProperties::isOverride | ( | ) | const [inline, virtual] |
Returns the state of the override field.
Reimplemented from SoNode.
virtual void SoVRMLLineProperties::setOverride | ( | const SbBool | state | ) | [inline, virtual] |
Specifies if the lineType and lineScaleFactor should be applied.
If FALSE, a solid line of nominal width is used.
The linetype field selects a line pattern.
The following values of lineType are supported:
lineType | Line Pattern |
1 2 3 4 5 | Solid Dashed Dotted Dashed-dotted Dash-dot-dot |
The linewidthScaleFactor is a multiplicative value that scales a nominal linewidth by the linewidth scale factor.
This resulting value will then be mapped to the nearest available line width. A value less than or equal to zero refers to the minimum available line width.