public void restoreXform() { Transform3D xform = new Transform3D( getRotationAttr().getValue(), getTranslationAttr().getValue(), getScaleAttr().getValue()); objectGroup.setTransform(xform); renderer.eyePtChanged(); }
@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); }
// 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(); }