|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.imp3d.CameraBase
public abstract class CameraBase
| Constructor Summary | |
|---|---|
CameraBase()
|
|
| Method Summary | |
|---|---|
abstract void |
getRay(float x,
float y,
Point3d origin,
Vector3d direction)
Determines the ray which starts at the camera and goes through the specified point on the image plane of the camera. |
abstract float |
getScaleAt(double x,
double y,
double z)
Computes an estimate for the scaling factor from 3D world coordinates at (x, y, z) to 2D coordinates
on the camera plane. |
abstract float |
getScaleAt(float z)
Computes an estimate for the scaling factor from view coordinates around a depth of z to 2D coordinates
on the camera plane. |
abstract Matrix4d |
getWorldToViewTransformation()
Returns the world-to-view transformation of this camera. |
abstract float |
getZFar()
|
abstract float |
getZNear()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CameraBase()
| Method Detail |
|---|
public abstract void getRay(float x,
float y,
Point3d origin,
Vector3d direction)
x - the x-coordinate on the image planey - the y-coordinate on the image planeorigin - the origin of the ray, in world coordinatesdirection - the direction of the ray, in world coordinates
public abstract float getScaleAt(double x,
double y,
double z)
(x, y, z) to 2D coordinates
on the camera plane.
x - x world coordinatey - y world coordinatez - z world coordinate
public abstract float getScaleAt(float z)
z to 2D coordinates
on the camera plane.
z - z view coordinate
public abstract Matrix4d getWorldToViewTransformation()
public abstract float getZFar()
public abstract float getZNear()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||