All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.media.j3d.Screen3D

java.lang.Object
   |
   +----java.media.j3d.Screen3D

public class Screen3D
extends Object
The Screen3D Object contains all information about a particular screen. All Canvas3D objects on the same physical screen (display device) refer to the same Screen3D object. Note that Screen3D has no public constructors---it is obtained from the Canvas3D via the getScreen3D method.


Method Index

 o getCoexistenceToImagePlate(Transform3D)
Retrieves the coexistence coordinate system to image-plate coordinate system transform and copies that value into the specified Transform3D object.
 o getHeadTrackerToLeftImagePlate(Transform3D)
Retrieves the head-tracker coordinate system to left image-plate coordinate system transform and copies it into the specified Transform3D object.
 o getHeadTrackerToRightImagePlate(Transform3D)
Retrieves the head-tracker coordinate system to right image-plate coordinate system transform and copies it into the specified Transform3D object.
 o getLeftEyePositionInImagePlate(Point3d)
Retrieves the position of the left eye in image-plate coordinates and copies that value into the vector provided.
 o getPhysicalScreenHeight()
Returns the the screen's physical height.
 o getPhysicalScreenWidth()
Returns the screen's physical width.
 o getRightEyePositionInImagePlate(Point3d)
Retrieves the position of the right eye in image-plate coordinates and copies that value into the vector provided.
 o getSize()
Get screen's(imageplate's) width and height in pixels
 o getTrackerBaseToImagePlate(Transform3D)
Retrieves the tracker-base coordinate system to image-plate coordinate system transform and copies it into the specified Transform3D object.
 o setCoexistenceToImagePlate(Transform3D)
Sets the coexistence coordinate system to image-plate coordinate system transform.
 o setHeadTrackerToLeftImagePlate(Transform3D)
Sets the head-tracker coordinate system to left image-plate coordinate system transform.
 o setHeadTrackerToRightImagePlate(Transform3D)
Sets the head-tracker coordinate system to right image-plate coordinate system transform.
 o setLeftEyePositionInImagePlate(Point3d)
Sets the position of the left eye in image-plate coordinates.
 o setPhysicalScreenHeight(double)
Sets the screen's physical height.
 o setPhysicalScreenWidth(double)
Sets the screen physical width.
 o setRightEyePositionInImagePlate(Point3d)
Sets the position of the right eye in image-plate coordinates.
 o setTrackerBaseToImagePlate(Transform3D)
Sets the tracker-base coordinate system to image-plate coordinate system transform.
 o toString()

Methods

 o getSize
 public Dimension getSize()
Get screen's(imageplate's) width and height in pixels

Returns:
dimension screen's width and height in pixels
 o setPhysicalScreenWidth
 public final void setPhysicalScreenWidth(double width)
Sets the screen physical width.

Parameters:
width - the screen's physical width.
 o getPhysicalScreenWidth
 public final double getPhysicalScreenWidth()
Returns the screen's physical width.

Returns:
the screen's physical width.
 o setPhysicalScreenHeight
 public final void setPhysicalScreenHeight(double height)
Sets the screen's physical height.

Parameters:
height - the screen's physical height.
 o getPhysicalScreenHeight
 public final double getPhysicalScreenHeight()
Returns the the screen's physical height.

Returns:
the screen's physical height.
 o toString
 public String toString()
Overrides:
toString in class Object
 o setLeftEyePositionInImagePlate
 public final void setLeftEyePositionInImagePlate(Point3d position)
Sets the position of the left eye in image-plate coordinates. This value determines eye placement when a head tracker is not in use and the application is directly controlling the eye position in image-plate coordinates. In head-tracked mode or when the windowEyePointPolicy is RELATIVE_TO_FIELD_OF_VIEW, this value is derived from other values and is read-only.

Parameters:
position - the new position vector
Throws: RestrictedAccessException
if head tracking is enabled.
 o setRightEyePositionInImagePlate
 public final void setRightEyePositionInImagePlate(Point3d position)
Sets the position of the right eye in image-plate coordinates. This value determines eye placement when a head tracker is not in use and the application is directly controlling the eye position in image-plate coordinates. In head-tracked mode or when the windowEyePointPolicy is RELATIVE_TO_FIELD_OF_VIEW, this value is derived from other values and is read-only.

Parameters:
position - the new position vector
Throws: RestrictedAccessException
if head tracking is enabled.
 o getLeftEyePositionInImagePlate
 public final void getLeftEyePositionInImagePlate(Point3d position)
Retrieves the position of the left eye in image-plate coordinates and copies that value into the vector provided.

Parameters:
position - the vector that will receive the position
 o getRightEyePositionInImagePlate
 public final void getRightEyePositionInImagePlate(Point3d position)
Retrieves the position of the right eye in image-plate coordinates and copies that value into the vector provided.

Parameters:
position - the vector that will receive the position
 o setTrackerBaseToImagePlate
 public final void setTrackerBaseToImagePlate(Transform3D t)
Sets the tracker-base coordinate system to image-plate coordinate system transform. If head tracking is enabled, this transform is a calibration constant. If head tracking is not enabled, this transform is not used. This is used only in SCREEN_VIEW mode.

Parameters:
t - the new transform
 o getTrackerBaseToImagePlate
 public final void getTrackerBaseToImagePlate(Transform3D t)
Retrieves the tracker-base coordinate system to image-plate coordinate system transform and copies it into the specified Transform3D object.

Parameters:
t - the object that will receive the transform
 o setHeadTrackerToLeftImagePlate
 public final void setHeadTrackerToLeftImagePlate(Transform3D t)
Sets the head-tracker coordinate system to left image-plate coordinate system transform. If head tracking is enabled, this transform is a calibration constant. If head tracking is not enabled, this transform is not used. This is used only in HMD_VIEW mode.

 o getHeadTrackerToLeftImagePlate
 public final void getHeadTrackerToLeftImagePlate(Transform3D t)
Retrieves the head-tracker coordinate system to left image-plate coordinate system transform and copies it into the specified Transform3D object.

Parameters:
t - the object that will receive the transform
 o setHeadTrackerToRightImagePlate
 public final void setHeadTrackerToRightImagePlate(Transform3D t)
Sets the head-tracker coordinate system to right image-plate coordinate system transform. If head tracking is enabled, this transform is a calibration constant. If head tracking is not enabled, this transform is not used. This is used only in HMD_VIEW mode.

 o getHeadTrackerToRightImagePlate
 public final void getHeadTrackerToRightImagePlate(Transform3D t)
Retrieves the head-tracker coordinate system to right image-plate coordinate system transform and copies it into the specified Transform3D object.

Parameters:
t - the object that will receive the transform
 o setCoexistenceToImagePlate
 public final void setCoexistenceToImagePlate(Transform3D t)
Sets the coexistence coordinate system to image-plate coordinate system transform. This transform is derived from head-tracking information and is read-only when head-tracking is enabled. It may be set by the user if head tracking is not enabled.

Parameters:
t - the new transform
Throws: RestrictedAccessException
if head tracking is enabled.
 o getCoexistenceToImagePlate
 public final void getCoexistenceToImagePlate(Transform3D t)
Retrieves the coexistence coordinate system to image-plate coordinate system transform and copies that value into the specified Transform3D object.

Parameters:
t - the object that will receive the transform

All Packages  Class Hierarchy  This Package  Previous  Next  Index