Package | Description |
---|---|
org.dayflower.pathtracer.math |
Provides the Mathematics API.
|
org.dayflower.pathtracer.scene |
Provides the Scene API.
|
org.dayflower.pathtracer.scene.shape |
Provides
Shape implementations. |
Modifier and Type | Method and Description |
---|---|
static Matrix44F |
Matrix44F.fromOrthoNormalBasis(OrthoNormalBasis33F orthoNormalBasis)
Returns a new
Matrix44F from an OrthoNormalBasis33F . |
Matrix44F |
Matrix44F.inverse()
Returns a new
Matrix44F that represents the inverse of this Matrix44F instance. |
Matrix44F |
Matrix44F.multiply(Matrix44F matrix)
Multiplies this
Matrix44F instance by matrix . |
static Matrix44F |
Matrix44F.perspective(AngleF fieldOfView,
float aspectRatio,
float zNear,
float zFar)
Returns a
Matrix44F for perspective viewing. |
static Matrix44F |
Matrix44F.rotate(Vector3F w,
Vector3F v)
Returns a
Matrix44F for rotating along the X-, Y- and Z-axes. |
static Matrix44F |
Matrix44F.rotate(Vector3F w,
Vector3F v,
Vector3F u)
Returns a
Matrix44F for rotating along the X-, Y- and Z-axes. |
static Matrix44F |
Matrix44F.rotateX(AngleF angle)
Returns a
Matrix44F for rotating along the X-axis. |
static Matrix44F |
Matrix44F.rotateY(AngleF angle)
Returns a
Matrix44F for rotating along the Y-axis. |
static Matrix44F |
Matrix44F.rotateZ(AngleF angle)
Returns a
Matrix44F for rotating along the Z-axis. |
static Matrix44F |
Matrix44F.scale(float x,
float y,
float z)
Returns a
Matrix44F for scaling. |
static Matrix44F |
Matrix44F.translate(float x,
float y,
float z)
Returns a
Matrix44F for translation. |
static Matrix44F |
Matrix44F.translate(Point3F p)
Returns a
Matrix44F for translation. |
Matrix44F |
Matrix44F.transpose()
Returns a new
Matrix44F that represents the transpose of this Matrix44F instance. |
Modifier and Type | Method and Description |
---|---|
Matrix44F |
Matrix44F.multiply(Matrix44F matrix)
Multiplies this
Matrix44F instance by matrix . |
Vector3F |
Vector3F.transform(Matrix44F m)
Performs a transformation.
|
Point3F |
Point3F.transform(Matrix44F m)
Performs a transformation.
|
OrthoNormalBasis33F |
OrthoNormalBasis33F.transform(Matrix44F m)
Performs a transformation.
|
Point3F |
Point3F.transformAndDivide(Matrix44F m)
Performs a transformation and a divide.
|
Vector3F |
Vector3F.transformTranspose(Matrix44F m)
Performs a transformation in transpose order.
|
Modifier and Type | Method and Description |
---|---|
Matrix44F |
Primitive.getObjectToWorld()
Returns the
Matrix44F to transform from object-space to world-space. |
Matrix44F |
Primitive.getWorldToObject()
Returns the
Matrix44F to transform from world-space to object-space. |
Modifier and Type | Method and Description |
---|---|
void |
Primitive.setObjectToWorld(Matrix44F objectToWorld)
Sets the
Matrix44F to transform from object-space to world-space and updates the Matrix44F to transform from world-space to object-space. |
void |
Primitive.setWorldToObject(Matrix44F worldToObject)
Sets the
Matrix44F to transform from world-space to object-space and updates the Matrix44F to transform from object-space to world-space. |
Constructor and Description |
---|
Primitive(Shape shape,
Surface surface,
Matrix44F objectToWorld)
Constructs a new
Primitive instance. |
Modifier and Type | Method and Description |
---|---|
Triangle.Vertex |
Triangle.Vertex.transform(Matrix44F m)
|