TGLManipSet Class Reference

#include <TGLManipSet.h>

Inheritance diagram for TGLManipSet:

TGLOverlayElement TGLPShapeRef TGLOverlayElement TGLPShapeRef List of all members.

Public Types

enum  EManip
enum  EManip

Public Member Functions

 TGLManipSet ()
 also draw bounding-box around physical
virtual ~TGLManipSet ()
virtual void SetPShape (TGLPhysicalShape *shape)
virtual Bool_t MouseEnter (TGLOvlSelectRecord &selRec)
virtual Bool_t Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
virtual void MouseLeave ()
virtual void Render (TGLRnrCtx &rnrCtx)
TGLManipGetCurrentManip () const
Int_t GetManipType () const
void SetManipType (Int_t type)
Bool_t GetDrawBBox () const
void SetDrawBBox (Bool_t bb)
 ClassDef (TGLManipSet, 0)
 TGLManipSet ()
 also draw bounding-box around physical
virtual ~TGLManipSet ()
virtual void SetPShape (TGLPhysicalShape *shape)
virtual Bool_t MouseEnter (TGLOvlSelectRecord &selRec)
virtual Bool_t Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
virtual void MouseLeave ()
virtual void Render (TGLRnrCtx &rnrCtx)
TGLManipGetCurrentManip () const
Int_t GetManipType () const
void SetManipType (Int_t type)
Bool_t GetDrawBBox () const
void SetDrawBBox (Bool_t bb)
 ClassDef (TGLManipSet, 0)

Protected Attributes

TGLManipfManip [3]
EManip fType
 manipulator store
Bool_t fDrawBBox
 current manipulator
TGLManipfManip [3]

Private Member Functions

 TGLManipSet (const TGLManipSet &)
TGLManipSetoperator= (const TGLManipSet &)
 TGLManipSet (const TGLManipSet &)
TGLManipSetoperator= (const TGLManipSet &)

Detailed Description

Definition at line 21 of file TGLManipSet.h.


Member Enumeration Documentation

enum TGLManipSet::EManip

Definition at line 25 of file TGLManipSet.h.

enum TGLManipSet::EManip

Definition at line 25 of file TGLManipSet.h.


Constructor & Destructor Documentation

TGLManipSet::TGLManipSet ( const TGLManipSet  )  [private]

TGLManipSet::TGLManipSet (  ) 

also draw bounding-box around physical

Definition at line 37 of file TGLManipSet.cxx.

References fManip, kRotate, kScale, and kTrans.

TGLManipSet::~TGLManipSet (  )  [virtual]

Definition at line 50 of file TGLManipSet.cxx.

References fManip, i, kEndType, and kTrans.

TGLManipSet::TGLManipSet ( const TGLManipSet  )  [private]

TGLManipSet::TGLManipSet (  ) 

also draw bounding-box around physical

virtual TGLManipSet::~TGLManipSet (  )  [virtual]


Member Function Documentation

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.

References fManip, and fType.

Referenced by Handle(), MouseEnter(), and MouseLeave().

Int_t TGLManipSet::GetManipType (  )  const [inline]

Definition at line 52 of file TGLManipSet.h.

References fType.

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]

Definition at line 54 of file TGLManipSet.h.

References fDrawBBox.

void TGLManipSet::SetDrawBBox ( Bool_t  bb  )  [inline]

Definition at line 55 of file TGLManipSet.h.

References fDrawBBox.

Referenced by TGLViewer::InitSecondaryObjects().

TGLManipSet::ClassDef ( TGLManipSet  ,
 
)

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]

Definition at line 50 of file TGLManipSet.h.

References fManip, and fType.

Int_t TGLManipSet::GetManipType (  )  const [inline]

Definition at line 52 of file TGLManipSet.h.

References fType.

void TGLManipSet::SetManipType ( Int_t  type  ) 

Bool_t TGLManipSet::GetDrawBBox (  )  const [inline]

Definition at line 54 of file TGLManipSet.h.

References fDrawBBox.

void TGLManipSet::SetDrawBBox ( Bool_t  bb  )  [inline]

Definition at line 55 of file TGLManipSet.h.

References fDrawBBox.

TGLManipSet::ClassDef ( TGLManipSet  ,
 
)


Member Data Documentation

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.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1