public class SoLazyElement extends SoElement
Includes:
Transparencies
GLColorMaterial
GLBlendEnablement
PolygonStipple
Light model
Color index
Line width
See also:
SoBaseColor
, SoMaterial
, SoPackedColor
, SoVertexPropertyDeprecated since Open Inventor 10000.
Use SoMaterialElement
, SoBlendElement
or SoLightModelElement
instead.
Modifier and Type | Class and Description |
---|---|
static class |
SoLazyElement.Cases
Deprecated.
Following masks and cases define the components of the lazy element.
|
static class |
SoLazyElement.Masks
Deprecated.
Masks.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SbColor |
getAmbient(SoState name_14226)
Deprecated.
|
static boolean |
getBlending(SoState name_14231)
Deprecated.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static int |
getColorIndex(SoState name_14224,
int num)
Deprecated.
|
static int[] |
getColorIndices(SoState state)
Deprecated.
|
static boolean |
getColorMaterial(SoState name_14230)
Deprecated.
|
static SbColor |
getDefaultAmbient()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static float |
getDefaultAmbientIntensity()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static int |
getDefaultColorIndex()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static SbColor |
getDefaultDiffuse()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static SbColor |
getDefaultEmissive()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static int |
getDefaultLightModel()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static float |
getDefaultLineWidth()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static int |
getDefaultPacked()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static int |
getDefaultPackedInternal()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static float |
getDefaultShininess()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static SbColor |
getDefaultSpecular()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static float |
getDefaultTransparency()
Deprecated.
Specify Open Inventor defaults for colors, etc.
|
static SbColor |
getDiffuse(SoState state,
int index)
Deprecated.
get() methods get value from Inventor state.
|
static java.nio.IntBuffer |
getDirectColorIndices(SoState state)
Deprecated.
|
static SbColor |
getEmissive(SoState name_14227)
Deprecated.
|
static SoLazyElement |
getInstance(SoState state)
Deprecated.
Returns the top (current) instance of the element in the state Note that the cache dependencies associated with this element are managed differently from other elements: this replaces the
SoElement.getConstElement that is used by standard elements, but which causes cache dependency. |
static int |
getLightModel(SoState name_14233)
Deprecated.
|
int |
getNumColorIndices()
Deprecated.
Method to inquire about current colors.
|
int |
getNumDiffuse()
Deprecated.
Method to inquire about current colors.
|
int |
getNumTransparencies()
Deprecated.
Method to inquire about current colors.
|
static int[] |
getPackedColors(SoState state)
Deprecated.
|
static float |
getShininess(SoState name_14229)
Deprecated.
|
static boolean |
getSmoothing(SoState name_14232)
Deprecated.
|
static SbColor |
getSpecular(SoState name_14228)
Deprecated.
|
static float |
getTransparency(SoState name_14220,
int index)
Deprecated.
get() methods get value from Inventor state.
|
boolean |
isPacked()
Deprecated.
Method to inquire about current colors.
|
boolean |
isTransparent()
Deprecated.
Method to inquire about current colors.
|
void |
push(SoState state)
Deprecated.
push (for non-GL elements)
|
static void |
setAmbient(SoState state,
SoNode node,
SbColor color)
Deprecated.
|
static void |
setBlending(SoState state,
boolean value)
Deprecated.
|
static void |
setColorIndices(SoState state,
SoNode node,
int[] indices)
Deprecated.
Static set method.
|
static void |
setColorMaterial(SoState state,
SoNode node,
boolean value)
Deprecated.
|
static void |
setDiffuse(SoState state,
SoNode node,
SbColor[] colors,
SoColorPacker cPacker)
Deprecated.
Static set method.
|
static void |
setEmissive(SoState state,
SoNode node,
SbColor color)
Deprecated.
|
static void |
setLightModel(SoState state,
int model)
Deprecated.
|
static void |
setPacked(SoState state,
SoNode node,
SoColorPacker cPacker,
int[] colors)
Deprecated.
Static set method.
|
static void |
setShininess(SoState state,
SoNode node,
float value)
Deprecated.
|
static void |
setSmoothing(SoState state,
boolean value)
Deprecated.
|
static void |
setSpecular(SoState state,
SoNode node,
SbColor color)
Deprecated.
|
static void |
setTransparency(SoState state,
SoNode node,
float[] transp,
SoColorPacker cPacker)
Deprecated.
Static set method.
|
getClassStackIndex, pop
dispose, getNativeResourceHandle
public static float getTransparency(SoState name_14220, int index)
public static int[] getPackedColors(SoState state)
public static SbColor getDiffuse(SoState state, int index)
public static void setSmoothing(SoState state, boolean value)
public static void setLightModel(SoState state, int model)
@Deprecated public static int getClassStackIndex()
public static int getColorIndex(SoState name_14224, int num)
public static java.nio.IntBuffer getDirectColorIndices(SoState state)
public static int[] getColorIndices(SoState state)
public static float getDefaultTransparency()
public static void setPacked(SoState state, SoNode node, SoColorPacker cPacker, int[] colors)
public static void setColorIndices(SoState state, SoNode node, int[] indices)
public static void setTransparency(SoState state, SoNode node, float[] transp, SoColorPacker cPacker)
public static void setColorMaterial(SoState state, SoNode node, boolean value)
public static void setBlending(SoState state, boolean value)
public static void setDiffuse(SoState state, SoNode node, SbColor[] colors, SoColorPacker cPacker)
public static SbColor getDefaultAmbient()
public static SbColor getDefaultSpecular()
public static SbColor getDefaultEmissive()
public static SoLazyElement getInstance(SoState state)
SoElement.getConstElement
that is used by standard elements, but which causes cache dependency.
Note that this element is not const; however modifications to it can cause problems. SoEXTENDER apps should use only SoEXTENDER methods on this element.public static float getDefaultAmbientIntensity()
public static SbColor getDefaultDiffuse()
public static int getDefaultLightModel()
public static int getDefaultColorIndex()
public static float getDefaultLineWidth()
public static float getDefaultShininess()
public static int getDefaultPackedInternal()
public static int getDefaultPacked()
public static float getShininess(SoState name_14229)
public boolean isPacked()
public static boolean getColorMaterial(SoState name_14230)
public void push(SoState state)
public boolean isTransparent()
public static boolean getSmoothing(SoState name_14232)
public int getNumDiffuse()
public static int getLightModel(SoState name_14233)
public int getNumColorIndices()
public static boolean getBlending(SoState name_14231)
public int getNumTransparencies()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com