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
-
-
Constructor Summary
Constructors Constructor and Description TexturedCube(Coord3d position, Color color, Color bgcolor, MaskPair masks)TexturedCube(Coord3d position, MaskPair masks)TexturedCube(MaskPair masks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description BoundingBox3dgetBounds()Creates and return a BoundingBox3d that embed all available Drawable bounds.Polygon2dgetHull2d()java.util.List<Coord3d>getLastProjection()voidproject(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)voidsetAlphaFactor(float a)-
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.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, dispose, doTransform, getBarycentre, getBoundingBoxColor, getDistance, getLegend, getLongestDistance, getShortestDistance, getSpaceTransformer, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer
-
-
-
-
Constructor Detail
-
TexturedCube
public TexturedCube(MaskPair masks)
-
-
Method Detail
-
getBounds
public BoundingBox3d getBounds()
Description copied from class:AbstractCompositeCreates and return a BoundingBox3d that embed all available Drawable bounds.- Overrides:
getBoundsin classAbstractComposite- Returns:
- a bounding box
-
project
public void project(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)- Specified by:
projectin interfaceSelectable
-
getHull2d
public Polygon2d getHull2d()
- Specified by:
getHull2din interfaceSelectable
-
getLastProjection
public java.util.List<Coord3d> getLastProjection()
- Specified by:
getLastProjectionin interfaceSelectable
-
setAlphaFactor
public void setAlphaFactor(float a)
- Specified by:
setAlphaFactorin interfaceITranslucent
-
-
DMelt 3.0 © DataMelt by jWork.ORG