|
Aviatrix3D 2.0 Beta 2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.SceneGraphObject
org.j3d.aviatrix3d.Node
org.j3d.aviatrix3d.Group
org.j3d.aviatrix3d.TransformGroup
public class TransformGroup
A grouping node that contains a transform. The node contains a single transformation that can position, scale and rotate all its children. The specified transformation must be Affine and have uniform scaling components(SRT-transform). This class will not check this constraint, so expect odd results if you break this rule, up to and including a possible core reactor meltdown in a foreign country.
Field Summary |
---|
Fields inherited from class org.j3d.aviatrix3d.Group |
---|
childList, cullList, dirtyBoundsCount, lastChild, pickableList, pickFlags, wkVec1, wkVec2 |
Fields inherited from class org.j3d.aviatrix3d.Node |
---|
bounds, implicitBounds, INVALID_BOUNDS, parent |
Fields inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
alive, LISTENER_SET_NOT_LIVE_MESSAGE, updateHandler, WRITE_TIMING_MSG |
Fields inherited from interface org.j3d.aviatrix3d.picking.PickTarget |
---|
CUSTOM_PICK_TYPE, GROUP_PICK_TYPE, LEAF_PICK_TYPE, SINGLE_PICK_TYPE |
Fields inherited from interface org.j3d.aviatrix3d.picking.PickableObject |
---|
COLLIDABLE_OBJECT, GENERAL_OBJECT, PROXIMITY_OBJECT, VISIBLE_OBJECT |
Constructor Summary | |
---|---|
TransformGroup()
The default constructor |
|
TransformGroup(javax.vecmath.Matrix4f trans)
Construct a TransformGroup given a matrix. |
Method Summary | |
---|---|
void |
getInverseTransform(javax.vecmath.Matrix4f mat)
Get the inverse version of the local transform. |
void |
getTransform(javax.vecmath.Matrix4d mat)
Get the current local transformation value. |
void |
getTransform(javax.vecmath.Matrix4f mat)
Get the current local transformation value. |
protected void |
recomputeBounds()
Internal method to recalculate the implicit bounds of this Node. |
void |
setTransform(javax.vecmath.Matrix4f trans)
Set the transform matrix for this class. |
protected void |
updateBounds()
Update this node's bounds and then call the parent to update it's bounds. |
Methods inherited from class org.j3d.aviatrix3d.Group |
---|
addChild, checkForCyclicChild, checkPickMask, getAllChildren, getChild, getCullableChildren, getCullableParent, getPickableBounds, getPickableChild, getPickableChildren, getPickMask, getPickTargetType, hasMultipleParents, indexOfChild, markBoundsDirty, numChildren, numCullableChildren, numPickableChildren, pickBatch, pickSingle, removeAllChildren, removeChild, removeChild, requestBoundsUpdate, setBounds, setChild, setLive, setPickMask, setUpdateHandler |
Methods inherited from class org.j3d.aviatrix3d.Node |
---|
boundsChanged, checkForCyclicParent, getBounds, getParent, removeParent, setParent, updateParentBounds |
Methods inherited from class org.j3d.aviatrix3d.SceneGraphObject |
---|
dataChanged, getUserData, isLive, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.j3d.aviatrix3d.picking.PickTarget |
---|
checkPickMask, getPickableBounds, getPickTargetType |
Methods inherited from interface org.j3d.aviatrix3d.rendering.GroupCullable |
---|
getBounds |
Constructor Detail |
---|
public TransformGroup()
public TransformGroup(javax.vecmath.Matrix4f trans)
trans
- The matrix to use for transformationMethod Detail |
---|
public void getTransform(javax.vecmath.Matrix4f mat)
getTransform
in interface TransformPickTarget
getTransform
in interface TransformCullable
mat
- The matrix to copy the transform data toprotected void recomputeBounds()
recomputeBounds
in class Group
protected void updateBounds()
updateBounds
in class Group
public void getInverseTransform(javax.vecmath.Matrix4f mat)
getInverseTransform
in interface TransformPickTarget
mat
- The matrix to copy the transform data topublic void setTransform(javax.vecmath.Matrix4f trans) throws InvalidWriteTimingException
trans
- The matrix. Copy by value semantics.
InvalidWriteTimingException
- An attempt was made to write outside
of the NodeUpdateListener callback methodpublic void getTransform(javax.vecmath.Matrix4d mat)
mat
- The matrix to copy the transform data to
|
Aviatrix3D 2.0 Beta 2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |