org.osm2world.core.target
Interface Target
- All Known Implementing Classes:
- AbstractTarget, JOGLTarget, POVRayTarget, PrimitiveBuffer, PrimitiveTarget
public interface Target
Method Summary |
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<TriangleXYZ> triangles)
|
void |
drawTriangleStrip(Material material,
List<? extends VectorXYZ> vs)
|
void |
drawTriangleStrip(Material material,
VectorXYZ... vs)
|
void |
drawTrianglesWithNormals(Material material,
Collection<TriangleXYZWithNormals> triangles)
|
drawTriangles
void drawTriangles(Material material,
Collection<TriangleXYZ> triangles)
drawTrianglesWithNormals
void drawTrianglesWithNormals(Material material,
Collection<TriangleXYZWithNormals> triangles)
drawTriangleStrip
void drawTriangleStrip(Material material,
VectorXYZ... vs)
drawTriangleStrip
void drawTriangleStrip(Material material,
List<? extends VectorXYZ> vs)
drawTriangleFan
void drawTriangleFan(Material material,
List<? extends VectorXYZ> vs)
drawPolygon
void drawPolygon(Material material,
VectorXYZ... vs)
drawBox
void drawBox(Material material,
VectorXYZ frontLowerLeft,
VectorXYZ rightVector,
VectorXYZ upVector,
VectorXYZ backVector)
- draws a box with outward-facing polygons
drawColumn
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.
A column is a polygon with > 3 corners extruded upwards.
The implementation may decide to reduce the number of corners
in order to improve performance (or make rendering possible
when a perfect cylinder isn't supported).
- Parameters:
corners
- number of corners; null creates a cylinder
for radiusBottom == radiusTop or (truncated) cone otherwise