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.
- Author:
- Martin
Method Summary |
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
Call OpenGL2 routines for rendering the object. |
void |
updateCameraPath()
|
Methods inherited from class org.jzy3d.plot3d.primitives.LineStrip |
add, addAll, addAll, applyGeometryTransform, drawLine, drawPoints, get, getDistance, getLongestDistance, getPoints, getShortestDistance, isShowPoints, merge, setShowPoints, setWidth, size, toString, updateBounds |
Methods inherited from class org.jzy3d.plot3d.primitives.AbstractDrawable |
addDrawableListener, call, call, callWithAlphaFactor, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getLegend, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setTransform, setTransformBefore, toString |
view
protected View view
timer
protected TicToc timer
CameraPathAnnotation
public CameraPathAnnotation(View view,
Color color)
draw
public void draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
Camera cam)
- Description copied from class:
AbstractDrawable
- Call OpenGL2 routines for rendering the object.
- Specified by:
draw
in interface IGLRenderer
- Overrides:
draw
in class LineStrip
- Parameters:
gl
- GL2 contextglu
- GLU contextcam
- a reference to a shooting Camera.
updateCameraPath
public void updateCameraPath()
Copyright © 2013. All rights reserved.