quicktime.vr
Class QTVRObjectSample
java.lang.Object
|
+--quicktime.util.QTByteObject
|
+--quicktime.vr.QTVRAtom
|
+--quicktime.vr.QTVRObjectSample
- All Implemented Interfaces:
- java.lang.Cloneable, PrimitivesLib, java.io.Serializable, SharedLibrary, com.apple.jdirect.SharedLibrary
- public final class QTVRObjectSample
- extends QTVRAtom
- See Also:
- Serialized Form
Constructor Summary |
QTVRObjectSample()
Creates a QTVRObjectSample object containing no data |
QTVRObjectSample(byte[] bytes)
Creates a QTVRObjectSample object from a byte array
Used in cloning |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
kQTVRObjectAnimateViewFramesOn
public static final int kQTVRObjectAnimateViewFramesOn
kQTVRObjectPalindromeViewFramesOn
public static final int kQTVRObjectPalindromeViewFramesOn
kQTVRObjectStartFirstViewFrameOn
public static final int kQTVRObjectStartFirstViewFrameOn
kQTVRObjectAnimateViewsOn
public static final int kQTVRObjectAnimateViewsOn
kQTVRObjectPalindromeViewsOn
public static final int kQTVRObjectPalindromeViewsOn
kQTVRObjectSyncViewToFrameRate
public static final int kQTVRObjectSyncViewToFrameRate
kQTVRObjectDontLoopViewFramesOn
public static final int kQTVRObjectDontLoopViewFramesOn
kQTVRObjectPlayEveryViewFrameOn
public static final int kQTVRObjectPlayEveryViewFrameOn
kQTVRObjectStreamingViewsOn
public static final int kQTVRObjectStreamingViewsOn
kQTVRObjectWrapPanOn
public static final int kQTVRObjectWrapPanOn
kQTVRObjectWrapTiltOn
public static final int kQTVRObjectWrapTiltOn
kQTVRObjectCanZoomOn
public static final int kQTVRObjectCanZoomOn
kQTVRObjectReverseHControlOn
public static final int kQTVRObjectReverseHControlOn
kQTVRObjectReverseVControlOn
public static final int kQTVRObjectReverseVControlOn
kQTVRObjectSwapHVControlOn
public static final int kQTVRObjectSwapHVControlOn
kQTVRObjectTranslationOn
public static final int kQTVRObjectTranslationOn
kGrabberScrollerUI
public static final short kGrabberScrollerUI
- ObjectUITypes
kOldJoyStickUI
public static final short kOldJoyStickUI
- ObjectUITypes
kJoystickUI
public static final short kJoystickUI
- ObjectUITypes
kGrabberUI
public static final short kGrabberUI
- ObjectUITypes
kAbsoluteUI
public static final short kAbsoluteUI
- ObjectUITypes
QTVRObjectSample
public QTVRObjectSample()
- Creates a QTVRObjectSample object containing no data
QTVRObjectSample
public QTVRObjectSample(byte[] bytes)
throws QTException
- Creates a QTVRObjectSample object from a byte array
Used in cloning
clone
public java.lang.Object clone()
- Returns a copy of this class.
- Overrides:
clone
in class QTVRAtom
getEndianDescriptor
public static EndianDescriptor getEndianDescriptor()
- Returns the EndianDescriptor for this class.
- Returns:
- an EndianDescriptor
getMovieType
public short getMovieType()
- Returns:
- movieType kGrabberScrollerUI, kOldJoyStickUI, kJoystickUI, kGrabberUI or kAbsoluteUI
setMovieType
public void setMovieType(short movieType)
- Parameters:
movieType
- One of kGrabberScrollerUI, kOldJoyStickUI, kJoystickUI, kGrabberUI or kAbsoluteUI
getViewStateCount
public short getViewStateCount()
- Returns:
- the number of view states 1 based
setViewStateCount
public void setViewStateCount(short viewStateCount)
- Parameters:
viewStateCount
- The number of view states 1 based
getDefaultViewState
public short getDefaultViewState()
- Returns:
- the default view state number 1 based
setDefaultViewState
public void setDefaultViewState(short defaultViewState)
- Parameters:
defaultViewState
- the default view state number 1 based. The number must be 1 to viewStateCount
getMouseDownViewState
public short getMouseDownViewState()
- Returns:
- The mouse down view state 1 based
setMouseDownViewState
public void setMouseDownViewState(short mouseDownViewState)
- Parameters:
mouseDownViewState
- The mouse down view state 1 based. The number must be 1 to viewStateCount
getViewDuration
public int getViewDuration()
- Returns:
- The duration of each view including all animation frames in a view
setViewDuration
public void setViewDuration(int viewDuration)
- Parameters:
viewDuration
- The duration of each view including all animation frames in a view
getColumns
public int getColumns()
- Returns:
- The number of columns in the VRObject
setColumns
public void setColumns(int columns)
- Parameters:
columns
- The number of columns in the VRObject
getRows
public int getRows()
- Returns:
- The number of rows in the VRObject
setRows
public void setRows(int rows)
- Parameters:
rows
- The number of rows the VRObject
getMouseMotionScale
public float getMouseMotionScale()
- Returns:
- 180.0 for kStandardObject or kQTVRObjectInScene, actual degrees for kOldNavigableMovieScene
setMouseMotionScale
public void setMouseMotionScale(float mouseMotionScale)
- Parameters:
mouseMotionScale
- 180.0 for kStandardObject or kQTVRObjectInScene, actual degrees for kOldNavigableMovieScene
getMinPan
public float getMinPan()
- Returns:
- Start horizontal pan angle in degrees
setMinPan
public void setMinPan(float minPan)
- Parameters:
minPan
- Start horizontal pan angle in degrees
getMaxPan
public float getMaxPan()
- Returns:
- End horizontal pan angle in degrees
setMaxPan
public void setMaxPan(float maxPan)
- Parameters:
maxPan
- End horizontal pan angle in degrees
getDefaultPan
public float getDefaultPan()
- Returns:
- Initial horizontal pan angle in degrees (poster view)
setDefaultPan
public void setDefaultPan(float defaultPan)
- Parameters:
defaultPan
- Initial horizontal pan angle in degrees (poster view)
getMinTilt
public float getMinTilt()
- Returns:
- Start vertical pan angle in degrees
setMinTilt
public void setMinTilt(float minTilt)
- Parameters:
minTilt
- Start vertical pan angle in degrees
getMaxTilt
public float getMaxTilt()
- Returns:
- End vertical pan angle in degrees
setMaxTilt
public void setMaxTilt(float maxTilt)
- Parameters:
maxTilt
- End vertical pan angle in degrees
getDefaultTilt
public float getDefaultTilt()
- Returns:
- Initial vertical pan angle in degrees (poster view)
setDefaultTilt
public void setDefaultTilt(float defaultTilt)
- Parameters:
defaultTilt
- Initial vertical pan angle in degrees (poster view)
getMinFieldOfView
public float getMinFieldOfView()
- Returns:
- minimum field of view setting (appears as the maximum zoom effect)
setMinFieldOfView
public void setMinFieldOfView(float minFieldOfView)
throws QTException
- Parameters:
minFieldOfView
- field of view setting (appears as the maximum zoom effect)- Throws:
minFieldOfView
- must be >= 1
getFieldOfView
public float getFieldOfView()
- Returns:
- the field of view range
setFieldOfView
public void setFieldOfView(float fieldOfView)
throws QTException
- Parameters:
fieldOfView
- the field of view range- Throws:
fieldOfView
- must be >= 1
getDefaultFieldOfView
public float getDefaultFieldOfView()
- Returns:
- the default field of view
setDefaultFieldOfView
public void setDefaultFieldOfView(float defaultFieldOfView)
- Parameters:
defaultFieldOfView
- the default field of view
getDefaultViewCenter
public QDPoint getDefaultViewCenter()
- Returns:
- the default view center
setDefaultViewCenter
public void setDefaultViewCenter(QDPoint defaultViewCenter)
- Parameters:
defaultViewCenter
- the default view center
getViewRate
public float getViewRate()
- Returns:
- the view rate
setViewRate
public void setViewRate(float viewRate)
- Parameters:
viewRate
- the view rate
getFrameRate
public float getFrameRate()
- Returns:
- the frame rate
setFrameRate
public void setFrameRate(float frameRate)
- Parameters:
frameRate
- the frame rate
getAnimationSettings
public int getAnimationSettings()
- Returns:
- the Animation Settings (reserved)
setAnimationSettings
public void setAnimationSettings(int animationSettings)
- Parameters:
animationSettings
- The Animation Settings (reserved)
getControlSettings
public int getControlSettings()
- Returns:
- the Control Settings (reserved)
setControlSettings
public void setControlSettings(int controlSettings)
- Parameters:
controlSettings
- The Control Settings (reserved)
toString
public java.lang.String toString()
- Description copied from class:
QTVRAtom
- Returns a string representation of the class
- Overrides:
toString
in class QTVRAtom