Uses of Interface
toxi.geom.mesh.Mesh3D

Packages that use Mesh3D
toxi.geom   
toxi.geom.mesh   
 

Uses of Mesh3D in toxi.geom
 

Methods in toxi.geom that return Mesh3D
 Mesh3D AxisAlignedCylinder.toMesh()
          Builds a TriangleMesh representation of the cylinder at a default resolution 30 degrees.
 Mesh3D AABB.toMesh()
           
 Mesh3D 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.
 Mesh3D Sphere.toMesh(int res)
           
 Mesh3D Cone.toMesh(int steps)
           
 Mesh3D Cone.toMesh(int steps, float thetaOffset)
           
 Mesh3D AxisAlignedCylinder.toMesh(int steps, float thetaOffset)
          Builds a TriangleMesh representation of the cylinder using the given number of steps and start angle offset.
 Mesh3D AABB.toMesh(Mesh3D mesh)
           
 Mesh3D Plane.toMesh(Mesh3D mesh, float size)
           
 Mesh3D Sphere.toMesh(Mesh3D mesh, int res)
           
 Mesh3D AxisAlignedCylinder.toMesh(Mesh3D mesh, int steps, float thetaOffset)
           
 Mesh3D Cone.toMesh(Mesh3D mesh, int steps, float thetaOffset, boolean topClosed, boolean bottomClosed)
           
 

Methods in toxi.geom with parameters of type Mesh3D
 Mesh3D AABB.toMesh(Mesh3D mesh)
           
 Mesh3D Plane.toMesh(Mesh3D mesh, float size)
           
 Mesh3D Sphere.toMesh(Mesh3D mesh, int res)
           
 Mesh3D AxisAlignedCylinder.toMesh(Mesh3D mesh, int steps, float thetaOffset)
           
 Mesh3D Cone.toMesh(Mesh3D mesh, int steps, float thetaOffset, boolean topClosed, boolean bottomClosed)
           
 

Uses of Mesh3D in toxi.geom.mesh
 

Classes in toxi.geom.mesh that implement Mesh3D
 class TriangleMesh
          An extensible class to dynamically build, manipulate & export triangle meshes.
 class WETriangleMesh
          A class to dynamically build, manipulate & export triangle meshes.
 

Fields in toxi.geom.mesh with type parameters of type Mesh3D
static java.lang.Class<? extends Mesh3D> STLReader.TRIANGLEMESH
           
static java.lang.Class<? extends Mesh3D> STLReader.WEMESH
           
 

