Package org.jzy3d.plot3d.primitives.axis
Class AxisBase
java.lang.Object
org.jzy3d.plot3d.primitives.axis.AxisBase
- All Implemented Interfaces:
IAxis
An AxeBase provide a simple 3-segment object which is configured by a BoundingBox.
- Author:
- Martin Pernollet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BoundingBox3d
protected float
protected AxisLayout
protected org.jzy3d.plot3d.primitives.axis.AxisBase.AxePassThrough
protected Coord3d
protected SpaceTransformer
protected ITextRenderer
protected float
-
Constructor Summary
ConstructorsConstructorDescriptionAxisBase()
Create a simple axe centered on (0,0,0), with a dimension of 1.AxisBase
(BoundingBox3d box) Create a simple axe centered on (box.xmin, box.ymin, box.zmin)AxisBase
(BoundingBox3d box, AxisLayout layout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
Get the minimum values of the bounding box for each dimension.getScale()
void
setAnnotations
(List<AxeAnnotation> annotations) void
setAxe
(BoundingBox3d box) void
Set the scaling factor that are applied on this object before GL2 commands.void
setSpaceTransformer
(SpaceTransformer spaceTransformer) void
setTextRenderer
(ITextRenderer renderer)
-
Field Details
-
scale
-
boundingBox
-
layout
-
spaceTransformer
-
textRenderer
-
exceedFactor
protected float exceedFactor -
textShiftFactor
protected float textShiftFactor -
passThrough
protected org.jzy3d.plot3d.primitives.axis.AxisBase.AxePassThrough passThrough
-
-
Constructor Details
-
AxisBase
public AxisBase()Create a simple axe centered on (0,0,0), with a dimension of 1. -
AxisBase
Create a simple axe centered on (box.xmin, box.ymin, box.zmin) -
AxisBase
-
-
Method Details
-
dispose
public void dispose() -
setAxe
-
draw
-
setScale
Set the scaling factor that are applied on this object before GL2 commands. -
getBounds
-
getCenter
Get the minimum values of the bounding box for each dimension. -
getLayout
-
getSpaceTransformer
- Specified by:
getSpaceTransformer
in interfaceIAxis
-
setSpaceTransformer
- Specified by:
setSpaceTransformer
in interfaceIAxis
-
getScale
-
getAnnotations
- Specified by:
getAnnotations
in interfaceIAxis
-
setAnnotations
- Specified by:
setAnnotations
in interfaceIAxis
-
getWholeBounds
- Specified by:
getWholeBounds
in interfaceIAxis
-
getTextRenderer
- Specified by:
getTextRenderer
in interfaceIAxis
-
setTextRenderer
- Specified by:
setTextRenderer
in interfaceIAxis
-