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

Field Summary
static short kAbsoluteUI
          ObjectUITypes
static short kGrabberScrollerUI
          ObjectUITypes
static short kGrabberUI
          ObjectUITypes
static short kJoystickUI
          ObjectUITypes
static short kOldJoyStickUI
          ObjectUITypes
static int kQTVRObjectAnimateViewFramesOn
           
static int kQTVRObjectAnimateViewsOn
           
static int kQTVRObjectCanZoomOn
           
static int kQTVRObjectDontLoopViewFramesOn
           
static int kQTVRObjectPalindromeViewFramesOn
           
static int kQTVRObjectPalindromeViewsOn
           
static int kQTVRObjectPlayEveryViewFrameOn
           
static int kQTVRObjectReverseHControlOn
           
static int kQTVRObjectReverseVControlOn
           
static int kQTVRObjectStartFirstViewFrameOn
           
static int kQTVRObjectStreamingViewsOn
           
static int kQTVRObjectSwapHVControlOn
           
static int kQTVRObjectSyncViewToFrameRate
           
static int kQTVRObjectTranslationOn
           
static int kQTVRObjectWrapPanOn
           
static int kQTVRObjectWrapTiltOn
           
 
Fields inherited from interface quicktime.jdirect.PrimitivesLib
JDirect_MacOSX, libraryInstance
 
Constructor Summary
QTVRObjectSample()
          Creates a QTVRObjectSample object containing no data
QTVRObjectSample(byte[] bytes)
          Creates a QTVRObjectSample object from a byte array Used in cloning
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this class.
 int getAnimationSettings()
           
 int getColumns()
           
 int getControlSettings()
           
 float getDefaultFieldOfView()
           
 float getDefaultPan()
           
 float getDefaultTilt()
           
 QDPoint getDefaultViewCenter()
           
 short getDefaultViewState()
           
static EndianDescriptor getEndianDescriptor()
          Returns the EndianDescriptor for this class.
 float getFieldOfView()
           
 float getFrameRate()
           
 float getMaxPan()
           
 float getMaxTilt()
           
 float getMinFieldOfView()
           
 float getMinPan()
           
 float getMinTilt()
           
 short getMouseDownViewState()
           
 float getMouseMotionScale()
           
 short getMovieType()
           
 int getRows()
           
 int getViewDuration()
           
 float getViewRate()
           
 short getViewStateCount()
           
 void setAnimationSettings(int animationSettings)
           
 void setColumns(int columns)
           
 void setControlSettings(int controlSettings)
           
 void setDefaultFieldOfView(float defaultFieldOfView)
           
 void setDefaultPan(float defaultPan)
           
 void setDefaultTilt(float defaultTilt)
           
 void setDefaultViewCenter(QDPoint defaultViewCenter)
           
 void setDefaultViewState(short defaultViewState)
           
 void setFieldOfView(float fieldOfView)
           
 void setFrameRate(float frameRate)
           
 void setMaxPan(float maxPan)
           
 void setMaxTilt(float maxTilt)
           
 void setMinFieldOfView(float minFieldOfView)
           
 void setMinPan(float minPan)
           
 void setMinTilt(float minTilt)
           
 void setMouseDownViewState(short mouseDownViewState)
           
 void setMouseMotionScale(float mouseMotionScale)
           
 void setMovieType(short movieType)
           
 void setRows(int rows)
           
 void setViewDuration(int viewDuration)
           
 void setViewRate(float viewRate)
           
 void setViewStateCount(short viewStateCount)
           
 java.lang.String toString()
          Returns a string representation of the class
 
Methods inherited from class quicktime.vr.QTVRAtom
getMajorVersion, getMinorVersion, setMajorVersion, setMinorVersion
 
Methods inherited from class quicktime.util.QTByteObject
equals, fromArray, getBytes, getSize
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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