All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.vr.QTVRInterceptRecord

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.util.QTPointerRef
                   |
                   +----quicktime.vr.QTVRInterceptRecord

public class QTVRInterceptRecord
extends QTPointerRef
implements PrimitivesLib
The QTVRInterceptRecord is passed to the QTVRInterceptor's exeucte method by QuickTime. The application can look at the about to occur change in the VR movie through the parameters of this record and can in turn call the VR interceptor method itself with any particular changes it wants to make, passing the QTVRInterceptor record to this method.


Method Index

 o getAngle()
Returns the pan or tilt angle, depending on the selector.
 o getFieldOfView()
Returns the field of view for the kQTVRSetFieldOfViewSelector.
 o getHotSpotID()
Gets the hot spot ID.
 o getHotSpotType()
Gets the hot spot type.
 o getParamCount()
This returns the number of parameters in a particular instance.
 o getSelector()
This returns the selector which will in turn describe the parameters that this record will contain.
 o getViewCenter()
Returns the field of view for the kQTVRSetViewCenterSelector.
 o setAngle(float)
Sets the pan or tilt angle, depending on the selector.
 o setFieldOfView(float)
Sets the field of view for the kQTVRSetFieldOfViewSelector.
 o setHotSpotID(int)
Sets the hot spot ID.
 o setHotSpotType(int)
Sets the hot spot type.
 o setViewCenter(QDPoint)
Sets the field of view for the kQTVRSetViewCenterSelector.
 o toString()
Returns a String representation of this object.

Methods

 o getSelector
 public final int getSelector()
This returns the selector which will in turn describe the parameters that this record will contain. This is a read only field.

Returns:
an int
 o getParamCount
 public final int getParamCount()
This returns the number of parameters in a particular instance. The number of parameters are dependent on the given selector. This is a read only field.

Returns:
an int
 o getAngle
 public float getAngle() throws QTException
Returns the pan or tilt angle, depending on the selector. If the selector is not kQTVRSetPanAngleSelector or kQTVRSetTiltAngleSelector a paramError QTException is thrown.

Returns:
the angle in Radians.
 o setAngle
 public void setAngle(float angle) throws QTException
Sets the pan or tilt angle, depending on the selector. If the selector is not kQTVRSetPanAngleSelector or kQTVRSetTiltAngleSelector a paramError QTException is thrown.

Parameters:
angle - the angle in Radians.
 o getFieldOfView
 public float getFieldOfView() throws QTException
Returns the field of view for the kQTVRSetFieldOfViewSelector. If the selector is not kQTVRSetFieldOfViewSelector a paramError QTException is thrown.

Returns:
the field of view
 o setFieldOfView
 public void setFieldOfView(float fieldOfView) throws QTException
Sets the field of view for the kQTVRSetFieldOfViewSelector. If the selector is not kQTVRSetFieldOfViewSelector a paramError QTException is thrown.

Parameters:
fieldOfView - the field of view
 o getViewCenter
 public QDPoint getViewCenter() throws QTException
Returns the field of view for the kQTVRSetViewCenterSelector. If the selector is not kQTVRSetViewCenterSelector a paramError QTException is thrown.

Returns:
the current view center
 o setViewCenter
 public void setViewCenter(QDPoint viewCenter) throws QTException
Sets the field of view for the kQTVRSetViewCenterSelector. If the selector is not kQTVRSetViewCenterSelector a paramError QTException is thrown.

Parameters:
viewCenter - the new view center
 o getHotSpotID
 public int getHotSpotID() throws QTException
Gets the hot spot ID. If the selector is not kQTVRTriggerHotSpotSelector or kQTVRGetHotSpotTypeSelector a paramError QTException is thrown.

Returns:
the hot spot ID
 o setHotSpotID
 public void setHotSpotID(int hotSpotID) throws QTException
Sets the hot spot ID. If the selector is not kQTVRTriggerHotSpotSelector or kQTVRGetHotSpotTypeSelector a paramError QTException is thrown.

Parameters:
hotSpotID - the new hot spot ID
 o getHotSpotType
 public int getHotSpotType() throws QTException
Gets the hot spot type. If the selector is not kQTVRGetHotSpotTypeSelector a paramError QTException is thrown.

Returns:
the hot spot type
 o setHotSpotType
 public void setHotSpotType(int hotSpotType) throws QTException
Sets the hot spot type. If the selector is not kQTVRGetHotSpotTypeSelector a paramError QTException is thrown.

Parameters:
hotSpotType - the new hot spot type
 o toString
 public String toString()
Returns a String representation of this object.

Returns:
a String
Overrides:
toString in class QTPointerRef

All Packages  Class Hierarchy  This Package  Previous  Next  Index