| Modifier and Type | Field and Description |
|---|---|
protected BoundingBox3d |
bbox |
protected IAxeLayout |
layout |
protected Coord3d |
scale |
protected SpaceTransformer |
spaceTransformer |
| 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)
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
draw(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera camera) |
List<AxeAnnotation> |
getAnnotations() |
BoundingBox3d |
getBoxBounds() |
Coord3d |
getCenter()
Get the minimum values of the bounding box for each dimension.
|
IAxeLayout |
getLayout() |
Coord3d |
getScale() |
SpaceTransformer |
getSpaceTransformer() |
void |
setAnnotations(List<AxeAnnotation> annotations) |
void |
setAxe(BoundingBox3d box) |
void |
setScale(Coord3d scale)
Set the scaling factor that are applied on this object before GL2
commands.
|
void |
setSpaceTransformer(SpaceTransformer spaceTransformer) |
protected Coord3d scale
protected BoundingBox3d bbox
protected IAxeLayout layout
protected SpaceTransformer spaceTransformer
public AxeBase()
public AxeBase(BoundingBox3d box)
public void setAxe(BoundingBox3d box)
public void draw(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera camera)
public void setScale(Coord3d scale)
public BoundingBox3d getBoxBounds()
getBoxBounds in interface IAxepublic Coord3d getCenter()
public IAxeLayout getLayout()
public SpaceTransformer getSpaceTransformer()
getSpaceTransformer in interface IAxepublic void setSpaceTransformer(SpaceTransformer spaceTransformer)
setSpaceTransformer in interface IAxepublic List<AxeAnnotation> getAnnotations()
getAnnotations in interface IAxepublic void setAnnotations(List<AxeAnnotation> annotations)
setAnnotations in interface IAxeCopyright © 2016. All rights reserved.