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, transform
facestatus, wfcolor, wfstatus, wfwidth
bbox, 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, 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 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()
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
public void setAlphaFactor(float a)
setAlphaFactor
in interface ITranslucent
Copyright © 2016. All rights reserved.