artisynth.core.util
Interface TransformableGeometry

All Known Implementing Classes:
AuxMaterialBundle, AuxMaterialElementDesc, BeamBody, DeformableBody, EditableMesh, EditablePolygonalMesh, Elaston, FemMarker, FemMesh, FemMeshBase, FemModel, FemModel3d, FemMuscleModel, FemNode, FemNode3d, FixedMesh, Frame, FrameMarker, FullPlanarJoint, HydrostatModel, ImagePlaneProbe, JointBase, LaymanModel, Marker, MarkerPlanarConnector, MechModel, MeshComponent, MFreeAuxMaterialBundle, MFreeAuxMaterialElementDesc, MFreeHermiteNode3d, MFreeModel3d, MFreeMuscleBundle, MFreeMuscleElementDesc, MFreeMuscleModel, MFreeNode3d, MuscleBundle, MuscleElementDesc, Particle, ParticleConstraint, ParticleMeshConstraint, ParticlePlaneConstraint, PlanarConnector, PlanarPoint, Point, PointForce, PointList, PointState, PointToPointMuscle, RevoluteJoint, RigidBody, RigidBodyConnector, RigidCompositeBody, RigidMeshComponent, RollPitchJoint, SegmentedPlanarConnector, SkinMesh, SkinMeshBase, SoftPlaneCollider, SolidJoint, SphericalJoint, SphericalJointBase, SphericalRpyJoint, SpongeModel, TargetFrame, TargetPoint, TextComponent3d, TransformableList, VertexComponent, VertexList

public interface TransformableGeometry


Field Summary
static int ARTICULATED
           
static int SIMULATING
           
 
Method Summary
 void transformGeometry(AffineTransform3dBase X)
          Applies an affine transformation to the geometry of this object.
 void transformGeometry(AffineTransform3dBase X, TransformableGeometry topObject, int flags)
          Applies an affine transformation to the geometry of this object.
 

Field Detail

SIMULATING

static final int SIMULATING
See Also:
Constant Field Values

ARTICULATED

static final int ARTICULATED
See Also:
Constant Field Values
Method Detail

transformGeometry

void transformGeometry(AffineTransform3dBase X)
Applies an affine transformation to the geometry of this object. This method should be equivalent to
 transformGeometry (X, this, 0);
 

Parameters:
X - affine transformation

transformGeometry

void transformGeometry(AffineTransform3dBase X,
                       TransformableGeometry topObject,
                       int flags)
Applies an affine transformation to the geometry of this object. If recursively invoked within a component hierarchy, then topComponent should be the component for which the method was initially invoked. The variable flags provides information about the context in which the transformation is being applied. At present, the available flags are SIMULATING and ARTICULATED.

Parameters:
X - affine transformation
topObject - component on which the method was initially invoked
flags - provides information about the context in which the transformation is being applied.