|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.cs.cisst.vent.structures.processing.PTriangleMesh
public class PTriangleMesh
The Class PTriangleMesh.
Field Summary | |
---|---|
protected int[] |
indexes
The indexes. |
protected Vector3f[] |
norms
The norms. |
protected Point3f[] |
points
The points. |
Constructor Summary | |
---|---|
PTriangleMesh(Point3f[] points,
Vector3f[] norms,
int[] indexes)
Instantiates a new p triangle mesh. |
Method Summary | |
---|---|
void |
draw(PApplet applet,
boolean gouraud,
boolean flipNormals)
Draw. |
Vector3f[] |
getNormals()
Gets the normals. |
Point3f[] |
getPoints()
Gets the points. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Point3f[] points
protected Vector3f[] norms
protected int[] indexes
Constructor Detail |
---|
public PTriangleMesh(Point3f[] points, Vector3f[] norms, int[] indexes)
points
- the pointsnorms
- the normsindexes
- the indexesMethod Detail |
---|
public Vector3f[] getNormals()
public Point3f[] getPoints()
public void draw(PApplet applet, boolean gouraud, boolean flipNormals)
applet
- the appletgouraud
- the gouraudflipNormals
- the flip normals
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |