#define ClassDefOverride(name, id)
 
Concrete class describing an orientated (free) or axis aligned box of 8 vertices.
 
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
 
Abstract base class for viewer manipulators, which allow direct in viewer manipulation of a (TGlPhysi...
 
void SetSelectedWidget(UInt_t s)
 
UInt_t GetSelectedWidget() const
 
TGLManip()
Construct a manipulator object, bound to supplied viewer, and no physical shape.
 
TGLManip & operator=(const TGLManip &)
Assignment operator.
 
TPoint fLastMouse
first (start) mouse position (in WINDOW coords)
 
const UChar_t * ColorFor(UInt_t widget) const
Returns color to be used for given widget.
 
TPoint fFirstMouse
manipulator is active?
 
virtual Bool_t HandleButton(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if processed, kFALSE otherwise.
 
Bool_t fActive
active width (axis) component
 
Bool_t Select(const TGLCamera &, const TGLRect &, const TGLBoundingBox &) override
 
void Attach(TGLPhysicalShape *shape)
 
void CalcDrawScale(const TGLBoundingBox &box, const TGLCamera &camera, Double_t &base, TGLVector3 axis[3]) const
Calculates base and axis scale factor (in world units) for drawing manipulators with reasonable size ...
 
UInt_t fSelectedWidget
manipulated shape
 
TGLPhysicalShape * fShape
 
virtual Bool_t HandleMotion(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if widget selection change kFALSE otherwise.
 
virtual void Draw(const TGLCamera &camera) const =0
 
TGLPhysicalShape * GetAttached() const
 
~TGLManip() override
Destroy manipulator object.
 
Concrete physical shape - a GL drawable.
 
Viewport (pixel base) 2D rectangle class.
 
3 component (x/y/z) vector class.
 
3 component (x/y/z) vertex class.
 
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)