#include <TGLManip.h>
Inheritance diagram for TGLManip:

Definition at line 36 of file TGLManip.h.
| TGLManip::TGLManip | ( | const TGLManip & | ) | [protected] |
| TGLManip::TGLManip | ( | ) |
Definition at line 35 of file TGLManip.cxx.
| TGLManip::TGLManip | ( | TGLPhysicalShape * | shape | ) |
Definition at line 46 of file TGLManip.cxx.
| TGLManip::~TGLManip | ( | ) | [virtual] |
Definition at line 84 of file TGLManip.cxx.
| TGLManip::TGLManip | ( | const TGLManip & | ) | [protected] |
last (latest) mouse position (in WINDOW coords)
| TGLManip::TGLManip | ( | ) |
| TGLManip::TGLManip | ( | TGLPhysicalShape * | shape | ) |
| virtual TGLManip::~TGLManip | ( | ) | [virtual] |
Definition at line 68 of file TGLManip.cxx.
References fActive, fFirstMouse, fLastMouse, fSelectedWidget, and fShape.
| void TGLManip::CalcDrawScale | ( | const TGLBoundingBox & | box, | |
| const TGLCamera & | camera, | |||
| Double_t & | base, | |||
| TGLVector3 | axis[3] | |||
| ) | const [protected] |
Definition at line 147 of file TGLManip.cxx.
References axis, box(), camera, i, kFALSE, kTRUE, TGLVector3::Mag(), and ROOT::Math::Mag().
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), and TGLTransManip::Draw().
Definition at line 90 of file TGLManip.cxx.
References TGLUtil::fgBlue, TGLUtil::fgGreen, TGLUtil::fgGrey, TGLUtil::fgRed, TGLUtil::fgYellow, and fSelectedWidget.
Referenced by TGLRotateManip::Draw(), TGLScaleManip::Draw(), and TGLTransManip::Draw().
| UInt_t TGLManip::GetSelectedWidget | ( | ) | const [inline] |
Definition at line 60 of file TGLManip.h.
References fSelectedWidget.
Referenced by TGLManipSet::Handle().
| void TGLManip::SetSelectedWidget | ( | UInt_t | s | ) | [inline] |
Definition at line 61 of file TGLManip.h.
References fSelectedWidget.
Referenced by TGLManipSet::Handle(), TGLManipSet::MouseEnter(), and TGLManipSet::MouseLeave().
| Bool_t TGLManip::GetActive | ( | ) | const [inline] |
| void TGLManip::SetActive | ( | Bool_t | a | ) | [inline] |
Definition at line 64 of file TGLManip.h.
References fActive.
Referenced by TGLManipSet::Handle(), TGLManipSet::MouseEnter(), and TGLManipSet::MouseLeave().
| void TGLManip::Attach | ( | TGLPhysicalShape * | shape | ) | [inline] |
| TGLPhysicalShape* TGLManip::GetAttached | ( | ) | const [inline] |
| virtual void TGLManip::Draw | ( | const TGLCamera & | camera | ) | const [pure virtual] |
Referenced by TGLManipSet::Render().
| virtual Bool_t TGLManip::Select | ( | const TGLCamera & | , | |
| const TGLRect & | , | |||
| const TGLBoundingBox & | ||||
| ) | [inline, virtual] |
Definition at line 111 of file TGLManip.cxx.
References fActive, Event_t::fCode, fFirstMouse, fLastMouse, fSelectedWidget, Event_t::fType, Event_t::fX, Event_t::fY, kButton1, kButtonPress, kButtonRelease, kFALSE, kTRUE, TPoint::SetX(), and TPoint::SetY().
Referenced by TGLManipSet::Handle(), TGLRotateManip::HandleButton(), and TGLScaleManip::HandleButton().
Definition at line 137 of file TGLManip.cxx.
References kFALSE.
Referenced by TGLManipSet::Handle().
| TGLManip::ClassDef | ( | TGLManip | , | |
| 0 | ||||
| ) |
| void TGLManip::CalcDrawScale | ( | const TGLBoundingBox & | box, | |
| const TGLCamera & | camera, | |||
| Double_t & | base, | |||
| TGLVector3 | axis[3] | |||
| ) | const [protected] |
| UInt_t TGLManip::GetSelectedWidget | ( | ) | const [inline] |
| void TGLManip::SetSelectedWidget | ( | UInt_t | s | ) | [inline] |
| Bool_t TGLManip::GetActive | ( | ) | const [inline] |
| void TGLManip::SetActive | ( | Bool_t | a | ) | [inline] |
| void TGLManip::Attach | ( | TGLPhysicalShape * | shape | ) | [inline] |
| TGLPhysicalShape* TGLManip::GetAttached | ( | ) | const [inline] |
| virtual void TGLManip::Draw | ( | const TGLCamera & | camera | ) | const [pure virtual] |
| virtual Bool_t TGLManip::Select | ( | const TGLCamera & | , | |
| const TGLRect & | , | |||
| const TGLBoundingBox & | ||||
| ) | [inline, virtual] |
| TGLManip::ClassDef | ( | TGLManip | , | |
| 0 | ||||
| ) |
TGLPhysicalShape* TGLManip::fShape [protected] |
Definition at line 39 of file TGLManip.h.
Referenced by Attach(), TGLRotateManip::Draw(), TGLScaleManip::Draw(), TGLTransManip::Draw(), GetAttached(), TGLRotateManip::HandleButton(), TGLScaleManip::HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), TGLRotateManip::HandleMotion(), and operator=().
UInt_t TGLManip::fSelectedWidget [protected] |
manipulated shape
Definition at line 40 of file TGLManip.h.
Referenced by ColorFor(), GetSelectedWidget(), TGLRotateManip::HandleButton(), HandleButton(), TGLScaleManip::HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), operator=(), and SetSelectedWidget().
Bool_t TGLManip::fActive [protected] |
active width (axis) component
Definition at line 41 of file TGLManip.h.
Referenced by TGLRotateManip::Draw(), GetActive(), HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), TGLRotateManip::HandleMotion(), operator=(), and SetActive().
TPoint TGLManip::fFirstMouse [protected] |
manipulator is active?
Definition at line 44 of file TGLManip.h.
Referenced by HandleButton(), TGLScaleManip::HandleMotion(), and operator=().
TPoint TGLManip::fLastMouse [protected] |
first (start) mouse position (in WINDOW coords)
Definition at line 45 of file TGLManip.h.
Referenced by TGLRotateManip::CalculateAngleDelta(), TGLRotateManip::HandleButton(), HandleButton(), TGLScaleManip::HandleMotion(), TGLTransManip::HandleMotion(), TGLRotateManip::HandleMotion(), and operator=().
TGLPhysicalShape* TGLManip::fShape [protected] |
Definition at line 39 of file TGLManip.h.
1.5.1