public class TexturedCylinder extends AbstractComposite implements Selectable, ITranslucent
Modifier and Type | Field and Description |
---|---|
protected float |
alpha |
protected AbstractDrawable |
dArrowDown |
protected AbstractDrawable |
dArrowUp |
protected AbstractDrawable |
dDiskDown |
protected AbstractDrawable |
dDiskUp |
protected Polygon2d |
lastHull |
protected List<Coord3d> |
lastProjection |
protected List<TranslucentQuad> |
quads |
color, components, detailedToString, mapper, transform
facestatus, wfcolor, wfstatus, wfwidth
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transformBefore
Constructor and Description |
---|
TexturedCylinder(Coord3d position,
Color color,
Color bgcolor,
MaskPair masks) |
TexturedCylinder(Coord3d position,
MaskPair masks) |
TexturedCylinder(MaskPair masks) |
Modifier and Type | Method and Description |
---|---|
BoundingBox3d |
getBounds()
Creates and return a BoundingBox3d that embed all available Drawable bounds.
|
Polygon2d |
getHull2d() |
List<Coord3d> |
getLastProjection() |
void |
project(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam) |
void |
setAlphaFactor(float a) |
add, add, applyGeometryTransform, clear, draw, get, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setTransformBefore, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString, updateBounds
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, vertexGL2, vertexGLES2
protected AbstractDrawable dArrowUp
protected AbstractDrawable dArrowDown
protected AbstractDrawable dDiskUp
protected AbstractDrawable dDiskDown
protected List<TranslucentQuad> quads
protected Polygon2d lastHull
protected float alpha
public TexturedCylinder(MaskPair masks)
public void setAlphaFactor(float a)
setAlphaFactor
in interface ITranslucent
public BoundingBox3d getBounds()
AbstractComposite
getBounds
in class AbstractComposite
public void project(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
project
in interface Selectable
public Polygon2d getHull2d()
getHull2d
in interface Selectable
public List<Coord3d> getLastProjection()
getLastProjection
in interface Selectable
Copyright © 2016. All rights reserved.