org.jzy3d.plot3d.primitives.log
Class AxeTransformablePoint
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.AbstractDrawable
-
- org.jzy3d.plot3d.primitives.Point
-
- org.jzy3d.plot3d.primitives.log.AxeTransformablePoint
-
- All Implemented Interfaces:
- ISingleColorable, IGLRenderer, ISortableDraw
public class AxeTransformablePoint extends Point
-
-
Constructor Summary
Constructors Constructor and Description AxeTransformablePoint(Coord3d xyz, Color rgb, float width, SpaceTransformer transformers)AxeTransformablePoint(Coord3d xyz, Color rgb, SpaceTransformer transformers)Intialize a point with a width of 1.AxeTransformablePoint(Coord3d xyz, SpaceTransformer transformers)Intialize a point with a white color and a width of 1.AxeTransformablePoint(SpaceTransformer transformers)Intialize a point at the origin, with a white color and a width of 1.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)Call OpenGL2 routines for rendering the object.voidupdateBounds()-
Methods inherited from class org.jzy3d.plot3d.primitives.Point
applyGeometryTransform, clone, getColor, getCoord, getDistance, getLongestDistance, getShortestDistance, setColor, setCoord, setData, setWidth, toString
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable
addDrawableListener, dispose, doTransform, getBarycentre, getBoundingBoxColor, getBounds, getLegend, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString
-
-
-
-
Constructor Detail
-
AxeTransformablePoint
public AxeTransformablePoint(SpaceTransformer transformers)
Intialize a point at the origin, with a white color and a width of 1.
-
AxeTransformablePoint
public AxeTransformablePoint(Coord3d xyz, SpaceTransformer transformers)
Intialize a point with a white color and a width of 1.
-
AxeTransformablePoint
public AxeTransformablePoint(Coord3d xyz, Color rgb, SpaceTransformer transformers)
Intialize a point with a width of 1.
-
AxeTransformablePoint
public AxeTransformablePoint(Coord3d xyz, Color rgb, float width, SpaceTransformer transformers)
-
-
Method Detail
-
draw
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)Description copied from class:AbstractDrawableCall OpenGL2 routines for rendering the object.- Specified by:
drawin interfaceIGLRenderer- Overrides:
drawin classPoint- Parameters:
gl- GL2 contextglu- GLU contextcam- a reference to a shooting Camera.
-
updateBounds
public void updateBounds()
- Overrides:
updateBoundsin classPoint
-
-
DMelt 3.0 © DataMelt by jWork.ORG