I've been trying to mail the interest group but this mail does not reach the group 
because no mail went back to my account.Anyway, I hope this reaches the mailing list. 
:)

Can I ask if there is a possibility that I can get the parent of the viewplatform and 
modify the rotation component of the set transform3d.I want to simulate a set of 
buttons that
show a rotation along the x and y axes by modifying the transformgroup above the 
viewplatform.


My code is:

                  m2=new Matrix3d();
                        tempviewplat=active_site.getViewPlatform();
                        tempTG=(TransformGroup)tempviewplat.getParent();
                        tempTG.getTransform(tempT3D);
                        tempT3D.getRotationScale(m1);
                        m2.rotX(rot_degree);
                        m1.mul(m2);
                        tempT3D.setRotationScale(m1);
                        tempTG.setTransform(tempT3D);

Upon running and pressing the button,i get a:
RestrictedAccessException:Cannot get the parent of a live or a compiled node.

Thanks!




__________________________________
www.edsamail.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to