If a scene contains only 2D transforms, then the following details are not relevant. This camera defines a viewing volume for a parallel (orthographic) projection; a rectangular box. This camera is always located at center of the window and looks along the positive z-axis. The coordinate system defined by this camera has its origin in the upper left corner of the panel with the Y-axis pointing down and the Z axis pointing away from the viewer (into the screen). The units are in pixel coordinates.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final PickRay | computePickRay(double x, double y, PickRay pickRay)
Implements abstract javafx. Computes pick ray for the content rendered by this camera. |
| pack-priv Vec3d | computePosition(Vec3d position)
Implements abstract javafx. Computes local position of the camera in the scene. |
| pack-priv void | computeProjectionTransform(GeneralTransform3D proj)
Implements abstract javafx.
|
| pack-priv void | |
| pack-priv Camera | |
| private NGNode |
| ParallelCamera | back to summary |
|---|---|
| public ParallelCamera() Creates an empty instance of ParallelCamera. | |
| computePickRay | back to summary |
|---|---|
| pack-priv final PickRay computePickRay(double x, double y, PickRay pickRay) Implements abstract javafx. Doc from javafx. Computes pick ray for the content rendered by this camera.
| |
| computePosition | back to summary |
|---|---|
| pack-priv Vec3d computePosition(Vec3d position) Implements abstract javafx. Doc from javafx. Computes local position of the camera in the scene.
| |
| computeProjectionTransform | back to summary |
|---|---|
| pack-priv void computeProjectionTransform(GeneralTransform3D proj) Implements abstract javafx.
| |
| computeViewTransform | back to summary |
|---|---|
| pack-priv void computeViewTransform(Affine3D view) Implements abstract javafx.
| |
| copy | back to summary |
|---|---|
| pack-priv Camera copy() Overrides javafx.
| |
| doCreatePeer | back to summary |
|---|---|
| private NGNode doCreatePeer() | |