org.jzy3d.plot3d.rendering.view.annotation
Class CameraPathAnnotation
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.AbstractDrawable
-
- org.jzy3d.plot3d.primitives.AbstractWireframeable
-
- org.jzy3d.plot3d.primitives.LineStrip
-
- org.jzy3d.plot3d.rendering.view.annotation.CameraPathAnnotation
-
- All Implemented Interfaces:
- IGLRenderer, ISortableDraw
public class CameraPathAnnotation extends LineStrip
Record the camera position at regular interval and draws the path based on these point accumulation.
-
-
Constructor Summary
Constructors Constructor and Description CameraPathAnnotation(View view, Color color)
-
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.voidupdateCameraPath()-
Methods inherited from class org.jzy3d.plot3d.primitives.LineStrip
add, addAll, addAll, applyGeometryTransform, clear, drawLine, drawLineGL2, drawLineGLES2, drawPoints, drawPointsGL2, drawPointsGLES2, get, getDistance, getLastPoint, getLongestDistance, getPoints, getShortestDistance, isShowPoints, merge, setShowPoints, setWidth, size, toString, updateBounds
-
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractWireframeable
getFaceDisplayed, getWireframeColor, getWireframeDisplayed, getWireframeWidth, setFaceDisplayed, setWireframeColor, setWireframeDisplayed, setWireframeWidth
-
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 classLineStrip- Parameters:
gl- GL2 contextglu- GLU contextcam- a reference to a shooting Camera.
-
updateCameraPath
public void updateCameraPath()
-
-
DMelt 3.0 © DataMelt by jWork.ORG