public interface TransformGeometryAction
TransformableGeometry.transformGeometry(maspack.matrix.AffineTransform3dBase)
method of a
transformable object by calling the
TransformGeometryContext.addAction(artisynth.core.modelbase.TransformGeometryAction)
method of the
TransformGeometryContext
. Requested actions are
called after the transformGeometry
method
has been called for all the transformables in the context,
and their purpose is usually to request an update operation of
some sort that can only be completed after all the geometry has
been transformed.Modifier and Type | Method and Description |
---|---|
void |
transformGeometry(GeometryTransformer gtr,
TransformGeometryContext context,
int flags)
Called from within the
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int) method
of a TransformGeometryContext after after the
transformGeometry method has been called for all
the transformables in the context. |
void transformGeometry(GeometryTransformer gtr, TransformGeometryContext context, int flags)
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
method
of a TransformGeometryContext
after after the
transformGeometry
method has been called for all
the transformables in the context.gtr
- transformer implementing the transformcontext
- context issuing this callflags
- specifies conditions associated with the transformation.
At present, the available flags are
TransformableGeometry.TG_SIMULATING
and
TransformableGeometry.TG_ARTICULATED
.