Class SoLinePatternElement
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.elements.SoElement
com.openinventor.inventor.elements.SoReplacedElement
com.openinventor.inventor.elements.SoLinePatternElement
Stores the current line stipple pattern.
This slement stores the current line stipple pattern.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Deprecated.As of Open Inventor 9.3.0.0.static short
Deprecated: Returns the default line pattern.static short
Returns the default line pattern.static int
Returns the default line pattern scale factor.static void
Calls set(state, pattern, (int)1).static void
Sets the current line pattern in the state.static void
Calls set(state, name_14271, pattern, (int)1).static void
Sets the current line pattern in the state.Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
set
Calls set(state, name_14271, pattern, (int)1). -
set
Calls set(state, pattern, (int)1). -
getClassStackIndex
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] * -
getDefaultPattern
public static short getDefaultPattern()Returns the default line pattern. -
set
Sets the current line pattern in the state. -
getDefault
public static short getDefault()Deprecated: Returns the default line pattern. -
set
Sets the current line pattern in the state. -
getDefaultScaleFactor
public static int getDefaultScaleFactor()Returns the default line pattern scale factor. A multiplier for each bit in the line pattern. If factor is 3, for example, each bit in the pattern will be used three times before the next bit in the pattern is used. The factor parameter is clamped to the range [1, 256] and defaults to 1.
-