Uses of Class
org.sunflow.math.Matrix4
Packages that use Matrix4
Package
Description
-
Uses of Matrix4 in org.sunflow
Methods in org.sunflow with parameters of type Matrix4 -
Uses of Matrix4 in org.sunflow.core
Methods in org.sunflow.core that return Matrix4Modifier and TypeMethodDescriptionfinal Matrix4
ShadingState.getCameraToWorld()
Get a transformation matrix that will transform camera space points into world space.Get the specified matrix parameter from this list.final Matrix4
ShadingState.getWorldToCamera()
Get a transformation matrix that will transform world space points into camera space.Methods in org.sunflow.core with parameters of type Matrix4Modifier and TypeMethodDescriptionstatic Instance
Instance.createTemporary
(PrimitiveList primitives, Matrix4 transform, Shader shader) Get the specified matrix parameter from this list.PrimitiveList.getWorldBounds
(Matrix4 o2w) Compute a bounding box of this object in world space, using the specified object-to-world transformation matrix.Tesselatable.getWorldBounds
(Matrix4 o2w) Compute a bounding box of this object in world space, using the specified object-to-world transformation matrix.Create a new ray by transforming the supplied one by the given matrix. -
Uses of Matrix4 in org.sunflow.core.light
Methods in org.sunflow.core.light with parameters of type Matrix4Modifier and TypeMethodDescriptionImageBasedLight.getWorldBounds
(Matrix4 o2w) SunSkyLight.getWorldBounds
(Matrix4 o2w) -
Uses of Matrix4 in org.sunflow.core.parser
Methods in org.sunflow.core.parser that return Matrix4Modifier and TypeMethodDescriptionprotected abstract Matrix4
SCAbstractParser.parseMatrix()
protected Matrix4
SCAsciiParser.parseMatrix()
protected Matrix4
SCBinaryParser.parseMatrix()
-
Uses of Matrix4 in org.sunflow.core.primitive
Methods in org.sunflow.core.primitive with parameters of type Matrix4Modifier and TypeMethodDescriptionBackground.getWorldBounds
(Matrix4 o2w) BanchoffSurface.getWorldBounds
(Matrix4 o2w) Box.getWorldBounds
(Matrix4 o2w) CornellBox.getWorldBounds
(Matrix4 o2w) CubeGrid.getWorldBounds
(Matrix4 o2w) Cylinder.getWorldBounds
(Matrix4 o2w) Hair.getWorldBounds
(Matrix4 o2w) JuliaFractal.getWorldBounds
(Matrix4 o2w) ParticleSurface.getWorldBounds
(Matrix4 o2w) Plane.getWorldBounds
(Matrix4 o2w) QuadMesh.getWorldBounds
(Matrix4 o2w) Sphere.getWorldBounds
(Matrix4 o2w) SphereFlake.getWorldBounds
(Matrix4 o2w) Torus.getWorldBounds
(Matrix4 o2w) TriangleMesh.getWorldBounds
(Matrix4 o2w) -
Uses of Matrix4 in org.sunflow.core.tesselatable
Methods in org.sunflow.core.tesselatable with parameters of type Matrix4Modifier and TypeMethodDescriptionBezierMesh.getWorldBounds
(Matrix4 o2w) FileMesh.getWorldBounds
(Matrix4 o2w) -
Uses of Matrix4 in org.sunflow.math
Fields in org.sunflow.math declared as Matrix4Modifier and TypeFieldDescriptionstatic final Matrix4
Matrix4.IDENTITY
static final Matrix4
Matrix4.ZERO
Methods in org.sunflow.math that return Matrix4Modifier and TypeMethodDescriptionstatic final Matrix4
static final Matrix4
Matrix4.fromBasis
(OrthoNormalBasis basis) Creates a rotation matrix from an OrthonormalBasis.MovingMatrix4.getData
(int i) Get the matrix for the given time step.final Matrix4
Matrix4.inverse()
Compute the inverse of this matrix and return it as a new object.static final Matrix4
Creates a camera positioning matrix from the given eye and target points and up vector.final Matrix4
Computes this*m and return the result as a new Matrix4static final Matrix4
Matrix4.rotate
(float x, float y, float z, float theta) Creates a rotation matrix about the specified axis.static final Matrix4
Matrix4.rotateX
(float theta) Creates a rotation matrix about the X axis.static final Matrix4
Matrix4.rotateY
(float theta) Creates a rotation matrix about the Y axis.static final Matrix4
Matrix4.rotateZ
(float theta) Creates a rotation matrix about the Z axis.MovingMatrix4.sample
(float time) static final Matrix4
Matrix4.scale
(float s) Create a uniform scaling matrix.static final Matrix4
Matrix4.scale
(float sx, float sy, float sz) Creates a non-uniform scaling matrix.static final Matrix4
Matrix4.translation
(float x, float y, float z) Create a translation matrix for the specified vector.Methods in org.sunflow.math with parameters of type Matrix4Modifier and TypeMethodDescriptionstatic final Matrix4
final boolean
final Matrix4
Computes this*m and return the result as a new Matrix4void
MovingMatrix4.updateData
(int i, Matrix4 m) Updates the matrix for the given time step.Constructors in org.sunflow.math with parameters of type Matrix4