|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--harmonic.mz.data.ModelNode
|
+--harmonic.mz.data.ShapeGroup
An extension of ModelNode for grouping ShapeDefs, that has coordinate system. This is to be used instead of ShapeDef's for creating a grouping node of ShapeDefs, because since the ShapeNode has some fixed fields, free children should not be added beside them. This node has only free children.
| Field Summary | |
CoordSystemField |
coordSystem
Coordinate system field, controls coordinate system of ShapeGroup. |
static boolean |
localKludge
|
| Fields inherited from class harmonic.mz.data.ModelNode |
_fileRoot_, _thread_, ATTRIB_CONTROL_WIDGET, ATTRIB_LISTABLE, ATTRIB_PRESENTABLE, ATTRIB_PRIVATE, ATTRIB_REMOVEABLE, ATTRIB_RENAMEABLE, ATTRIB_SHOW_CONTEXT_MENU, ATTRIB_TYPE_FILTER, ATTRIB_USERGROUP, ATTRIB_VALUE_GROUP, ATTRIB_VE_LISTENER, bCustomCS, bDebug, bValid, name |
| Constructor Summary | |
ShapeGroup()
Construct a ShapeGroup with an empty name. |
|
ShapeGroup(java.lang.String s)
Construct a ShapeNode with an given name. |
|
| Method Summary | |
void |
beginTransform()
Call before interactive transformation begins |
void |
endTransform()
Call after a shape is finally transformed. |
harmonic.viewer3D.CoordSystem |
getCoordSystem()
Returns coord system in this.coordSystem. |
harmonic.viewer3D.CoordSystem |
getMoveableCoordSystem()
Returns coord system in this.coordSystem. |
Transformable |
getTransformable()
Returns this by default |
boolean |
hasFixedCS()
Return whether coord system should be reparented as object is moved in tree |
void |
purgeFinal()
Overriden to null coord system parent |
void |
scaleCoordSystem(harmonic.meshGeom.math.TMat t,
harmonic.meshGeom.math.Pnt3f gcsPoint)
For rotate, scale, mirror |
void |
translateCoordSystem(harmonic.meshGeom.math.TMat t)
Objects now implement their own transformations, to accomidate special needs of handles. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public CoordSystemField coordSystem
public static boolean localKludge
| Constructor Detail |
public ShapeGroup()
public ShapeGroup(java.lang.String s)
| Method Detail |
public void purgeFinal()
purgeFinal in interface DataNodepurgeFinal in class ModelNodepublic Transformable getTransformable()
getTransformable in class ModelNodepublic harmonic.viewer3D.CoordSystem getMoveableCoordSystem()
getMoveableCoordSystem in interface Transformablepublic harmonic.viewer3D.CoordSystem getCoordSystem()
public void translateCoordSystem(harmonic.meshGeom.math.TMat t)
translateCoordSystem in interface Transformable
public void scaleCoordSystem(harmonic.meshGeom.math.TMat t,
harmonic.meshGeom.math.Pnt3f gcsPoint)
scaleCoordSystem in interface Transformablepublic void beginTransform()
beginTransform in interface Transformablepublic void endTransform()
endTransform in interface Transformablepublic boolean hasFixedCS()
Transformable
hasFixedCS in interface Transformable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||