Methods in toxi.geom.mesh that return Mesh3D
 Mesh3D Mesh3D.addFace(Vec3D a, Vec3D b, Vec3D c)
          Adds the given 3 points as triangle face to the mesh.
 Mesh3D Mesh3D.addFace(Vec3D a, Vec3D b, Vec3D c, Vec2D uvA, Vec2D uvB, Vec2D uvC)
          Adds the given 3 points as triangle face to the mesh and assigns the given texture coordinates to each vertex.
 Mesh3D Mesh3D.addFace(Vec3D a, Vec3D b, Vec3D c, Vec3D n)
           
 Mesh3D Mesh3D.addFace(Vec3D a, Vec3D b, Vec3D c, Vec3D n, Vec2D uvA, Vec2D uvB, Vec2D uvC)
           
 Mesh3D Mesh3D.addMesh(Mesh3D mesh)
           
 Mesh3D Mesh3D.clear()
          Clears all counters, and vertex & face buffers.
 Mesh3D Mesh3D.computeFaceNormals()
          Re-calculates all face normals.
 Mesh3D Mesh3D.computeVertexNormals()
          Computes the smooth vertex normals for the entire mesh.
 Mesh3D SurfaceMeshBuilder.createMesh(int res)
           
 Mesh3D SurfaceMeshBuilder.createMesh(Mesh3D mesh, int res, float size)
           
 Mesh3D SurfaceMeshBuilder.createMesh(Mesh3D mesh, int res, float size, boolean isClosed)
           
 Mesh3D Mesh3D.faceOutwards()
          Changes the vertex order of faces such that their normal is facing away from the mesh centroid.
 Mesh3D Mesh3D.flipVertexOrder()
          Flips the vertex ordering between clockwise and anti-clockwise.
 Mesh3D Mesh3D.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.
 Mesh3D VertexSelector.getMesh()
          Returns the associated mesh for this selector.
 Mesh3D Mesh3D.init(java.lang.String name, int numV, int numF)
           
 Mesh3D STLReader.loadBinary(java.io.InputStream stream, java.lang.String meshName, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given InputStream.
 Mesh3D STLReader.loadBinary(java.io.InputStream stream, java.lang.String meshName, int bufSize, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given InputStream.
 Mesh3D STLReader.loadBinary(java.lang.String fileName, java.lang.Class<? extends Mesh3D> meshClass)
           
 Mesh3D STLReader.loadBinary(java.lang.String fileName, int bufSize, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given file path.
 Mesh3D Mesh3D.setName(java.lang.String name)
           
 Mesh3D Terrain.toMesh()
           
 Mesh3D Terrain.toMesh(float groundLevel)
           
 Mesh3D BezierPatch.toMesh(int res)
           
 Mesh3D Terrain.toMesh(Mesh3D mesh)
          Creates a TriangleMesh instance of the terrain surface or adds its geometry to an existing mesh.
 Mesh3D Terrain.toMesh(Mesh3D mesh, float groundLevel)
          Creates a TriangleMesh instance of the terrain and constructs side panels and a bottom plane to form a fully enclosed mesh volume, e.g.
 Mesh3D BezierPatch.toMesh(Mesh3D mesh, int res)
           
 

Methods in toxi.geom.mesh with parameters of type Mesh3D
 WETriangleMesh WETriangleMesh.addMesh(Mesh3D m)
          Adds all faces from the given mesh to this one.
 TriangleMesh TriangleMesh.addMesh(Mesh3D m)
          Adds all faces from the given mesh to this one.
 Mesh3D Mesh3D.addMesh(Mesh3D mesh)
           
 Mesh3D SurfaceMeshBuilder.createMesh(Mesh3D mesh, int res, float size)
           
 Mesh3D SurfaceMeshBuilder.createMesh(Mesh3D mesh, int res, float size, boolean isClosed)
           
 void VertexSelector.setMesh(Mesh3D mesh)
          Assigns a new mesh instance to this selector and clears the current selection.
 Mesh3D Terrain.toMesh(Mesh3D mesh)
          Creates a TriangleMesh instance of the terrain surface or adds its geometry to an existing mesh.
 Mesh3D Terrain.toMesh(Mesh3D mesh, float groundLevel)
          Creates a TriangleMesh instance of the terrain and constructs side panels and a bottom plane to form a fully enclosed mesh volume, e.g.
 Mesh3D BezierPatch.toMesh(Mesh3D mesh, int res)
           
 

Method parameters in toxi.geom.mesh with type arguments of type Mesh3D
 Mesh3D STLReader.loadBinary(java.io.InputStream stream, java.lang.String meshName, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given InputStream.
 Mesh3D STLReader.loadBinary(java.io.InputStream stream, java.lang.String meshName, int bufSize, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given InputStream.
 Mesh3D STLReader.loadBinary(java.lang.String fileName, java.lang.Class<? extends Mesh3D> meshClass)
           
 Mesh3D STLReader.loadBinary(java.lang.String fileName, int bufSize, java.lang.Class<? extends Mesh3D> meshClass)
          Attempts to load an STL model from the given file path.
 

Constructors in toxi.geom.mesh with parameters of type Mesh3D
BoxSelector(Mesh3D mesh, AABB box)
           
DefaultSelector(Mesh3D mesh)
           
PlaneSelector(Mesh3D mesh, Plane plane, Plane.Classifier classifier)
           
PlaneSelector(Mesh3D mesh, Plane plane, Plane.Classifier classifier, float tolerance)
           
VertexSelector(Mesh3D mesh)
          Creates a new selector assigned to the given mesh