#include <TGLManipSet.h>
Inheritance diagram for TGLManipSet:
Definition at line 21 of file TGLManipSet.h.
enum TGLManipSet::EManip |
Definition at line 25 of file TGLManipSet.h.
enum TGLManipSet::EManip |
Definition at line 25 of file TGLManipSet.h.
TGLManipSet::TGLManipSet | ( | const TGLManipSet & | ) | [private] |
TGLManipSet::TGLManipSet | ( | ) |
TGLManipSet::~TGLManipSet | ( | ) | [virtual] |
TGLManipSet::TGLManipSet | ( | const TGLManipSet & | ) | [private] |
TGLManipSet::TGLManipSet | ( | ) |
also draw bounding-box around physical
virtual TGLManipSet::~TGLManipSet | ( | ) | [virtual] |
TGLManipSet& TGLManipSet::operator= | ( | const TGLManipSet & | ) | [private] |
void TGLManipSet::SetPShape | ( | TGLPhysicalShape * | shape | ) | [virtual] |
Reimplemented from TGLPShapeRef.
Definition at line 59 of file TGLManipSet.cxx.
References fManip, i, kEndType, kTrans, and TGLPShapeRef::SetPShape().
Referenced by TGLViewer::ApplySelection(), and TGLClipSet::SetClipType().
Bool_t TGLManipSet::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 73 of file TGLManipSet.cxx.
References GetCurrentManip(), kFALSE, kTRUE, TGLManip::SetActive(), and TGLManip::SetSelectedWidget().
Referenced by TGLClipSet::MouseEnter().
Bool_t TGLManipSet::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 85 of file TGLManipSet.cxx.
References Event_t::fType, TGLManip::GetActive(), GetCurrentManip(), TGLSelectRecordBase::GetCurrItem(), TGLRnrCtx::GetEventKeySym(), TGLManip::GetSelectedWidget(), TGLManip::HandleButton(), TGLManip::HandleMotion(), kButtonPress, kButtonRelease, kFALSE, kGKeyPress, kKey_C, kKey_c, kKey_V, kKey_v, kKey_X, kKey_x, kMotionNotify, kRotate, kScale, kTrans, kTRUE, TGLRnrCtx::RefCamera(), TGLManip::SetActive(), SetManipType(), and TGLManip::SetSelectedWidget().
Referenced by TGLClipSet::Handle().
void TGLManipSet::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 141 of file TGLManipSet.cxx.
References GetCurrentManip(), kFALSE, TGLManip::SetActive(), and TGLManip::SetSelectedWidget().
Referenced by TGLClipSet::MouseLeave().
void TGLManipSet::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
Definition at line 151 of file TGLManipSet.cxx.
References TGLPhysicalShape::BoundingBox(), TGLUtil::Color(), TGLRnrCtx::ColorSet(), TGLManip::Draw(), TGLBoundingBox::Draw(), fDrawBBox, fManip, TGLPShapeRef::fPShape, fType, GL_LIGHTING, glDisable(), glEnable(), TGLColorSet::Markup(), TGLRnrCtx::RefCamera(), TGLUtil::ResetDrawQuality(), TGLRnrCtx::Selection(), and TGLUtil::SetDrawQuality().
Referenced by TGLClipSet::Render().
TGLManip* TGLManipSet::GetCurrentManip | ( | ) | const [inline] |
Definition at line 50 of file TGLManipSet.h.
Referenced by Handle(), MouseEnter(), and MouseLeave().
Int_t TGLManipSet::GetManipType | ( | ) | const [inline] |
void TGLManipSet::SetManipType | ( | Int_t | type | ) |
Definition at line 180 of file TGLManipSet.cxx.
References fType, and kEndType.
Referenced by Handle().
Bool_t TGLManipSet::GetDrawBBox | ( | ) | const [inline] |
void TGLManipSet::SetDrawBBox | ( | Bool_t | bb | ) | [inline] |
Definition at line 55 of file TGLManipSet.h.
References fDrawBBox.
Referenced by TGLViewer::InitSecondaryObjects().
TGLManipSet::ClassDef | ( | TGLManipSet | , | |
0 | ||||
) |
TGLManipSet& TGLManipSet::operator= | ( | const TGLManipSet & | ) | [private] |
virtual void TGLManipSet::SetPShape | ( | TGLPhysicalShape * | shape | ) | [virtual] |
Reimplemented from TGLPShapeRef.
virtual Bool_t TGLManipSet::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual Bool_t TGLManipSet::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLManipSet::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TGLManipSet::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Implements TGLOverlayElement.
TGLManip* TGLManipSet::GetCurrentManip | ( | ) | const [inline] |
Int_t TGLManipSet::GetManipType | ( | ) | const [inline] |
void TGLManipSet::SetManipType | ( | Int_t | type | ) |
Bool_t TGLManipSet::GetDrawBBox | ( | ) | const [inline] |
void TGLManipSet::SetDrawBBox | ( | Bool_t | bb | ) | [inline] |
TGLManipSet::ClassDef | ( | TGLManipSet | , | |
0 | ||||
) |
TGLManip* TGLManipSet::fManip[3] [protected] |
Definition at line 32 of file TGLManipSet.h.
Referenced by GetCurrentManip(), Render(), SetPShape(), TGLManipSet(), and ~TGLManipSet().
EManip TGLManipSet::fType [protected] |
manipulator store
Definition at line 33 of file TGLManipSet.h.
Referenced by GetCurrentManip(), GetManipType(), Render(), and SetManipType().
Bool_t TGLManipSet::fDrawBBox [protected] |
current manipulator
Definition at line 35 of file TGLManipSet.h.
Referenced by GetDrawBBox(), Render(), and SetDrawBBox().
TGLManip* TGLManipSet::fManip[3] [protected] |
Definition at line 32 of file TGLManipSet.h.