public class SimplePolygon extends Polygon implements ISingleColorable, IMultiColorable
SimplePolygon
makes the simplest possible GL rendering with
especially no:
AbstractGeometry.PolygonMode
center, color, mapper, points, polygonMode, polygonOffsetFillEnable
facestatus, wfcolor, wfstatus, wfwidth
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
SimplePolygon() |
Modifier and Type | Method and Description |
---|---|
void |
draw(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam)
Call OpenGL2 routines for rendering the object.
|
add, add, applyGeometryTransform, applyPolygonModeFill, applyPolygonModeFillGL2, applyPolygonModeFillGLES2, applyPolygonModeLine, applyPolygonModeLineGL2, applyPolygonModeLineGLES2, callPointForWireframe, callPointsForFace, callPointsForFaceGL2, callPointsForFaceGLES2, callPointsForFaceGLES2, callPointsForWireframeGL2, end, get, getBarycentre, getColor, getColorMapper, getDistance, getLongestDistance, getPoints, getPolygonMode, getShortestDistance, isPolygonOffsetFillEnable, polygonOffseFillEnable, polygonOffsetFillDisable, setColor, setColorMapper, setPolygonMode, setPolygonOffsetFillEnable, setPolygonOffsetFillEnable, size, toString, updateBounds
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth, setFaceDisplayed, setWireframeColor, setWireframeDisplayed, setWireframeWidth
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBoundingBoxColor, getBounds, getLegend, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, vertexGL2, vertexGLES2
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getColor, setColor
getColorMapper, setColorMapper
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
AbstractDrawable
draw
in interface IGLRenderer
draw
in class AbstractGeometry
gl
- GL2 contextglu
- GLU contextcam
- a reference to a shooting Camera.Copyright © 2016. All rights reserved.