|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.renderer.aviatrix3d.navigation.ViewpointManager
public class ViewpointManager
A handler for viewpoint information for a given canvas.
| Constructor Summary | |
|---|---|
ViewpointManager()
Create a new manager for the viewpoint information with no handlers or information set and the default transition time of 2 seconds. |
|
ViewpointManager(int time)
Create a new manager for the viewpoint information with no handlers or information set and the the given transition time. |
|
| Method Summary | |
|---|---|
void |
setFrameUpdateListener(FrameUpdateListener l)
Set the listener for frame update notifications. |
void |
setToolbar(org.j3d.ui.navigation.ViewpointToolbar tbr)
Set the toolbar instance to use. |
void |
setTransitionTime(int time)
Change the transition time between viewpoints. |
void |
setViewInfo(Viewpoint view,
TransformGroup tg)
Set the view and it's related transform group to use. |
void |
viewpointSelected(org.j3d.ui.navigation.ViewpointData vp)
A new viewpoint has been selected and this is it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewpointManager()
public ViewpointManager(int time)
throws java.lang.IllegalArgumentException
time - The time to transit when changing
java.lang.IllegalArgumentException - The time was negative| Method Detail |
|---|
public void setToolbar(org.j3d.ui.navigation.ViewpointToolbar tbr)
tbr - The new toolbar instance to usepublic void setTransitionTime(int time)
time - The new time to use in milliseconds
java.lang.IllegalArgumentException - The time was negative
public void setViewInfo(Viewpoint view,
TransformGroup tg)
view - is the View object that we're modifying.tg - The transform group above the view object that should be usedpublic void setFrameUpdateListener(FrameUpdateListener l)
l - The listener to use for this transitionpublic void viewpointSelected(org.j3d.ui.navigation.ViewpointData vp)
viewpointSelected in interface org.j3d.ui.navigation.ViewpointSelectionListenervp - The new viewpoint to use
|
Aviatrix3D 2.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||