public class PanController extends ControllerBase
ModelComponent.NavpanelVisibility
myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
PanController()
Creates an empty PanController.
|
PanController(RootModel root,
double period,
double startTime,
double stopTime)
Create a new PanController.
|
PanController(RootModel root,
Vector3d viewerEye0,
Vector3d viewerCenter,
double period,
Vector3d axis,
double startTime,
double stopTime)
Create a new PanController.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(double t0,
double t1)
Called at the beginning of a
RootModel 's advance procedure |
render
copy, createRenderProps, createState, getInitialState, getRenderHints, getRenderProps, getSelection, getState, hasState, isSelectable, numSelectionQueriesNeeded, prerender, setRenderProps, setState, updateBounds
dispose, finalize, getAllPropertyInfo, getModel, initialize, isActive, setActive, setModel, setModelFromComponent, write
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getModel, initialize, isActive, setModel
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getAllPropertyInfo, getProperty
getChildren, hasChildren
postscan
isWritable, write
createState, getInitialState, getState, setState
public PanController()
public PanController(RootModel root, Vector3d viewerEye0, Vector3d viewerCenter, double period, Vector3d axis, double startTime, double stopTime)
root
- RootModel that is being viewedviewerEye0
- initial eye positionviewerCenter
- center about which the camera should moveperiod
- number of seconds required for a complete revolutionaxis
- axis about which the camera should spin (usually
the ``up'' direction, such as Vector3d.Z_UNIT).startTime
- time at the which the controller should startstopTime
- time at the which the controller should stoppublic PanController(RootModel root, double period, double startTime, double stopTime)
root
- RootModel that is being viewedperiod
- number of seconds required for a complete revolutionstartTime
- time at the which the controller should startstopTime
- time at the which the controller should stoppublic void apply(double t0, double t1)
Controller
RootModel
's advance proceduret0
- time at start of simulation stept1
- time at end of simulation step