org.jzy3d.plot3d.primitives.textured
Class TexturedCube
java.lang.Object
org.jzy3d.plot3d.primitives.AbstractDrawable
org.jzy3d.plot3d.primitives.AbstractWireframeable
org.jzy3d.plot3d.primitives.AbstractComposite
org.jzy3d.plot3d.primitives.textured.TexturedCube
- All Implemented Interfaces:
- IMultiColorable, ISingleColorable, IGLRenderer, ISortableDraw, Selectable, ITranslucent
public class TexturedCube
- extends AbstractComposite
- implements Selectable, ITranslucent
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractComposite |
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 |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
addDrawableListener, call, call, callWithAlphaFactor, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed |
north
protected AbstractDrawable north
south
protected AbstractDrawable south
west
protected AbstractDrawable west
east
protected AbstractDrawable east
near
protected AbstractDrawable near
far
protected AbstractDrawable far
northBg
protected AbstractDrawable northBg
southBg
protected AbstractDrawable southBg
westBg
protected AbstractDrawable westBg
eastBg
protected AbstractDrawable eastBg
nearBg
protected AbstractDrawable nearBg
farBg
protected AbstractDrawable farBg
lastProjection
protected List<Coord3d> lastProjection
lastHull
protected Polygon2d lastHull
alpha
protected float alpha
TexturedCube
public TexturedCube(MaskPair masks)
TexturedCube
public TexturedCube(Coord3d position,
MaskPair masks)
TexturedCube
public TexturedCube(Coord3d position,
Color color,
Color bgcolor,
MaskPair masks)
getBounds
public BoundingBox3d getBounds()
- Description copied from class:
AbstractComposite
- Creates and return a BoundingBox3d that embed all available Drawable bounds.
- Overrides:
getBounds
in class AbstractComposite
- Returns:
- a bounding box
project
public void project(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
- Specified by:
project
in interface Selectable
getHull2d
public Polygon2d getHull2d()
- Specified by:
getHull2d
in interface Selectable
getLastProjection
public List<Coord3d> getLastProjection()
- Specified by:
getLastProjection
in interface Selectable
setAlphaFactor
public void setAlphaFactor(float a)
- Specified by:
setAlphaFactor
in interface ITranslucent
Copyright © 2013. All rights reserved.