|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TriangleMesh | |
---|---|
toxi.geom | |
toxi.geom.mesh |
Uses of TriangleMesh in toxi.geom |
---|
Methods in toxi.geom that return TriangleMesh | |
---|---|
TriangleMesh |
ZAxisCylinder.toMesh()
|
TriangleMesh |
YAxisCylinder.toMesh()
|
TriangleMesh |
XAxisCylinder.toMesh()
|
TriangleMesh |
AxisAlignedCylinder.toMesh()
Builds a TriangleMesh representation of the cylinder at a default resolution 30 degrees. |
TriangleMesh |
AABB.toMesh()
|
TriangleMesh |
Plane.toMesh(float size)
Creates a TriangleMesh representation of the plane as a finite, squared quad of the requested size, centred around the current plane point. |
TriangleMesh |
Cone.toMesh(int steps)
|
TriangleMesh |
ZAxisCylinder.toMesh(int steps,
float thetaOffset)
|
TriangleMesh |
YAxisCylinder.toMesh(int steps,
float thetaOffset)
|
TriangleMesh |
XAxisCylinder.toMesh(int steps,
float thetaOffset)
|
TriangleMesh |
Cone.toMesh(int steps,
float thetaOffset)
|
TriangleMesh |
AxisAlignedCylinder.toMesh(int steps,
float thetaOffset)
Builds a TriangleMesh representation of the cylinder using the given number of steps and start angle offset. |
TriangleMesh |
AABB.toMesh(java.lang.String name)
|
TriangleMesh |
Cone.toMesh(java.lang.String name,
int steps,
float thetaOffset)
|
Uses of TriangleMesh in toxi.geom.mesh |
---|
Methods in toxi.geom.mesh that return TriangleMesh | |
---|---|
TriangleMesh |
TriangleMesh.computeFaceNormals()
Re-calculates all face normals. |
TriangleMesh |
TriangleMesh.copy()
Creates a deep clone of the mesh. |
TriangleMesh |
SurfaceMeshBuilder.createMesh(int res,
float size)
|
TriangleMesh |
TriangleMesh.flipVertexOrder()
Flips the vertex ordering between clockwise and anti-clockwise. |
TriangleMesh |
TriangleMesh.flipYAxis()
Flips all vertices along the Y axis and reverses the vertex ordering of all faces to compensate and keep the direction of normals intact. |
TriangleMesh |
STLReader.loadBinary(java.io.InputStream stream,
java.lang.String meshName)
Attempts to load an STL model from the given InputStream . |
TriangleMesh |
STLReader.loadBinary(java.lang.String fileName)
Attempts to load an STL model from the given file path. |
TriangleMesh |
TriangleMesh.pointTowards(Vec3D dir)
Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction. |
TriangleMesh |
TriangleMesh.pointTowards(Vec3D dir,
Vec3D forward)
Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction. |
TriangleMesh |
TriangleMesh.transform(Matrix4x4 mat)
Applies the given matrix transform to all mesh vertices and updates all face normals. |
TriangleMesh |
TriangleMesh.transform(Matrix4x4 mat,
boolean updateNormals)
Applies the given matrix transform to all mesh vertices. |
Methods in toxi.geom.mesh with parameters of type TriangleMesh | |
---|---|
void |
TriangleMesh.addMesh(TriangleMesh m)
Adds all faces from the given mesh to this one. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |