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, IInteractive, ISortableDraw, IWireframeable, ITranslucent
public class TexturedCube
- extends AbstractComposite
- implements IInteractive, ITranslucent
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractComposite |
add, add, canBeSplitted, clear, draw, get, getColor, getColorMapper, getDrawables, getTransform, isDetailedToString, remove, setColor, setColorMapper, setDetailedToString, setDisplayed, setFaceDisplayed, setTransform, setWireframeColor, setWireframeDisplayed, setWireframeWidth, size, toString, toString |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
addDrawableListener, dispose, getBarycentre, getDistance, getFace, getLongestDistance, getShortestDistance, hasFace, isDisplayed, isFace2dDisplayed, removeDrawableListener, setLegend, setLegendDisplayed |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 IInteractive
getHull2d
public java.awt.Polygon getHull2d()
- Specified by:
getHull2d
in interface IInteractive
getLastProjection
public java.util.List<Coord3d> getLastProjection()
- Specified by:
getLastProjection
in interface IInteractive
setAlphaFactor
public void setAlphaFactor(float a)
- Specified by:
setAlphaFactor
in interface ITranslucent