|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Transform | |
y25.graphics | Linear algebra classes and utilities for the three dimensional space. |
Uses of Transform in y25.graphics |
Fields in y25.graphics declared as Transform | |
protected Transform |
Camera.worldToCamera
The transform that transforms world coordinates into camera coordinates. |
protected Transform |
Camera.cameraToNDC
The transform that transforms camera coordinates into (NDC) normalized device coordinates. |
protected Transform |
Camera.ndcToScreen
The transform that transforms NDC coordinates into screen soordinates. |
protected Transform |
Camera.worldToScreen
A shortcut transform that transforms world coordinates directly into screen soordinates. |
Methods in y25.graphics that return Transform | |
static Transform |
Transform.translate(Vector3D delta)
Creates a transform, that, when applied, performs a translation by the given vector. |
static Transform |
Transform.scale(float x,
float y,
float z)
Creates a transform, that, when applied, performs a scaling of the x,y,z-axes by the given factors. |
static Transform |
Transform.rotateX(float angle)
Creates a transform, that, when applied, performs a counter-clockwise rotation around the x-axis. |
static Transform |
Transform.rotateY(float angle)
Creates a transform, that, when applied, performs a counter-clockwise rotation around the y-axis. |
static Transform |
Transform.rotateZ(float angle)
Creates a transform, that, when applied, performs a counter-clockwise rotation around the z-axis. |
static Transform |
Transform.rotate(Vector3D axis,
float angle)
Creates a transform, that, when applied, performs a counter-clockwise rotation around the given vector. |
static Transform |
Transform.lookAt(Point3D pos,
Point3D look,
Vector3D up)
Creates a transform that can be used as a viewing transform that has the same effect as the OpenGL gluLookAt() routine. |
static Transform |
Transform.perspective(float fov,
float aspect,
float zNear,
float zFar)
Creates a transform that can be used as a projection transform that has the same effect as the OpenGL gluPerspective() routine. |
static Transform |
Transform.viewport(float x,
float y,
float width,
float height)
Creates a transform that can be used as a viewport transform that has the same effect as the OpenGL glViewport() routine. |
Transform |
Transform.invert()
Inverts this transform. |
Transform |
Transform.getInverted()
Returns copy of this transform that is the inverse of this transform. |
Transform |
Transform.apply(Transform t)
Applies this transform to the passed transform and returns a reference to the modified passed transform. |
Transform |
Transform.getApplied(Transform t)
Applies this transform to a copy of the passed transform and returns a reference to that copy. |
Methods in y25.graphics with parameters of type Transform | |
Transform |
Transform.apply(Transform t)
Applies this transform to the passed transform and returns a reference to the modified passed transform. |
Transform |
Transform.getApplied(Transform t)
Applies this transform to a copy of the passed transform and returns a reference to that copy. |
Constructors in y25.graphics with parameters of type Transform | |
Transform(Transform t)
Creates a transform by copying the given transform. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |