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.
TGLManipSet(const TGLManipSet&) | |
TGLManipSet& | operator=(const TGLManipSet&) |
enum EManip { | kTrans | |
kScale | ||
kRotate | ||
kEndType | ||
}; | ||
enum TGLOverlayElement::ERole { | kUser | |
kViewer | ||
kAnnotation | ||
kAll | ||
}; |
Bool_t | fDrawBBox | ! also draw bounding-box around physical |
TGLManip* | fManip[3] | ! manipulator store |
TGLPhysicalShape* | TGLPShapeRef::fPShape | Pointer to referenced physical shape. |
TGLOverlayElement::ERole | TGLOverlayElement::fRole | |
TGLManipSet::EManip | fType | ! current manipulator |
Set phys-shape, override of virtual from TGLPShapeRef. Forward to all managed manipulators.
Handle overlay event. Return TRUE if event was handled.