public class TranslucentQuad extends Quad implements ITranslucent
AbstractGeometry.PolygonMode
Modifier and Type | Field and Description |
---|---|
protected float |
alpha |
center, color, mapper, points, polygonMode, polygonOffsetFillEnable
facestatus, wfcolor, wfstatus, wfwidth
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
TranslucentQuad() |
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.
|
void |
setAlphaFactor(float a) |
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, 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
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.public void setAlphaFactor(float a)
setAlphaFactor
in interface ITranslucent
Copyright © 2016. All rights reserved.