org.jzy3d.plot3d.rendering.view.annotation
Class CameraDistanceAnnotation
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.AbstractDrawable
-
- org.jzy3d.plot3d.primitives.Point
-
- org.jzy3d.plot3d.rendering.view.annotation.CameraDistanceAnnotation
-
- All Implemented Interfaces:
- ISingleColorable, IGLRenderer, ISortableDraw
public class CameraDistanceAnnotation extends Point
Draws all point distance to camera eye. The camera is represented as a red point.
-
-
Constructor Summary
Constructors Constructor and Description CameraDistanceAnnotation(View view, Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcomputeCameraPosition()voiddoDrawCamera(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)voiddraw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)Call OpenGL2 routines for rendering the object.-
Methods inherited from class org.jzy3d.plot3d.primitives.Point
applyGeometryTransform, clone, getColor, getCoord, getDistance, getLongestDistance, getShortestDistance, setColor, setCoord, setData, setWidth, toString, updateBounds
-
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
-
-
-
-
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.
-
computeCameraPosition
public void computeCameraPosition()
-
doDrawCamera
public void doDrawCamera(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
-
-
DMelt 3.0 © DataMelt by jWork.ORG