public class TexturedCube extends AbstractComposite implements Selectable, ITranslucent
| Modifier and Type | Field and Description |
|---|---|
protected float |
alpha |
protected AbstractDrawable |
east |
protected AbstractDrawable |
eastBg |
protected AbstractDrawable |
far |
protected AbstractDrawable |
farBg |
protected Polygon2d |
lastHull |
protected List<Coord3d> |
lastProjection |
protected AbstractDrawable |
near |
protected AbstractDrawable |
nearBg |
protected AbstractDrawable |
north |
protected AbstractDrawable |
northBg |
protected AbstractDrawable |
south |
protected AbstractDrawable |
southBg |
protected AbstractDrawable |
west |
protected AbstractDrawable |
westBg |
color, components, detailedToString, mapper, transformfacestatus, wfcolor, wfstatus, wfwidthbbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transformBefore| Constructor and Description |
|---|
TexturedCube(Coord3d position,
Color color,
Color bgcolor,
MaskPair masks) |
TexturedCube(Coord3d position,
MaskPair masks) |
TexturedCube(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, updateBoundsgetFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidthaddDrawableListener, 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, vertexGLES2protected AbstractDrawable north
protected AbstractDrawable south
protected AbstractDrawable west
protected AbstractDrawable east
protected AbstractDrawable near
protected AbstractDrawable far
protected AbstractDrawable northBg
protected AbstractDrawable southBg
protected AbstractDrawable westBg
protected AbstractDrawable eastBg
protected AbstractDrawable nearBg
protected AbstractDrawable farBg
protected Polygon2d lastHull
protected float alpha
public TexturedCube(MaskPair masks)
public BoundingBox3d getBounds()
AbstractCompositegetBounds in class AbstractCompositepublic void project(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam)
project in interface Selectablepublic Polygon2d getHull2d()
getHull2d in interface Selectablepublic List<Coord3d> getLastProjection()
getLastProjection in interface Selectablepublic void setAlphaFactor(float a)
setAlphaFactor in interface ITranslucentCopyright © 2016. All rights reserved.