예제 #1
0
 public void restoreXform() {
   Transform3D xform =
       new Transform3D(
           getRotationAttr().getValue(),
           getTranslationAttr().getValue(),
           getScaleAttr().getValue());
   objectGroup.setTransform(xform);
   renderer.eyePtChanged();
 }
예제 #2
0
 @Override
 public void transformChanged(int type, Transform3D xform) {
   renderer.transformChanged(type, xform);
   renderer.eyePtChanged();
   annotations.eyePtChanged();
   getScaleAttr().set(xform);
   getTranslationAttr().set(xform);
   getRotationAttr().set(xform);
 }
예제 #3
0
 // public void setXForm(Transform3D trans)
 // {
 // centerGroup.setTransform(trans);
 // transformChanged(0, trans);
 // renderer.eyePtChanged();
 // }
 //
 // public Transform3D getTransform()
 // {
 // Transform3D t1 = new Transform3D();
 // centerGroup.getTransform(t1);
 // return t1;
 // }
 @Override
 public void eyePtChanged() {
   renderer.eyePtChanged();
 }