|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uthscsa.ric.visualization.ShapeData
public class ShapeData
ShapeData is a container for line and point data.
Constructor Summary | |
---|---|
ShapeData(Point3d[] points,
float[] color)
Construtor. |
Method Summary | |
---|---|
float[] |
getColor()
Returns a three float array of RGB values representing the surface color. |
protected int |
getNumBytes()
Returns number of bytes required to store this shape. |
Point3d[] |
getPoints()
Returns point array |
boolean |
isOnSurface()
Returns true if this shape is a point and intersects a surface. |
void |
setOnSurface(boolean bool)
Set if this shape is a point and intersects a surface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ShapeData(Point3d[] points, float[] color)
points
- if array length is one, this defines a pointcolor
- a three float array containing RGB valuesMethod Detail |
---|
public Point3d[] getPoints()
public float[] getColor()
protected int getNumBytes()
public void setOnSurface(boolean bool)
bool
- public boolean isOnSurface()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |