public class ImageShell extends Figure
Modifier and Type | Field | Description |
---|---|---|
static int |
DRAW_EVERY_BOX |
|
static int |
DRAW_INNER_BOX |
|
static int |
DRAW_LARGE_BOX |
Constructor | Description |
---|---|
ImageShell(G3DSys g) |
Modifier and Type | Method | Description |
---|---|---|
void |
cycleDrawBoundaryType() |
Cycles to the next boundary drawing style
|
void |
draw() |
All Figures know how to draw themselves via override.
|
double[] |
getBoundaryVectors() |
|
IndexIterator |
getBoundaryVectorsIterator() |
|
float |
getD() |
|
int |
getDrawBoundaryType() |
Gets the boundary drawing style
|
int |
getLayers() |
Gets the number of image shell layers
|
void |
setBoundaryVectors(double[] values) |
|
void |
setBoundaryVectorsIterator(IndexIterator i) |
|
void |
setDrawable(boolean b) |
|
void |
setDrawBoundaryType(int b) |
Sets the boundary drawing style
|
void |
setLayers(int l) |
Sets the number of image shell layers to use
|
void |
setWireFrame(boolean wireframe) |
|
void |
updateDrawType() |
Updates line-drawing status depending on whether images are
on and the current draw boundary type.
|
public static final int DRAW_EVERY_BOX
public static final int DRAW_LARGE_BOX
public static final int DRAW_INNER_BOX
public ImageShell(G3DSys g)
public void setLayers(int l)
l
- the number of image shell layerspublic int getLayers()
public void setDrawBoundaryType(int b)
b
- the boundary drawing style to usepublic void updateDrawType()
public int getDrawBoundaryType()
public void cycleDrawBoundaryType()
public void draw()
Figure
public float getD()
public void setDrawable(boolean b)
setDrawable
in class Figure
public void setWireFrame(boolean wireframe)
public void setBoundaryVectors(double[] values)
public double[] getBoundaryVectors()
public void setBoundaryVectorsIterator(IndexIterator i)
public IndexIterator getBoundaryVectorsIterator()