Uses of Class
toxi.geom.mesh.WETriangleMesh
-
Uses of WETriangleMesh in toxi.geom.mesh
Modifier and TypeMethodDescriptionAdds all faces from the given mesh to this one.WETriangleMesh.clear()
Clears all counters, and vertex & face buffers.WETriangleMesh.copy()
Creates a deep clone of the mesh.WETriangleMesh.flipVertexOrder()
Flips the vertex ordering between clockwise and anti-clockwise.WETriangleMesh.flipYAxis()
WETriangleMesh.getRotatedAroundAxis
(Vec3D axis, float theta) WETriangleMesh.getRotatedX
(float theta) WETriangleMesh.getRotatedY
(float theta) WETriangleMesh.getRotatedZ
(float theta) WETriangleMesh.getScaled
(float scale) WETriangleMesh.getTranslated
(Vec3D trans) WETriangleMesh.pointTowards
(ReadonlyVec3D dir) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.WETriangleMesh.pointTowards
(ReadonlyVec3D dir, ReadonlyVec3D forward) Rotates the mesh in such a way so that its "forward" axis is aligned with the given direction.WETriangleMesh.rotateAroundAxis
(Vec3D axis, float theta) WETriangleMesh.rotateX
(float theta) WETriangleMesh.rotateY
(float theta) WETriangleMesh.rotateZ
(float theta) WETriangleMesh.scale
(float scale) TriangleMesh.toWEMesh()
Applies the given matrix transform to all mesh vertices and updates all face normals.Applies the given matrix transform to all mesh vertices.Modifier and TypeMethodDescriptionvoid
LaplacianSmooth.filter
(WETriangleMesh mesh, int numIterations) void
WEMeshFilterStrategy.filter
(WETriangleMesh mesh, int numIterations) Applies the vertex filter to the given mesh -
Uses of WETriangleMesh in toxi.volume
Modifier and TypeMethodDescriptionstatic WETriangleMesh
MeshLatticeBuilder.build
(WETriangleMesh mesh, int res, float stroke) static WETriangleMesh
MeshLatticeBuilder.build
(WETriangleMesh mesh, int res, FloatRange stroke) MeshLatticeBuilder.buildLattice
(WETriangleMesh mesh, Mesh3D targetMesh, float isoValue) Modifier and TypeMethodDescriptionstatic WETriangleMesh
MeshLatticeBuilder.build
(WETriangleMesh mesh, int res, float stroke) static WETriangleMesh
MeshLatticeBuilder.build
(WETriangleMesh mesh, int res, FloatRange stroke) MeshLatticeBuilder.buildLattice
(WETriangleMesh mesh, Mesh3D targetMesh, float isoValue) MeshLatticeBuilder.buildVolume
(WETriangleMesh mesh) static VolumetricSpace
MeshLatticeBuilder.buildVolume
(WETriangleMesh mesh, int res, float stroke) static VolumetricSpace
MeshLatticeBuilder.buildVolume
(WETriangleMesh mesh, int res, FloatRange stroke) MeshLatticeBuilder.buildVolume
(WETriangleMesh mesh, VolumetricBrush brush) void
MeshLatticeBuilder.setMesh
(WETriangleMesh mesh)