#include <TGLCameraOverlay.h>
Inheritance diagram for TGLCameraOverlay:
Definition at line 25 of file TGLCameraOverlay.h.
Definition at line 28 of file TGLCameraOverlay.h.
Definition at line 28 of file TGLCameraOverlay.h.
TGLCameraOverlay::TGLCameraOverlay | ( | const TGLCameraOverlay & | ) | [private] |
Definition at line 32 of file TGLCameraOverlay.cxx.
References fAxis, fAxisPainter, fFrustum, TGLFont::kBitmap, kFALSE, kGray, TAttAxis::SetAxisColor(), TGLAxisPainter::SetFontMode(), TAttAxis::SetLabelColor(), TAttAxis::SetLabelOffset(), TAttAxis::SetLabelSize(), TAttAxis::SetNdivisions(), and TGLAxisPainter::SetUseAxisColors().
TGLCameraOverlay::~TGLCameraOverlay | ( | ) | [virtual] |
TGLCameraOverlay::TGLCameraOverlay | ( | const TGLCameraOverlay & | ) | [private] |
virtual TGLCameraOverlay::~TGLCameraOverlay | ( | ) | [virtual] |
TGLCameraOverlay& TGLCameraOverlay::operator= | ( | const TGLCameraOverlay & | ) | [private] |
void TGLCameraOverlay::RenderPlaneIntersect | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 100 of file TGLCameraOverlay.cxx.
References TGLUtil::Color(), TGLRnrCtx::ColorSet(), d, fExternalRefPlane, Form(), fUseExternalRefPlane, TGLMatrix::GetBaseVec(), TGLCamera::GetCamBase(), TGLRnrCtx::GetCamera(), TGLCamera::GetCamTrans(), TGLMatrix::GetTranslation(), GL_LINES, GL_MODELVIEW, GL_PROJECTION, glBegin(), glEnd(), glLoadIdentity(), glMatrixMode(), glPopMatrix(), glPushMatrix(), glVertex2f(), h, Intersection(), TGLFont::kBottom, TGLFont::kPixmap, kRed, TGLFont::kRight, kTRUE, line, TGLColorSet::Markup(), TMath::Nint(), p, TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), TGLRnrCtx::RegisterFontNoScale(), TGLFont::Render(), TMath::Sqrt(), vp, and w.
Referenced by Render().
Definition at line 164 of file TGLCameraOverlay.cxx.
References TGLVertex3::Arr(), TGLRnrCtx::ColorSet(), TGLUtil::ColorTransparency(), fAxis, fAxisPainter, fFrustum, fUseAxisColors, TAttAxis::GetAxisColor(), TGLMatrix::GetBaseVec(), TGLCamera::GetCamBase(), TGLColor::GetColorIndex(), TAttAxis::GetLabelSize(), TAttAxis::GetNdivisions(), GL_ENABLE_BIT, GL_LINE_BIT, GL_LINE_STIPPLE, GL_LINES, GL_VIEWPORT, glBegin(), glEnable(), glEnd(), glGetIntegerv(), glLineStipple(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), glTranslated(), glVertex3dv(), i, k, TGLFont::kBottom, TGLFont::kCenterH, TGLFont::kCenterV, TGLFont::kLeft, TGLFont::kRight, TGLFont::kTop, TGLUtil::LineWidth(), TGLColorSet::Markup(), maxX, maxY, minX, minY, TGLVertex3::Negate(), TGLVector3::Normalise(), THLimitsFinder::Optimize(), TGLAxisPainter::PaintAxis(), TGLRnrCtx::RefCamera(), TGLAxisPainter::RefDir(), TGLAxisPainter::RefLabVec(), TGLAxisPainter::RefTMOff(), TGLAxisPainter::RnrLabels(), TGLAxisPainter::RnrLines(), TGLAxisPainter::SetAttAxis(), TGLAxisPainter::SetLabelAlign(), TGLAxisPainter::SetLabelPixelFontSize(), TAxis::SetLimits(), TAttAxis::SetTickLength(), TGLAxisPainter::SetUseAxisColors(), TMath::Sqrt(), val, vp, TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().
Referenced by Render().
void TGLCameraOverlay::RenderGrid | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TGLCameraOverlay::RenderBar | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 376 of file TGLCameraOverlay.cxx.
References TMath::Abs(), TGLFont::BBox(), TGLUtil::Color(), TGLRnrCtx::ColorSet(), exp(), fFrustum, TMath::Floor(), TGLColorSet::Foreground(), Form(), TGLMatrix::GetBaseVec(), TGLCamera::GetCamBase(), TGLRnrCtx::GetCamera(), GL_ENABLE_BIT, GL_LINE_BIT, GL_LINES, glBegin(), glEnd(), glPopAttrib(), glPopMatrix(), glPushAttrib(), glPushMatrix(), glRasterPos2i(), glTranslated(), glVertex3d(), glVertex3dv(), TGLFont::kPixmap, kRed, TGLUtil::LineWidth(), TMath::Log10(), TGLVector3::Normalise(), TMath::Power(), red, TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), TGLRnrCtx::RegisterFont(), TGLFont::Render(), and vp.
Referenced by Render().
void TGLCameraOverlay::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
Definition at line 460 of file TGLCameraOverlay.cxx.
References TGLUtil::Color(), TGLRnrCtx::ColorSet(), fOrthographicMode, fShowOrthographic, fShowPerspective, GL_BLEND, GL_DEPTH_RANGE, GL_ENABLE_BIT, GL_LIGHTING, GL_LINE_BIT, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, glBlendFunc(), glDepthRange(), glEnable(), glGetFloatv(), glPopAttrib(), glPushAttrib(), TGLCamera::IsOrthographic(), TGLCamera::IsPerspective(), kAxis, kBar, kFALSE, kGridBack, kGridFront, kTRUE, TGLColorSet::Markup(), TGLRnrCtx::RefCamera(), RenderAxis(), RenderBar(), RenderPlaneIntersect(), TGLRnrCtx::Selection(), and SetFrustum().
Referenced by TEveCaloLegoOverlay::Render().
TGLPlane& TGLCameraOverlay::RefExternalRefPlane | ( | ) | [inline] |
void TGLCameraOverlay::UseExternalRefPlane | ( | Bool_t | x | ) | [inline] |
Bool_t TGLCameraOverlay::GetUseExternalRefPlane | ( | ) | const [inline] |
Int_t TGLCameraOverlay::GetPerspectiveMode | ( | ) | const [inline] |
Definition at line 67 of file TGLCameraOverlay.h.
References fPerspectiveMode.
Referenced by TGLViewerEditor::SetGuides().
void TGLCameraOverlay::SetPerspectiveMode | ( | EMode | m | ) | [inline] |
Definition at line 68 of file TGLCameraOverlay.h.
References fPerspectiveMode.
Referenced by TGLViewerEditor::DoCameraOverlay().
Int_t TGLCameraOverlay::GetOrthographicMode | ( | ) | const [inline] |
Definition at line 69 of file TGLCameraOverlay.h.
References fOrthographicMode.
Referenced by TGLViewerEditor::SetGuides().
void TGLCameraOverlay::SetOrthographicMode | ( | EMode | m | ) | [inline] |
Definition at line 70 of file TGLCameraOverlay.h.
References fOrthographicMode.
Referenced by TGLViewerEditor::DoCameraOverlay(), and quadset().
Bool_t TGLCameraOverlay::GetShowOrthographic | ( | ) | const [inline] |
Definition at line 72 of file TGLCameraOverlay.h.
References fShowOrthographic.
Referenced by TGLViewerEditor::SetGuides().
void TGLCameraOverlay::SetShowOrthographic | ( | Bool_t | x | ) | [inline] |
Definition at line 73 of file TGLCameraOverlay.h.
References fShowOrthographic.
Referenced by TGLViewerEditor::DoCameraOverlay(), and quadset().
Bool_t TGLCameraOverlay::GetShowPerspective | ( | ) | const [inline] |
Definition at line 74 of file TGLCameraOverlay.h.
References fShowPerspective.
Referenced by TGLViewerEditor::SetGuides().
void TGLCameraOverlay::SetShowPerspective | ( | Bool_t | x | ) | [inline] |
Definition at line 75 of file TGLCameraOverlay.h.
References fShowPerspective.
Referenced by TGLViewerEditor::DoCameraOverlay().
void TGLCameraOverlay::SetFrustum | ( | TGLCamera & | cam | ) |
Definition at line 83 of file TGLCameraOverlay.cxx.
References b, TGLPlane::D(), Dot(), fFrustum, TGLCamera::FrustumPlane(), TGLMatrix::GetBaseVec(), TGLCamera::GetCamBase(), TGLCamera::kBottom, TGLCamera::kLeft, TGLCamera::kRight, TGLCamera::kTop, l, and t.
Referenced by TEveCaloLegoOverlay::Render(), and Render().
TAttAxis * TGLCameraOverlay::GetAttAxis | ( | ) |
Definition at line 75 of file TGLCameraOverlay.cxx.
References fAxis.
Referenced by TEveCaloLegoOverlay::RenderPlaneInterface().
TGLCameraOverlay::ClassDef | ( | TGLCameraOverlay | , | |
1 | ||||
) |
TGLCameraOverlay& TGLCameraOverlay::operator= | ( | const TGLCameraOverlay & | ) | [private] |
void TGLCameraOverlay::RenderPlaneIntersect | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TGLCameraOverlay::RenderGrid | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TGLCameraOverlay::RenderBar | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
virtual void TGLCameraOverlay::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
TGLPlane& TGLCameraOverlay::RefExternalRefPlane | ( | ) | [inline] |
void TGLCameraOverlay::UseExternalRefPlane | ( | Bool_t | x | ) | [inline] |
Bool_t TGLCameraOverlay::GetUseExternalRefPlane | ( | ) | const [inline] |
Int_t TGLCameraOverlay::GetPerspectiveMode | ( | ) | const [inline] |
void TGLCameraOverlay::SetPerspectiveMode | ( | EMode | m | ) | [inline] |
Int_t TGLCameraOverlay::GetOrthographicMode | ( | ) | const [inline] |
void TGLCameraOverlay::SetOrthographicMode | ( | EMode | m | ) | [inline] |
Bool_t TGLCameraOverlay::GetShowOrthographic | ( | ) | const [inline] |
void TGLCameraOverlay::SetShowOrthographic | ( | Bool_t | x | ) | [inline] |
Bool_t TGLCameraOverlay::GetShowPerspective | ( | ) | const [inline] |
void TGLCameraOverlay::SetShowPerspective | ( | Bool_t | x | ) | [inline] |
void TGLCameraOverlay::SetFrustum | ( | TGLCamera & | cam | ) |
TAttAxis* TGLCameraOverlay::GetAttAxis | ( | ) |
TGLCameraOverlay::ClassDef | ( | TGLCameraOverlay | , | |
1 | ||||
) |
Bool_t TGLCameraOverlay::fShowOrthographic [protected] |
Definition at line 35 of file TGLCameraOverlay.h.
Referenced by GetShowOrthographic(), Render(), and SetShowOrthographic().
Bool_t TGLCameraOverlay::fShowPerspective [protected] |
Definition at line 36 of file TGLCameraOverlay.h.
Referenced by GetShowPerspective(), Render(), and SetShowPerspective().
EMode TGLCameraOverlay::fOrthographicMode [protected] |
Definition at line 38 of file TGLCameraOverlay.h.
Referenced by GetOrthographicMode(), Render(), and SetOrthographicMode().
EMode TGLCameraOverlay::fPerspectiveMode [protected] |
Definition at line 39 of file TGLCameraOverlay.h.
Referenced by GetPerspectiveMode(), and SetPerspectiveMode().
TGLAxisPainter* TGLCameraOverlay::fAxisPainter [protected] |
Definition at line 41 of file TGLCameraOverlay.h.
Referenced by RenderAxis(), TEveCaloLegoOverlay::RenderPaletteScales(), TEveCaloLegoOverlay::RenderPlaneInterface(), TGLCameraOverlay(), and ~TGLCameraOverlay().
TAxis* TGLCameraOverlay::fAxis [protected] |
Definition at line 42 of file TGLCameraOverlay.h.
Referenced by GetAttAxis(), RenderAxis(), TGLCameraOverlay(), and ~TGLCameraOverlay().
Float_t TGLCameraOverlay::fAxisExtend [protected] |
Definition at line 43 of file TGLCameraOverlay.h.
Bool_t TGLCameraOverlay::fUseAxisColors [protected] |
TGLPlane TGLCameraOverlay::fExternalRefPlane [protected] |
Definition at line 46 of file TGLCameraOverlay.h.
Referenced by RefExternalRefPlane(), and RenderPlaneIntersect().
Bool_t TGLCameraOverlay::fUseExternalRefPlane [protected] |
Definition at line 47 of file TGLCameraOverlay.h.
Referenced by GetUseExternalRefPlane(), RenderPlaneIntersect(), and UseExternalRefPlane().
Double_t TGLCameraOverlay::fFrustum [protected] |
Definition at line 49 of file TGLCameraOverlay.h.
Referenced by TEveCaloLegoOverlay::Render(), RenderAxis(), RenderBar(), SetFrustum(), and TGLCameraOverlay().
TGLAxisPainter* TGLCameraOverlay::fAxisPainter [protected] |
Definition at line 41 of file TGLCameraOverlay.h.
TAxis* TGLCameraOverlay::fAxis [protected] |
Definition at line 42 of file TGLCameraOverlay.h.