| |
|
| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeComponentRetained javax.media.j3d.PolygonAttributesRetained
PolygonAttributesRetained | class PolygonAttributesRetained extends NodeComponentRetained (Code) | | The PolygonAttributes object defines all rendering state that can be set
as a component object of a Shape3D node.
|
Method Summary | |
synchronized void | createMirrorObject() | boolean | equivalent(PolygonAttributesRetained pr) | final boolean | getBackFaceNormalFlip() Gets the back face normal flip flag. | final int | getCullFace() Gets the face culling for this
appearance component object. | final int | getPolygonMode() Gets the polygon rasterization mode for this
appearance component object. | final float | getPolygonOffset() Gets the polygon offset. | final float | getPolygonOffsetFactor() Gets the polygon offset factor. | void | handleFrequencyChange(int bit) | final void | initBackFaceNormalFlip(boolean backFaceNormalFlip) Sets the back face normal flip flag to the specified value
This flag indicates whether vertex normals of back facing polygons
should be flipped (negated) prior to lighting. | final void | initCullFace(int cullFace) | synchronized void | initMirrorObject() | final void | initPolygonMode(int polygonMode) Sets the polygon rasterization mode for this
appearance component object. | final void | initPolygonOffset(float polygonOffset) Sets the polygon offset to the specified value and sends a
message notifying the interested structures of the change. | final void | initPolygonOffsetFactor(float polygonOffsetFactor) Sets the polygon offset factor to the specified value and sends a
message notifying the interested structures of the change. | final void | sendMessage(int attrMask, Object attr) | protected void | set(PolygonAttributesRetained pr) | final void | setBackFaceNormalFlip(boolean backFaceNormalFlip) Sets the back face normal flip flag to the specified value
and sends a message notifying
the interested structures of the change.
This flag indicates whether vertex normals of back facing polygons
should be flipped (negated) prior to lighting. | final void | setCullFace(int cullFace) Sets the face culling for this
appearance component object and sends a message notifying
the interested structures of the change. | final void | setPolygonMode(int polygonMode) Sets the polygon rasterization mode for this
appearance component object and sends a message notifying
the interested structures of the change. | final void | setPolygonOffset(float polygonOffset) Sets the polygon offset to the specified value and sends a
message notifying the interested structures of the change. | final void | setPolygonOffsetFactor(float polygonOffsetFactor) Sets the polygon offset factor to the specified value and sends a
message notifying the interested structures of the change. | synchronized void | updateMirrorObject(int component, Object value) | void | updateNative(Context ctx) |
POLYGON_BACKFACENORMALFLIP_CHANGED | final static int POLYGON_BACKFACENORMALFLIP_CHANGED(Code) | | |
POLYGON_CULL_CHANGED | final static int POLYGON_CULL_CHANGED(Code) | | |
POLYGON_MODE_CHANGED | final static int POLYGON_MODE_CHANGED(Code) | | |
POLYGON_OFFSETFACTOR_CHANGED | final static int POLYGON_OFFSETFACTOR_CHANGED(Code) | | |
POLYGON_OFFSET_CHANGED | final static int POLYGON_OFFSET_CHANGED(Code) | | |
backFaceNormalFlip | boolean backFaceNormalFlip(Code) | | |
polygonMode | int polygonMode(Code) | | |
polygonOffset | float polygonOffset(Code) | | |
polygonOffsetFactor | float polygonOffsetFactor(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
|
getBackFaceNormalFlip | final boolean getBackFaceNormalFlip()(Code) | | Gets the back face normal flip flag.
the back face normal flip flag |
getCullFace | final int getCullFace()(Code) | | Gets the face culling for this
appearance component object.
the face to be culled |
getPolygonMode | final int getPolygonMode()(Code) | | Gets the polygon rasterization mode for this
appearance component object.
polygonMode the polygon rasterization mode |
getPolygonOffset | final float getPolygonOffset()(Code) | | Gets the polygon offset.
polygonOffset the polygon offset |
getPolygonOffsetFactor | final float getPolygonOffsetFactor()(Code) | | Gets the polygon offset factor.
polygonOffset the polygon offset factor |
handleFrequencyChange | void handleFrequencyChange(int bit)(Code) | | |
initBackFaceNormalFlip | final void initBackFaceNormalFlip(boolean backFaceNormalFlip)(Code) | | Sets the back face normal flip flag to the specified value
This flag indicates whether vertex normals of back facing polygons
should be flipped (negated) prior to lighting. When this flag
is set to true and back face culling is disabled, polygons are
rendered as if the polygon had two sides with opposing normals.
This feature is disabled by default
Parameters: backFaceNormalFlip - the back face normal flip flag |
initCullFace | final void initCullFace(int cullFace)(Code) | | Sets the face culling for this
appearance component object,
Parameters: cullFace - the face to be culled, one of:CULL_NONE, CULL_FRONT, or CULL_BACK |
initMirrorObject | synchronized void initMirrorObject()(Code) | | Initializes a mirror object, point the mirror object to the retained
object if the object is not editable
|
initPolygonMode | final void initPolygonMode(int polygonMode)(Code) | | Sets the polygon rasterization mode for this
appearance component object.
Parameters: polygonMode - the polygon rasterization mode to be used; one ofPOLYGON_FILL, POLYGON_LINE, or POLYGON_POINT |
initPolygonOffset | final void initPolygonOffset(float polygonOffset)(Code) | | Sets the polygon offset to the specified value and sends a
message notifying the interested structures of the change.
This screen space offset is added to the final, device
coordinate Z value of polygon primitives.
Parameters: polygonOffset - the polygon offset |
initPolygonOffsetFactor | final void initPolygonOffsetFactor(float polygonOffsetFactor)(Code) | | Sets the polygon offset factor to the specified value and sends a
message notifying the interested structures of the change.
This factor is multiplied by the slope of the polygon, and
then added to the final, device coordinate Z value of polygon
primitives.
Parameters: polygonOffsetFactor - the polygon offset factor |
sendMessage | final void sendMessage(int attrMask, Object attr)(Code) | | |
setBackFaceNormalFlip | final void setBackFaceNormalFlip(boolean backFaceNormalFlip)(Code) | | Sets the back face normal flip flag to the specified value
and sends a message notifying
the interested structures of the change.
This flag indicates whether vertex normals of back facing polygons
should be flipped (negated) prior to lighting. When this flag
is set to true and back face culling is disabled, polygons are
rendered as if the polygon had two sides with opposing normals.
This feature is disabled by default
Parameters: backFaceNormalFlip - the back face normal flip flag |
setCullFace | final void setCullFace(int cullFace)(Code) | | Sets the face culling for this
appearance component object and sends a message notifying
the interested structures of the change.
Parameters: cullFace - the face to be culled, one of:CULL_NONE, CULL_FRONT, or CULL_BACK |
setPolygonMode | final void setPolygonMode(int polygonMode)(Code) | | Sets the polygon rasterization mode for this
appearance component object and sends a message notifying
the interested structures of the change.
Parameters: polygonMode - the polygon rasterization mode to be used; one ofPOLYGON_FILL, POLYGON_LINE, or POLYGON_POINT |
setPolygonOffset | final void setPolygonOffset(float polygonOffset)(Code) | | Sets the polygon offset to the specified value and sends a
message notifying the interested structures of the change.
This screen space offset is added to the final, device
coordinate Z value of polygon primitives.
Parameters: polygonOffset - the polygon offset |
setPolygonOffsetFactor | final void setPolygonOffsetFactor(float polygonOffsetFactor)(Code) | | Sets the polygon offset factor to the specified value and sends a
message notifying the interested structures of the change.
This factor is multiplied by the slope of the polygon, and
then added to the final, device coordinate Z value of polygon
primitives.
Parameters: polygonOffsetFactor - the polygon offset |
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)(Code) | | Updates the native context
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|
|