Combine all available manipulators in a collection.
At first I wanted to merge them back into TGLManip (to have a single class) but then it seemed somehow messy. Maybe next time.
Definition at line 20 of file TGLManipSet.h.
Public Types | |
| enum | EManip { kTrans , kScale , kRotate , kEndType } |
| enum | ERole { kUser , kViewer , kAnnotation , kAll } |
| enum | EState { kInvisible = 1 , kDisabled = 2 , kActive = 4 , kAllVisible = kDisabled | kActive } |
Static Public Member Functions | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static const char * | DeclFileName () |
Protected Member Functions | |
| void | ProjectionMatrixPushIdentity () |
Protected Attributes | |
| Bool_t | fDrawBBox |
| ! also draw bounding-box around physical | |
| TGLManip * | fManip [3] |
| ! manipulator store | |
| TGLPhysicalShape * | fPShape |
| ERole | fRole |
| EState | fState |
| EManip | fType |
| ! current manipulator | |
Private Member Functions | |
| TGLManipSet (const TGLManipSet &)=delete | |
| TGLManipSet & | operator= (const TGLManipSet &)=delete |
Private Attributes | |
| TGLPShapeRef * | fNextPSRef |
#include <TGLManipSet.h>
| Enumerator | |
|---|---|
| kTrans | |
| kScale | |
| kRotate | |
| kEndType | |
Definition at line 24 of file TGLManipSet.h.
|
inherited |
| Enumerator | |
|---|---|
| kUser | |
| kViewer | |
| kAnnotation | |
| kAll | |
Definition at line 25 of file TGLOverlay.h.
|
inherited |
| Enumerator | |
|---|---|
| kInvisible | |
| kDisabled | |
| kActive | |
| kAllVisible | |
Definition at line 27 of file TGLOverlay.h.
|
privatedelete |
| TGLManipSet::TGLManipSet | ( | ) |
Definition at line 37 of file TGLManipSet.cxx.
|
override |
Destructor.
Definition at line 52 of file TGLManipSet.cxx.
Definition at line 66 of file TGLManipSet.h.
Definition at line 66 of file TGLManipSet.h.
|
inline |
Definition at line 59 of file TGLManipSet.h.
|
inline |
Definition at line 63 of file TGLManipSet.h.
|
inline |
Definition at line 61 of file TGLManipSet.h.
|
inlineinherited |
Definition at line 36 of file TGLPShapeRef.h.
|
inlineinherited |
Definition at line 53 of file TGLOverlay.h.
|
inlineinherited |
Definition at line 56 of file TGLOverlay.h.
|
overridevirtual |
Handle overlay event.
Return TRUE if event was handled.
Reimplemented from TGLOverlayElement.
Definition at line 85 of file TGLManipSet.cxx.
|
inlineoverridevirtual |
Reimplemented from TGLPShapeRef.
Definition at line 66 of file TGLManipSet.h.
|
overridevirtual |
Mouse has entered this element.
Always accept.
Reimplemented from TGLOverlayElement.
Definition at line 73 of file TGLManipSet.cxx.
|
overridevirtual |
Mouse has left the element.
Reimplemented from TGLOverlayElement.
Definition at line 140 of file TGLManipSet.cxx.
|
virtualinherited |
Reimplemented in TGLClipSet.
Definition at line 29 of file TGLOverlay.cxx.
|
privatedelete |
|
protectedinherited |
|
virtualinherited |
This is called from physical shape when it is modified.
Sub-classes can override and take appropriate action.
Reimplemented in TGLPShapeObjEditor.
Definition at line 70 of file TGLPShapeRef.cxx.
|
overridevirtual |
Render the manipulator and bounding-box.
Implements TGLOverlayElement.
Definition at line 150 of file TGLManipSet.cxx.
|
inlineinherited |
Definition at line 59 of file TGLOverlay.h.
|
inline |
Definition at line 64 of file TGLManipSet.h.
| void TGLManipSet::SetManipType | ( | Int_t | type | ) |
Set manipulator type, range checked.
Definition at line 179 of file TGLManipSet.cxx.
|
overridevirtual |
Set phys-shape, override of virtual from TGLPShapeRef.
Forward to all managed manipulators.
Reimplemented from TGLPShapeRef.
Definition at line 62 of file TGLManipSet.cxx.
|
inlineinherited |
Definition at line 54 of file TGLOverlay.h.
|
inlineinherited |
Definition at line 57 of file TGLOverlay.h.
|
overridevirtual |
Reimplemented from TGLPShapeRef.
|
inline |
Definition at line 66 of file TGLManipSet.h.
|
protected |
! also draw bounding-box around physical
Definition at line 44 of file TGLManipSet.h.
|
protected |
! manipulator store
Definition at line 41 of file TGLManipSet.h.
|
privateinherited |
Definition at line 26 of file TGLPShapeRef.h.
|
protectedinherited |
Definition at line 29 of file TGLPShapeRef.h.
|
protectedinherited |
Definition at line 35 of file TGLOverlay.h.
|
protectedinherited |
Definition at line 36 of file TGLOverlay.h.
|
protected |
! current manipulator
Definition at line 42 of file TGLManipSet.h.