public class MeshInfo
extends java.lang.Object
Constructor and Description |
---|
MeshInfo() |
Modifier and Type | Method and Description |
---|---|
MeshInfo |
clone() |
MeshInfo |
copy() |
java.lang.String |
getFileName() |
AffineTransform3dBase |
getFileTransform()
Returns the file transform associated with the mesh.
|
MeshBase |
getMesh() |
int |
numVertices() |
void |
prerender(RenderProps props) |
void |
render(Renderer renderer,
RenderProps props,
boolean selected) |
void |
render(Renderer renderer,
RenderProps props,
boolean selected,
int flags) |
void |
render(Renderer renderer,
RenderProps props,
int flags) |
void |
scale(double sx,
double sy,
double sz) |
void |
scan(ReaderTokenizer rtok) |
void |
set(MeshBase mesh) |
void |
set(MeshBase mesh,
java.lang.String fileName,
AffineTransform3dBase X) |
void |
setFileName(java.lang.String filename) |
void |
transformGeometry(GeometryTransformer gtr,
GeometryTransformer.Constrainer constrainer) |
boolean |
transformGeometryAndPose(GeometryTransformer gtr,
GeometryTransformer.Constrainer constrainer) |
void |
transformGeometryOld(GeometryTransformer gtr) |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt) |
public java.lang.String getFileName()
public void setFileName(java.lang.String filename)
public MeshBase getMesh()
public AffineTransform3dBase getFileTransform()
setFileTransform(maspack.matrix.AffineTransform3dBase)
public void set(MeshBase mesh, java.lang.String fileName, AffineTransform3dBase X)
public void set(MeshBase mesh)
public int numVertices()
public void scale(double sx, double sy, double sz)
public void transformGeometryOld(GeometryTransformer gtr)
public void transformGeometry(GeometryTransformer gtr, GeometryTransformer.Constrainer constrainer)
public boolean transformGeometryAndPose(GeometryTransformer gtr, GeometryTransformer.Constrainer constrainer)
public void scan(ReaderTokenizer rtok) throws java.io.IOException
java.io.IOException
public void write(java.io.PrintWriter pw, NumberFormat fmt) throws java.io.IOException
java.io.IOException
public void prerender(RenderProps props)
public void render(Renderer renderer, RenderProps props, boolean selected)
public void render(Renderer renderer, RenderProps props, boolean selected, int flags)
public void render(Renderer renderer, RenderProps props, int flags)
public MeshInfo clone()
clone
in class java.lang.Object
public MeshInfo copy()