| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.ColoringAttributesRetained
ColoringAttributesRetained | class ColoringAttributesRetained extends NodeComponentRetained (Code) | | The ColoringAttributesRetained object defines attributes that apply to
to coloring mapping.
|
Method Summary | |
protected Object | clone() | synchronized void | createMirrorObject() | boolean | equivalent(ColoringAttributesRetained cr) | final void | getColor(Color3f color) Gets the intrinsic color of this ColoringAttributes
component object. | final int | getShadeModel() Gets the shade mode for this ColoringAttributes component object. | void | handleFrequencyChange(int bit) | final void | initColor(Color3f color) Sets the intrinsic color of this ColoringAttributes
component object. | final void | initColor(float r, float g, float b) Sets the intrinsic color of this ColoringAttributes
component object. | synchronized void | initMirrorObject() | final void | initShadeModel(int shadeModel) Sets the shade mode for this ColoringAttributes component object. | final void | sendMessage(int attrMask, Object attr) | protected void | set(ColoringAttributesRetained cr) | final void | setColor(Color3f color) Sets the intrinsic color of this ColoringAttributes
component object and sends a message notifying
the interested structures of the change. | final void | setColor(float r, float g, float b) Sets the intrinsic color of this ColoringAttributes
component object and sends a message notifying
the interested structures of the change. | final void | setShadeModel(int shadeModel) Sets the shade mode for this ColoringAttributes component object
and sends a message notifying
the interested structures of the change. | synchronized void | updateMirrorObject(int component, Object value) | void | updateNative(Context ctx, float dRed, float dGreen, float dBlue, float alpha, boolean lEnable) |
COLOR_CHANGED | final static int COLOR_CHANGED(Code) | | |
SHADE_MODEL_CHANGED | final static int SHADE_MODEL_CHANGED(Code) | | |
shadeModel | int shadeModel(Code) | | |
createMirrorObject | synchronized void createMirrorObject()(Code) | | Creates and initializes a mirror object, point the mirror object
to the retained object if the object is not editable
|
getColor | final void getColor(Color3f color)(Code) | | Gets the intrinsic color of this ColoringAttributes
component object.
Parameters: color - the vector that will receive color |
getShadeModel | final int getShadeModel()(Code) | | Gets the shade mode for this ColoringAttributes component object.
shadeModel the shade mode |
handleFrequencyChange | void handleFrequencyChange(int bit)(Code) | | |
initColor | final void initColor(Color3f color)(Code) | | Sets the intrinsic color of this ColoringAttributes
component object.
Parameters: color - the color that is used when lighting is disabledor when material is null |
initColor | final void initColor(float r, float g, float b)(Code) | | Sets the intrinsic color of this ColoringAttributes
component object. This color is used when lighting is disabled
or when material is null.
Parameters: r - the red component of the color Parameters: g - the green component of the color Parameters: b - the blue component of the color |
initMirrorObject | synchronized void initMirrorObject()(Code) | | Creates a mirror object, point the mirror object to the retained
object if the object is not editable
|
initShadeModel | final void initShadeModel(int shadeModel)(Code) | | Sets the shade mode for this ColoringAttributes component object.
Parameters: shadeModel - the shade mode to be used; one of FASTEST,NICEST, SHADE_FLAT, or SHADE_GOURAUD |
sendMessage | final void sendMessage(int attrMask, Object attr)(Code) | | |
setColor | final void setColor(Color3f color)(Code) | | Sets the intrinsic color of this ColoringAttributes
component object and sends a message notifying
the interested structures of the change.
Parameters: color - the color that is used when lighting is disabledor when material is null |
setColor | final void setColor(float r, float g, float b)(Code) | | Sets the intrinsic color of this ColoringAttributes
component object and sends a message notifying
the interested structures of the change.
This color is used when lighting is disabled
or when material is null.
Parameters: r - the red component of the color Parameters: g - the green component of the color Parameters: b - the blue component of the color |
setShadeModel | final void setShadeModel(int shadeModel)(Code) | | Sets the shade mode for this ColoringAttributes component object
and sends a message notifying
the interested structures of the change.
Parameters: shadeModel - the shade mode to be used; one of FASTEST,NICEST, SHADE_FLAT, or SHADE_GOURAUD |
updateMirrorObject | synchronized void updateMirrorObject(int component, Object value)(Code) | | Update the "component" field of the mirror object with the
given "value"
|
updateNative | void updateNative(Context ctx, float dRed, float dGreen, float dBlue, float alpha, boolean lEnable)(Code) | | |
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|