org.jzy3d.plot3d.primitives.axes
Class AxeBase
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.axes.AxeBase
-
-
Constructor Summary
Constructors Constructor and Description AxeBase()Create a simple axe centered on (0,0,0), with a dimension of 1.AxeBase(BoundingBox3d box)Create a simple axe centered on (box.xmin, box.ymin, box.zmin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddispose()voiddraw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera camera)java.util.List<AxeAnnotation>getAnnotations()BoundingBox3dgetBoxBounds()Coord3dgetCenter()Get the minimum values of the bounding box for each dimension.IAxeLayoutgetLayout()Coord3dgetScale()SpaceTransformergetSpaceTransformer()voidsetAnnotations(java.util.List<AxeAnnotation> annotations)voidsetAxe(BoundingBox3d box)voidsetScale(Coord3d scale)Set the scaling factor that are applied on this object before GL2 commands.voidsetSpaceTransformer(SpaceTransformer spaceTransformer)
-
-
-
Constructor Detail
-
AxeBase
public AxeBase()
Create a simple axe centered on (0,0,0), with a dimension of 1.
-
AxeBase
public AxeBase(BoundingBox3d box)
Create a simple axe centered on (box.xmin, box.ymin, box.zmin)
-
-
Method Detail
-
setAxe
public void setAxe(BoundingBox3d box)
-
draw
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera camera)
-
setScale
public void setScale(Coord3d scale)
Set the scaling factor that are applied on this object before GL2 commands.
-
getBoxBounds
public BoundingBox3d getBoxBounds()
- Specified by:
getBoxBoundsin interfaceIAxe
-
getCenter
public Coord3d getCenter()
Get the minimum values of the bounding box for each dimension.
-
getLayout
public IAxeLayout getLayout()
-
getSpaceTransformer
public SpaceTransformer getSpaceTransformer()
- Specified by:
getSpaceTransformerin interfaceIAxe
-
setSpaceTransformer
public void setSpaceTransformer(SpaceTransformer spaceTransformer)
- Specified by:
setSpaceTransformerin interfaceIAxe
-
getAnnotations
public java.util.List<AxeAnnotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceIAxe
-
setAnnotations
public void setAnnotations(java.util.List<AxeAnnotation> annotations)
- Specified by:
setAnnotationsin interfaceIAxe
-
-
DMelt 3.0 © DataMelt by jWork.ORG