| java.lang.Object javax.media.j3d.IndexedObject javax.media.j3d.SceneGraphObjectRetained javax.media.j3d.NodeRetained javax.media.j3d.LeafRetained javax.media.j3d.Shape3DRetained javax.media.j3d.OrientedShape3DRetained
Method Summary | |
void | compile(CompileState compState) | void | getAlignmentAxis(Vector3f axis) Retrieves the alignment axis of this OrientedShape3D node,
and copies it into the specified vector. | int | getAlignmentMode() Retrieves the alignment mode. | boolean | getConstantScaleEnable() | Transform3D | getOrientedTransform(int viewIndex) | void | getRotationPoint(Point3f point) Retrieves the rotation point of this OrientedShape3D node,
and copies it into the specified vector. | double | getScale() | void | initAlignmentAxis(Vector3f axis) | void | initAlignmentAxis(float x, float y, float z) | void | initAlignmentMode(int mode) | void | initConstantScaleEnable(boolean cons_scale) | void | initRotationPoint(Point3f point) | void | initRotationPoint(float x, float y, float z) | void | initScale(double scale) | void | searchGeometryAtoms(UnorderList list) | void | sendChangedMessage(int component, Object attr) | void | setAlignmentAxis(Vector3f axis) Sets the new alignment axis. | void | setAlignmentAxis(float x, float y, float z) Sets the new alignment axis. | void | setAlignmentMode(int mode) Sets the alignment mode. | void | setConstantScaleEnable(boolean enable) | void | setRotationPoint(Point3f point) Sets the new rotation point. | void | setRotationPoint(float x, float y, float z) Sets the new rotation point. | void | setScale(double scale) | void | updateImmediateMirrorObject(Object[] args) | synchronized void | updateOrientedTransform(Canvas3D canvas, int viewIndex) |
ALIGNMENT_CHANGED | final static int ALIGNMENT_CHANGED(Code) | | |
AXIS_CHANGED | final static int AXIS_CHANGED(Code) | | |
CONSTANT_SCALE_CHANGED | final static int CONSTANT_SCALE_CHANGED(Code) | | |
EPSILON | final static double EPSILON(Code) | | |
ROTATION_CHANGED | final static int ROTATION_CHANGED(Code) | | |
SCALE_FACTOR_CHANGED | final static int SCALE_FACTOR_CHANGED(Code) | | |
constantScale | boolean constantScale(Code) | | |
orientedTransformDirty | boolean orientedTransformDirty(Code) | | |
rotationPoint | Point3f rotationPoint(Code) | | |
scaleFactor | double scaleFactor(Code) | | |
OrientedShape3DRetained | public OrientedShape3DRetained()(Code) | | Constructs a OrientedShape3D node with default parameters.
The default values are as follows:
alignment mode : ROTATE_ABOUT_AXIS
alignment axis : Y-axis (0,1,0)
rotation point : (0,0,1)
|
getAlignmentAxis | void getAlignmentAxis(Vector3f axis)(Code) | | Retrieves the alignment axis of this OrientedShape3D node,
and copies it into the specified vector.
Parameters: axis - the vector that will contain the alignment axis |
getAlignmentMode | int getAlignmentMode()(Code) | | Retrieves the alignment mode.
one of: ROTATE_ABOUT_AXIS or ROTATE_ABOUT_POINT |
getConstantScaleEnable | boolean getConstantScaleEnable()(Code) | | |
getRotationPoint | void getRotationPoint(Point3f point)(Code) | | Retrieves the rotation point of this OrientedShape3D node,
and copies it into the specified vector.
Parameters: axis - the point that will contain the rotation point |
getScale | double getScale()(Code) | | |
initAlignmentAxis | void initAlignmentAxis(Vector3f axis)(Code) | | |
initAlignmentAxis | void initAlignmentAxis(float x, float y, float z)(Code) | | |
initAlignmentMode | void initAlignmentMode(int mode)(Code) | | |
initConstantScaleEnable | void initConstantScaleEnable(boolean cons_scale)(Code) | | |
initRotationPoint | void initRotationPoint(Point3f point)(Code) | | |
initRotationPoint | void initRotationPoint(float x, float y, float z)(Code) | | |
initScale | void initScale(double scale)(Code) | | |
sendChangedMessage | void sendChangedMessage(int component, Object attr)(Code) | | |
setAlignmentAxis | void setAlignmentAxis(Vector3f axis)(Code) | | Sets the new alignment axis. This is the ray about which this
OrientedShape3D rotates when the mode is ROTATE_ABOUT_AXIS.
Parameters: axis - the new alignment axis |
setAlignmentAxis | void setAlignmentAxis(float x, float y, float z)(Code) | | Sets the new alignment axis. This is the ray about which this
OrientedShape3D rotates when the mode is ROTATE_ABOUT_AXIS.
Parameters: x - the x component of the alignment axis Parameters: y - the y component of the alignment axis Parameters: z - the z component of the alignment axis |
setAlignmentMode | void setAlignmentMode(int mode)(Code) | | Sets the alignment mode.
Parameters: mode - one of: ROTATE_ABOUT_AXIS or ROTATE_ABOUT_POINT |
setConstantScaleEnable | void setConstantScaleEnable(boolean enable)(Code) | | |
setRotationPoint | void setRotationPoint(Point3f point)(Code) | | Sets the new rotation point. This is the point about which the
OrientedShape3D rotates when the mode is ROTATE_ABOUT_POINT.
Parameters: point - the new rotation point |
setRotationPoint | void setRotationPoint(float x, float y, float z)(Code) | | Sets the new rotation point. This is the point about which the
OrientedShape3D rotates when the mode is ROTATE_ABOUT_POINT.
Parameters: x - the x component of the rotation point Parameters: y - the y component of the rotation point Parameters: z - the z component of the rotation point |
setScale | void setScale(double scale)(Code) | | |
updateImmediateMirrorObject | void updateImmediateMirrorObject(Object[] args)(Code) | | |
updateOrientedTransform | synchronized void updateOrientedTransform(Canvas3D canvas, int viewIndex)(Code) | | |
Methods inherited from javax.media.j3d.Shape3DRetained | void addAltApp(AlternateAppearanceRetained aApp)(Code)(Java Doc) void addFog(FogRetained fog)(Code)(Java Doc) void addGeometry(Geometry geometry)(Code)(Java Doc) void addLight(LightRetained light)(Code)(Java Doc) void addModelClip(ModelClipRetained modelClip)(Code)(Java Doc) boolean allowIntersect()(Code)(Java Doc) void checkEquivalenceClass(Geometry geometry, int index)(Code)(Java Doc) void clearLive(SetLiveState s)(Code)(Java Doc) void clearMirrorShape()(Code)(Java Doc) void compile(CompileState compState)(Code)(Java Doc) void computeCombineBounds(Bounds bounds)(Code)(Java Doc) void doSetLive(SetLiveState s)(Code)(Java Doc) Enumeration getAllGeometries(int id)(Code)(Java Doc) Appearance getAppearance()(Code)(Java Doc) boolean getAppearanceOverrideEnable()(Code)(Java Doc) Bounds getBounds()(Code)(Java Doc) Bounds getCollisionBounds(int id)(Code)(Java Doc) void getCombineBounds(BoundingBox bounds)(Code)(Java Doc) Bounds getEffectiveBounds()(Code)(Java Doc) final static GeometryAtom getGeomAtom(Shape3DRetained shape)(Code)(Java Doc) final static GeometryAtom[] getGeomAtomsArray(ArrayList userList)(Code)(Java Doc) final static ArrayList getGeomAtomsList(ArrayList userList, ArrayList univList)(Code)(Java Doc) Geometry getGeometry(int index, int id)(Code)(Java Doc) boolean getInImmCtx()(Code)(Java Doc) Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc) void getMirrorObjects(ArrayList list, HashKey k)(Code)(Java Doc) Shape3DRetained getMirrorShape(SceneGraphPath path)(Code)(Java Doc) Shape3DRetained getMirrorShape(HashKey key)(Code)(Java Doc) int getPrimaryViewIdx()(Code)(Java Doc) void handleFrequencyChange(int bit)(Code)(Java Doc) int indexOfGeometry(Geometry geometry)(Code)(Java Doc) void initMirrorShape3D(SetLiveState s, MorphRetained morph, int index)(Code)(Java Doc) void initializeGAtom(Shape3DRetained ms)(Code)(Java Doc) void insertGeometry(Geometry geometry, int index)(Code)(Java Doc) boolean intersect(PickInfo pickInfo, PickShape pickShape, int flags)(Code)(Java Doc) boolean intersect(SceneGraphPath path, PickShape pickShape, double[] dist)(Code)(Java Doc) boolean intersectGeometryList(Shape3DRetained otherShape)(Code)(Java Doc) boolean intersectGeometryList(Transform3D thisLocalToVworld, Bounds targetBound)(Code)(Java Doc) boolean isAlphaEditable(GeometryRetained geo)(Code)(Java Doc) boolean isAlphaFrequentlyEditable(GeometryRetained geo)(Code)(Java Doc) boolean isEquivalent(Shape3DRetained shape)(Code)(Java Doc) boolean isStatic()(Code)(Java Doc) void merge(CompileState compState)(Code)(Java Doc) int numGeometries(int id)(Code)(Java Doc) void removeAllGeometries()(Code)(Java Doc) void removeAltApp(AlternateAppearanceRetained aApp)(Code)(Java Doc) void removeFog(FogRetained fog)(Code)(Java Doc) void removeGeometry(int index)(Code)(Java Doc) void removeGeometry(Geometry geometry)(Code)(Java Doc) void removeLight(LightRetained light)(Code)(Java Doc) void removeModelClip(ModelClipRetained modelClip)(Code)(Java Doc) void searchGeometryAtoms(UnorderList list)(Code)(Java Doc) void setAppearance(Appearance newAppearance)(Code)(Java Doc) void setAppearanceOverrideEnable(boolean flag)(Code)(Java Doc) void setBounds(Bounds bounds)(Code)(Java Doc) void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc) void setCollisionBounds(Bounds bounds)(Code)(Java Doc) final static void setGeomAtom(Shape3DRetained shape, GeometryAtom ga)(Code)(Java Doc) void setGeometry(Geometry geometry, int index)(Code)(Java Doc) void setInImmCtx(boolean inCtx)(Code)(Java Doc) void setLive(SetLiveState s)(Code)(Java Doc) void setMorphGeometry(Geometry geometry, ArrayList mirrorShapes)(Code)(Java Doc) boolean shapeIsMergeable(CompileState compState)(Code)(Java Doc) boolean staticXformCanBeApplied()(Code)(Java Doc) void updateBounds()(Code)(Java Doc) void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc) void updateImmediateMirrorObject(Object[] objs)(Code)(Java Doc) void updatePickable(HashKey keys, boolean pick)(Code)(Java Doc) boolean willRemainOpaque(int geoType)(Code)(Java Doc)
|
Methods inherited from javax.media.j3d.NodeRetained | void clearLive(SetLiveState s)(Code)(Java Doc) void computeCombineBounds(Bounds bounds)(Code)(Java Doc) void computeNonLiveLocalToVworld(Transform3D t, Node caller)(Code)(Java Doc) void dirtyBoundsCache()(Code)(Java Doc) void doSetLive(SetLiveState s)(Code)(Java Doc) public int equal(NnuId obj)(Code)(Java Doc) void findCollidableFlags(boolean collide)(Code)(Java Doc) void findPickableFlags(boolean pick)(Code)(Java Doc) void findTransformLevels(int transformLevels)(Code)(Java Doc) Bounds getBounds()(Code)(Java Doc) boolean getBoundsAutoCompute()(Code)(Java Doc) boolean getCollidable()(Code)(Java Doc) Transform3D getCurrentLocalToVworld()(Code)(Java Doc) Transform3D getCurrentLocalToVworld(int index)(Code)(Java Doc) Transform3D getCurrentLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getEffectiveBounds()(Code)(Java Doc) public int getId()(Code)(Java Doc) Transform3D getLastLocalToVworld()(Code)(Java Doc) Transform3D getLastLocalToVworld(int index)(Code)(Java Doc) Transform3D getLastLocalToVworld(HashKey key)(Code)(Java Doc) Bounds getLocalBounds(Bounds bounds)(Code)(Java Doc) void getLocalToVworld(Transform3D t)(Code)(Java Doc) void getLocalToVworld(SceneGraphPath path, Transform3D t)(Code)(Java Doc) void getLocalToVworld(Transform3D t, HashKey key)(Code)(Java Doc) Locale getLocale()(Code)(Java Doc) NodeRetained getParent()(Code)(Java Doc) boolean getPickable()(Code)(Java Doc) VirtualUniverse getVirtualUniverse()(Code)(Java Doc) boolean isStatic()(Code)(Java Doc) void merge(CompileState compState)(Code)(Java Doc) void mergeTransform(TransformGroupRetained xform)(Code)(Java Doc) void notifySceneGraphChanged(boolean globalTraverse)(Code)(Java Doc) int[] processViewSpecificInfo(int mode, HashKey k, View v, ArrayList vsgList, int[] keyList, ArrayList leafList)(Code)(Java Doc) void recombineAbove()(Code)(Java Doc) void removeNodeData(SetLiveState s)(Code)(Java Doc) void searchGeometryAtoms(UnorderList list)(Code)(Java Doc) void setAuxData(SetLiveState s, int index, int hkIndex)(Code)(Java Doc) void setBounds(Bounds bounds)(Code)(Java Doc) void setBoundsAutoCompute(boolean autoCompute)(Code)(Java Doc) void setCollidable(boolean collidable)(Code)(Java Doc) void setLive(SetLiveState s)(Code)(Java Doc) void setNodeData(SetLiveState s)(Code)(Java Doc) void setParent(NodeRetained parent)(Code)(Java Doc) void setPickable(boolean pickable)(Code)(Java Doc) void transformBounds(SceneGraphPath path, Bounds bound)(Code)(Java Doc) void updateCollidable(HashKey keys, boolean collide)(Code)(Java Doc) synchronized void updateLocalToVworld()(Code)(Java Doc) void updatePickable(HashKey pickKeys, boolean pick)(Code)(Java Doc)
|
Fields inherited from javax.media.j3d.IndexedObject | int[][] listIdx(Code)(Java Doc)
|
|
|