#include <TGLCameraGuide.h>
Inheritance diagram for TGLCameraGuide:
Definition at line 17 of file TGLCameraGuide.h.
TGLCameraGuide::TGLCameraGuide | ( | const TGLCameraGuide & | ) | [private] |
TGLCameraGuide::TGLCameraGuide | ( | Float_t | x, | |
Float_t | y, | |||
Float_t | s, | |||
ERole | role = kUser , |
|||
EState | state = kActive | |||
) |
Definition at line 29 of file TGLCameraGuide.cxx.
virtual TGLCameraGuide::~TGLCameraGuide | ( | ) | [inline, virtual] |
Definition at line 34 of file TGLCameraGuide.h.
TGLCameraGuide::TGLCameraGuide | ( | const TGLCameraGuide & | ) | [private] |
TGLCameraGuide::TGLCameraGuide | ( | Float_t | x, | |
Float_t | y, | |||
Float_t | s, | |||
ERole | role = kUser , |
|||
EState | state = kActive | |||
) |
virtual TGLCameraGuide::~TGLCameraGuide | ( | ) | [inline, virtual] |
Definition at line 34 of file TGLCameraGuide.h.
TGLCameraGuide& TGLCameraGuide::operator= | ( | const TGLCameraGuide & | ) | [private] |
void TGLCameraGuide::SetX | ( | Float_t | x | ) | [inline] |
void TGLCameraGuide::SetY | ( | Float_t | y | ) | [inline] |
void TGLCameraGuide::SetSize | ( | Float_t | s | ) | [inline] |
Bool_t TGLCameraGuide::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 39 of file TGLCameraGuide.cxx.
References kTRUE.
Bool_t TGLCameraGuide::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 48 of file TGLCameraGuide.cxx.
References fInDrag, fSelAxis, Event_t::fType, Event_t::fX, fXPos, Event_t::fY, fYPos, TGLSelectRecordBase::GetItem(), TGLSelectRecordBase::GetN(), kButtonPress, kButtonRelease, kFALSE, kMotionNotify, kTRUE, TMath::Range(), TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), and vp.
void TGLCameraGuide::MouseLeave | ( | ) | [virtual] |
void TGLCameraGuide::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
Definition at line 105 of file TGLCameraGuide.cxx.
References TGLRect::Aspect(), c, TGLColor::CArr(), TGLRnrCtx::ColorSet(), dr, TGLUtil::DrawLine(), TGLUtil::DrawSphere(), TGLUtil::fgBlue, TGLUtil::fgGreen, TGLUtil::fgRed, TGLUtil::fgYellow, TGLColorSet::Foreground(), fSelAxis, fSize, fXPos, fYPos, TGLMatrix::GetBaseVec(), GL_DEPTH_RANGE, GL_LIGHTING, glDepthRange(), glGetFloatv(), glLoadIdentity(), glLoadName(), glPopMatrix(), glPopName(), glPushMatrix(), glPushName(), glScalef(), glTranslatef(), kFALSE, TGLUtil::kLineHeadArrow, TGLRnrCtx::ProjectionMatrixPop(), TGLRnrCtx::ProjectionMatrixPushIdentity(), TGLRnrCtx::RefCamera(), TGLCamera::RefModelViewMatrix(), and TGLCamera::RefViewport().
TGLCameraGuide::ClassDef | ( | TGLCameraGuide | , | |
0 | ||||
) |
TGLCameraGuide& TGLCameraGuide::operator= | ( | const TGLCameraGuide & | ) | [private] |
void TGLCameraGuide::SetX | ( | Float_t | x | ) | [inline] |
void TGLCameraGuide::SetY | ( | Float_t | y | ) | [inline] |
void TGLCameraGuide::SetSize | ( | Float_t | s | ) | [inline] |
virtual Bool_t TGLCameraGuide::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual Bool_t TGLCameraGuide::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLCameraGuide::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLCameraGuide::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
TGLCameraGuide::ClassDef | ( | TGLCameraGuide | , | |
0 | ||||
) |
Float_t TGLCameraGuide::fXPos [protected] |
Float_t TGLCameraGuide::fYPos [protected] |
Float_t TGLCameraGuide::fSize [protected] |
Int_t TGLCameraGuide::fSelAxis [protected] |
Bool_t TGLCameraGuide::fInDrag [protected] |