Class SoLinePatternElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoLinePatternElement
-
public class SoLinePatternElement extends SoReplacedElement
Stores the current line stipple pattern. This slement stores the current line stipple pattern.- See Also:
SoDrawStyle
-
-
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
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
getClassStackIndex()
Deprecated.As of Open Inventor 9300.static short
getDefault()
Deprecated: Returns the default line pattern.static short
getDefaultPattern()
Returns the default line pattern.static int
getDefaultScaleFactor()
Returns the default line pattern scale factor.static void
set(SoState state, short pattern)
Calls set(state, pattern, (int)1).static void
set(SoState state, short pattern, int factor)
Sets the current line pattern in the state.static void
set(SoState state, SoNode name_14706, short pattern)
Calls set(state, name_14706, pattern, (int)1).static void
set(SoState state, SoNode name_14706, short pattern, int factor)
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 Detail
-
set
public static void set(SoState state, SoNode name_14706, short pattern)
Calls set(state, name_14706, pattern, (int)1).
-
set
public static void set(SoState state, short pattern)
Calls set(state, pattern, (int)1).
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getDefaultPattern
public static short getDefaultPattern()
Returns the default line pattern.
-
set
public static void set(SoState state, short pattern, int factor)
Sets the current line pattern in the state.
-
getDefault
public static short getDefault()
Deprecated: Returns the default line pattern.
-
set
public static void set(SoState state, SoNode name_14706, short pattern, int factor)
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.
-
-