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.
-
getCoexistenceToImagePlate(Transform3D)
- Retrieves the coexistence coordinate system to image-plate
coordinate system transform and copies that value into the specified
Transform3D object.
-
getHeadTrackerToLeftImagePlate(Transform3D)
- Retrieves the head-tracker coordinate system to left image-plate
coordinate system transform and copies it into the specified
Transform3D object.
-
getHeadTrackerToRightImagePlate(Transform3D)
- Retrieves the head-tracker coordinate system to right image-plate
coordinate system transform and copies it into the specified
Transform3D object.
-
getLeftEyePositionInImagePlate(Point3d)
- Retrieves the position of the left eye in image-plate
coordinates and copies that value into the vector provided.
-
getPhysicalScreenHeight()
- Returns the the screen's physical height.
-
getPhysicalScreenWidth()
- Returns the screen's physical width.
-
getRightEyePositionInImagePlate(Point3d)
- Retrieves the position of the right eye in image-plate
coordinates and copies that value into the vector provided.
-
getSize()
- Get screen's(imageplate's) width and height in pixels
-
getTrackerBaseToImagePlate(Transform3D)
- Retrieves the tracker-base coordinate system to image-plate
coordinate system transform and copies it into the specified
Transform3D object.
-
setCoexistenceToImagePlate(Transform3D)
- Sets the coexistence coordinate system to image-plate
coordinate system transform.
-
setHeadTrackerToLeftImagePlate(Transform3D)
- Sets the head-tracker coordinate system to left image-plate coordinate
system transform.
-
setHeadTrackerToRightImagePlate(Transform3D)
- Sets the head-tracker coordinate system to right image-plate coordinate
system transform.
-
setLeftEyePositionInImagePlate(Point3d)
- Sets the position of the left eye in image-plate
coordinates.
-
setPhysicalScreenHeight(double)
- Sets the screen's physical height.
-
setPhysicalScreenWidth(double)
- Sets the screen physical width.
-
setRightEyePositionInImagePlate(Point3d)
- Sets the position of the right eye in image-plate
coordinates.
-
setTrackerBaseToImagePlate(Transform3D)
- Sets the tracker-base coordinate system to image-plate coordinate
system transform.
-
toString()
-
getSize
public Dimension getSize()
- Get screen's(imageplate's) width and height in pixels
- Returns:
- dimension screen's width and height in pixels
setPhysicalScreenWidth
public final void setPhysicalScreenWidth(double width)
- Sets the screen physical width.
- Parameters:
- width - the screen's physical width.
getPhysicalScreenWidth
public final double getPhysicalScreenWidth()
- Returns the screen's physical width.
- Returns:
- the screen's physical width.
setPhysicalScreenHeight
public final void setPhysicalScreenHeight(double height)
- Sets the screen's physical height.
- Parameters:
- height - the screen's physical height.
getPhysicalScreenHeight
public final double getPhysicalScreenHeight()
- Returns the the screen's physical height.
- Returns:
- the screen's physical height.
toString
public String toString()
- Overrides:
- toString in class Object
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.
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.
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
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
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
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
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.
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
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.
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
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.
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