|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- subtype of Renderable
designed for visualization
with this targetpublic interface Target<R extends Renderable>
Method Summary | |
---|---|
void |
beginObject(WorldObject object)
announces the begin of the draw* calls for a WorldObject . |
void |
drawBox(Material material,
VectorXYZ frontLowerLeft,
VectorXYZ rightVector,
VectorXYZ upVector,
VectorXYZ backVector)
draws a box with outward-facing polygons |
void |
drawColumn(Material material,
Integer corners,
VectorXYZ base,
double height,
double radiusBottom,
double radiusTop,
boolean drawBottom,
boolean drawTop)
draws a column with outward-facing polygons around a point. |
void |
drawPolygon(Material material,
VectorXYZ... vs)
|
void |
drawTriangleFan(Material material,
List<? extends VectorXYZ> vs)
|
void |
drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles)
|
void |
drawTriangleStrip(Material material,
List<? extends VectorXYZ> vs)
|
void |
drawTriangleStrip(Material material,
VectorXYZ... vs)
|
void |
drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles)
|
Class<R> |
getRenderableType()
returns the renderable type designed for this target |
void |
render(R renderable)
renders a renderable object to this target. |
Method Detail |
---|
Class<R> getRenderableType()
void render(R renderable)
void beginObject(WorldObject object)
WorldObject
.
This allows targets to group them, if desired.
Otherwise, this can be ignored.
void drawTriangles(Material material, Collection<? extends TriangleXYZ> triangles)
void drawTrianglesWithNormals(Material material, Collection<? extends TriangleXYZWithNormals> triangles)
void drawTriangleStrip(Material material, VectorXYZ... vs)
void drawTriangleStrip(Material material, List<? extends VectorXYZ> vs)
void drawTriangleFan(Material material, List<? extends VectorXYZ> vs)
void drawPolygon(Material material, VectorXYZ... vs)
void drawBox(Material material, VectorXYZ frontLowerLeft, VectorXYZ rightVector, VectorXYZ upVector, VectorXYZ backVector)
void drawColumn(Material material, Integer corners, VectorXYZ base, double height, double radiusBottom, double radiusTop, boolean drawBottom, boolean drawTop)
corners
- number of corners; null creates a cylinder
for radiusBottom == radiusTop or (truncated) cone otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |