|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.primitives.axes.AxeBox
public class AxeBox
The AxeBox
displays a box with invisible front faces and ticks labels.
Constructor Summary | |
---|---|
AxeBox(BoundingBox3d bbox)
|
|
AxeBox(BoundingBox3d bbox,
IAxeLayout layout)
|
Method Summary | |
---|---|
void |
dispose()
|
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera camera)
Draws the AxeBox. |
BoundingBox3d |
getBoxBounds()
|
Coord3d |
getCenter()
|
IAxeLayout |
getLayout()
|
TextRenderer |
getTextRenderer()
|
View |
getView()
|
BoundingBox3d |
getWholeBounds()
Return the boundingBox of this axis, including the volume occupied by the texts. |
void |
setAxe(BoundingBox3d bbox)
|
void |
setScale(Coord3d scale)
Set the scaling factor that are applyed on this object before GL commands. |
void |
setTextRenderer(ICanvas canvas)
Initialize a text renderer that will reference the target canvas for getting its dimensions (in order to convert coordinates from OpenGL to Java2d). |
void |
setView(View view)
When setting a current view, the AxeBox can know the view is on mode CameraMode.TOP, and optimize some axis placement. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AxeBox(BoundingBox3d bbox)
public AxeBox(BoundingBox3d bbox, IAxeLayout layout)
Method Detail |
---|
public void dispose()
dispose
in interface IAxe
public TextRenderer getTextRenderer()
public void setTextRenderer(ICanvas canvas)
canvas
- public View getView()
public void setView(View view)
public void setAxe(BoundingBox3d bbox)
setAxe
in interface IAxe
public BoundingBox3d getBoxBounds()
getBoxBounds
in interface IAxe
public IAxeLayout getLayout()
getLayout
in interface IAxe
public BoundingBox3d getWholeBounds()
draw()
before, which computes actual ticks position in 3d,
and updates the bounds.
public Coord3d getCenter()
getCenter
in interface IAxe
public void setScale(Coord3d scale)
setScale
in interface IAxe
public void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, Camera camera)
draw
in interface IAxe
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |