commandline.dataToImage
Class MatlabColoredTrimeshWriter
java.lang.Object
commandline.dataToImage.MatlabColoredTrimeshWriter
public class MatlabColoredTrimeshWriter
- extends java.lang.Object
|
Method Summary |
void |
closeWriter()
|
void |
drawTriangle(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float[] color)
|
void |
drawTriangle(Triangle t,
float[] color)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONVEX
public static float[] CONVEX
SUBDIV
public static float[] SUBDIV
NOT_CONVEX
public static float[] NOT_CONVEX
MatlabColoredTrimeshWriter
public MatlabColoredTrimeshWriter(java.io.File f)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
drawTriangle
public void drawTriangle(Triangle t,
float[] color)
drawTriangle
public void drawTriangle(float x1,
float y1,
float z1,
float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float[] color)
closeWriter
public void closeWriter()