public class CameraDistanceAnnotation extends Point
Modifier and Type | Field and Description |
---|---|
protected ITextRenderer |
txt |
protected View |
view |
bbox, boundingBoxColor, boundingBoxDisplayed, displayed, hasListeners, legend, legendDisplayed, listeners, spaceTransformer, transform, transformBefore
Constructor and Description |
---|
CameraDistanceAnnotation(View view,
Color color) |
Modifier and Type | Method and Description |
---|---|
void |
computeCameraPosition() |
void |
doDrawCamera(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam) |
void |
draw(com.jogamp.opengl.GL gl,
com.jogamp.opengl.glu.GLU glu,
Camera cam)
Call OpenGL2 routines for rendering the object.
|
applyGeometryTransform, clone, getColor, getCoord, getDistance, getLongestDistance, getShortestDistance, setColor, setCoord, setData, setWidth, toString, updateBounds
addDrawableListener, call, call, callWithAlphaFactor, colorGL2, colorGLES2, dispose, doDrawBounds, doTransform, fireDrawableChanged, fireDrawableChanged, getBarycentre, getBoundingBoxColor, getBounds, getLegend, getSpaceTransformer, getTransform, getTransformBefore, hasLegend, isBoundingBoxDisplayed, isDisplayed, isLegendDisplayed, negative, removeDrawableListener, setBoundingBoxColor, setBoundingBoxDisplayed, setDisplayed, setLegend, setLegendDisplayed, setSpaceTransformer, setTransform, setTransformBefore, toString, vertexGL2, vertexGLES2
protected View view
protected ITextRenderer txt
public void draw(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
AbstractDrawable
draw
in interface IGLRenderer
draw
in class Point
gl
- GL2 contextglu
- GLU contextcam
- a reference to a shooting Camera.public void computeCameraPosition()
public void doDrawCamera(com.jogamp.opengl.GL gl, com.jogamp.opengl.glu.GLU glu, Camera cam)
Copyright © 2016. All rights reserved.