harmonic.mz.data
Interface Transformable

All Known Implementing Classes:
ShapeGroup, ShapeNode

public interface Transformable

Implementors of this may be given to transformation functions.


Method Summary
 void beginTransform()
          Gradual transformation will begin.
 void endTransform()
          Gradual transformation will end.
 harmonic.viewer3D.CoordSystem getMoveableCoordSystem()
          Return coordinate system that will change.
 boolean hasFixedCS()
          Return whether coord system should be reparented as object is moved in tree
 void scaleCoordSystem(harmonic.meshGeom.math.TMat mat, harmonic.meshGeom.math.Pnt3f gcsPoint)
          Do a scale or rotation by given matrix about point.
 void translateCoordSystem(harmonic.meshGeom.math.TMat mat)
          Do a translation by given matrix.
 

Method Detail

getMoveableCoordSystem

public harmonic.viewer3D.CoordSystem getMoveableCoordSystem()
Return coordinate system that will change.


translateCoordSystem

public void translateCoordSystem(harmonic.meshGeom.math.TMat mat)
Do a translation by given matrix. This does not always mean an internal matrix is change. Other methods, like transforming an internal point or geometry are possible.


scaleCoordSystem

public void scaleCoordSystem(harmonic.meshGeom.math.TMat mat,
                             harmonic.meshGeom.math.Pnt3f gcsPoint)
Do a scale or rotation by given matrix about point. This does not always mean an internal matrix is change. Other methods, like transforming an internal point or geometry are possible.


beginTransform

public void beginTransform()
Gradual transformation will begin.


endTransform

public void endTransform()
Gradual transformation will end.


hasFixedCS

public boolean hasFixedCS()
Return whether coord system should be reparented as object is moved in tree