• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. CUSTOMIZING SIZE, LOCATION, ... > The TransformGroup Class (javax.medi...

The TransformGroup Class (javax.media.j3d.TransformGroup)

Although a Transform3D object is a handy way to represent a transformation matrix, it can't alter objects in a scene by itself. In order for a Transform3D to actually translate, rotate, and scale objects it needs to be copied into a Java 3D TransformGroup object (javax.media.j3d.TransformGroup).

The TransformGroup class subclasses the Group class, giving Transform-Group the ability to store and retrieve its children. It also offers the standard methods related to cloning and duplicating nodes. Aside from that, the only methods that TransformGroup provides are those that allow you to set and get the Transform3D object for the TransformGroup.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint