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 BoundingBox3dprotected floatprotected AxisLayoutprotected org.jzy3d.plot3d.primitives.axis.AxisBase.AxePassThroughprotected Coord3dprotected SpaceTransformerprotected ITextRendererprotected 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 TypeMethodDescriptionvoiddispose()voidGet the minimum values of the bounding box for each dimension.getScale()voidsetAnnotations(List<AxeAnnotation> annotations) voidsetAxe(BoundingBox3d box) voidSet the scaling factor that are applied on this object before GL2 commands.voidsetSpaceTransformer(SpaceTransformer spaceTransformer) voidsetTextRenderer(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:
getSpaceTransformerin interfaceIAxis
-
setSpaceTransformer
- Specified by:
setSpaceTransformerin interfaceIAxis
-
getScale
-
getAnnotations
- Specified by:
getAnnotationsin interfaceIAxis
-
setAnnotations
- Specified by:
setAnnotationsin interfaceIAxis
-
getWholeBounds
- Specified by:
getWholeBoundsin interfaceIAxis
-
getTextRenderer
- Specified by:
getTextRendererin interfaceIAxis
-
setTextRenderer
- Specified by:
setTextRendererin interfaceIAxis
-