ROOT » GRAF3D » GL » TGLCameraOverlay

class TGLCameraOverlay: public TGLOverlayElement

 A GL overlay element which displays camera furstum.

Function Members (Methods)

Data Members

protected:
TAxis*fAxis
Float_tfAxisExtend
TGLAxisPainter*fAxisPainter
TGLPlanefExternalRefPlane
Double_tfFrustum[4]
TGLCameraOverlay::EModefOrthographicMode
TGLCameraOverlay::EModefPerspectiveMode
TGLOverlayElement::ERoleTGLOverlayElement::fRole
Bool_tfShowOrthographic
Bool_tfShowPerspective
TGLOverlayElement::EStateTGLOverlayElement::fState
Bool_tfUseAxisColors
Bool_tfUseExternalRefPlane

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLCameraOverlay(Bool_t showOrtho = kTRUE, Bool_t showPersp = kFALSE)
 Constructor.
~TGLCameraOverlay()
 Destructor.
TAttAxis* GetAttAxis()
 Get axis attributes.
void SetFrustum(TGLCamera& cam)
 Set frustum values from given camera.
void RenderPlaneIntersect(TGLRnrCtx& rnrCtx)
 Draw cross section coordinates in top right corner of screen.
void RenderAxis(TGLRnrCtx& rnrCtx, Bool_t drawGrid)
 Draw axis on four edges and a transparent grid.
void RenderBar(TGLRnrCtx& rnrCtx)
 Show frustum size with fixed screen line length and printed value.
void Render(TGLRnrCtx& rnrCtx)
 Display coodinates info of current frustum.
TGLCameraOverlay(const TGLCameraOverlay& )
TGLCameraOverlay& operator=(const TGLCameraOverlay& )
void RenderGrid(TGLRnrCtx& rnrCtx)
TGLPlane& RefExternalRefPlane()
{ return fExternalRefPlane; }
void UseExternalRefPlane(Bool_t x)
Bool_t GetUseExternalRefPlane() const
Int_t GetPerspectiveMode() const
{ return fPerspectiveMode;}
void SetPerspectiveMode(TGLCameraOverlay::EMode m)
Int_t GetOrthographicMode() const
void SetOrthographicMode(TGLCameraOverlay::EMode m)
Bool_t GetShowOrthographic() const
{ return fShowOrthographic; }
void SetShowOrthographic(Bool_t x)
Bool_t GetShowPerspective() const
{ return fShowPerspective; }
void SetShowPerspective(Bool_t x)