|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.opengl.tesselation.Tesselator
public class Tesselator
The Tesselator
class is a GLUtessellator
utility wrapper. Its main purpose is the creation of a
RenderableQualityModel
out of a GeometryQualityModel
by triangulating (tesselating) all it's
SimpleAccessGeometry
.
Constructor Summary | |
---|---|
Tesselator(boolean useDirectBuffers)
Create a tesselator which triangulates all SimpleAccessGeometry of a GeometryQualityModel . |
Method Summary | |
---|---|
RenderableQualityModel |
createRenderableQM(String objectID,
GeometryQualityModel originalObject)
Create a renderable quality model from the given 'original' geometry model, by tesselating (triangulating) its polygons. |
RenderableGeometry |
tesselateGeometry(SimpleAccessGeometry originalGeometry)
Create a renderable geometry from the given SimpleAccessGeometry by tesselating it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tesselator(boolean useDirectBuffers)
SimpleAccessGeometry
of a GeometryQualityModel
.
useDirectBuffers
- to use direct buffers instead of heap buffers.Method Detail |
---|
public RenderableQualityModel createRenderableQM(String objectID, GeometryQualityModel originalObject)
objectID
- identifying the given quality model, if an error occurs. May be null
originalObject
- containing polygons
public final RenderableGeometry tesselateGeometry(SimpleAccessGeometry originalGeometry)
SimpleAccessGeometry
by tesselating it.
originalGeometry
- may not be null.
RenderableGeometry
or null
if the given geometry could not be triangulated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |