public interface Surface
Modifier and Type | Field and Description |
---|---|
static float[] |
DEFAULT_COLOR |
Modifier and Type | Method and Description |
---|---|
float[] |
getColor()
Returns the color components (one solid color) of this Surface.
|
FloatIterator |
getColorsIterator()
Returns a colors iterator.
|
String |
getDescription()
Returns a description of this Surface.
|
IndexIterator |
getIndiciesIterator()
Returns a triangles iterator.
|
String |
getName()
Returns the name of this Surface.
|
FloatIterator |
getNormalsIterator()
Returns a normals iterator.
|
int |
getNumPoints()
Returns the number of points in this Surface.
|
int |
getNumTriangles()
Returns the number of triangles in this Surface.
|
Overlay[] |
getOverlays()
Returns an array of Overlay objects associated with this Surface.
|
FloatIterator |
getPointsIterator()
Returns a points iterator.
|
float |
getThreshold()
Returns the threshold used to build this Surface.
|
boolean |
isBaseSurface()
True if this Surface is the base surface, false otherwise.
|
boolean |
isHidden()
Returns true if the surface is hidden.
|
boolean |
isUseTransform()
Returns whether the viewer transform is applied to the surface.
|
void |
setDescription(String description)
Sets the surface description.
|
void |
setHidden(boolean hidden)
Sets the surface visibility.
|
void |
setThreshold(float threshold)
Sets the surface threshold.
|
void |
setUseTransform(boolean useTransform)
Sets if the viewer transform is applied to the surface.
|
float[] getColor()
FloatIterator getColorsIterator()
String getDescription()
IndexIterator getIndiciesIterator()
String getName()
FloatIterator getNormalsIterator()
int getNumPoints()
int getNumTriangles()
Overlay[] getOverlays()
FloatIterator getPointsIterator()
float getThreshold()
boolean isBaseSurface()
boolean isHidden()
boolean isUseTransform()
void setDescription(String description)
description
- the descriptionvoid setHidden(boolean hidden)
hidden
- true to hide the surface, false to show itvoid setThreshold(float threshold)
threshold
- the thresholdvoid setUseTransform(boolean useTransform)
useTransform
- true to apply the viewer transform to the surface, false otherwise