|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jzy3d.plot3d.primitives.axes.AxeBase
public class AxeBase
An AxeBase provide a simple 3-segment object which is configured by a BoundingBox.
Field Summary | |
---|---|
protected BoundingBox3d |
bbox
|
protected IAxeLayout |
layout
|
protected Coord3d |
scale
|
Constructor Summary | |
---|---|
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 | |
---|---|
void |
dispose()
|
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera camera)
|
BoundingBox3d |
getBoxBounds()
|
Coord3d |
getCenter()
Get the minimum values of the bounding box for each dimension. |
IAxeLayout |
getLayout()
|
void |
setAxe(BoundingBox3d box)
|
void |
setScale(Coord3d scale)
Set the scaling factor that are applied on this object before GL2 commands. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Coord3d scale
protected BoundingBox3d bbox
protected IAxeLayout layout
Constructor Detail |
---|
public AxeBase()
public AxeBase(BoundingBox3d box)
Method Detail |
---|
public void dispose()
dispose
in interface IAxe
public void setAxe(BoundingBox3d box)
setAxe
in interface IAxe
public void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera camera)
draw
in interface IAxe
public void setScale(Coord3d scale)
setScale
in interface IAxe
public BoundingBox3d getBoxBounds()
getBoxBounds
in interface IAxe
public Coord3d getCenter()
getCenter
in interface IAxe
public IAxeLayout getLayout()
getLayout
in interface IAxe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |