|
ROOT
Reference Guide |
|
virtual void PlaneSet(TGLPlaneSet_t &set) const
Return set of planes (actually a single one) describing this clip plane.
void SetupCurrentClip(const TGLBoundingBox &sceneBBox)
Setup current clipping object for given scene bounding box.
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
Mouse has entered this element.
void GetClipState(TGLClip::EType type, Double_t data[6]) const
Get state of clip object 'type' into data vector:
void SetAutoUpdate(Bool_t aup)
void InvalidateCurrentClip()
Invalidate current clip object.
virtual ~TGLClip()
Destroy clip object.
virtual ~TGLClipBox()
Destroy clip box object.
virtual Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
Handle overlay event.
TGLClipPlane()
Fixed color of clip plane.
Bool_t GetAutoUpdate() const
A collection of concrete TGLClip objects to be selected from.
Bool_t GetShowManip() const
virtual void Setup(const TGLBoundingBox &bbox)
Setup the clip object for scene encompassed by bbox.
TGLClip::EType GetClipType() const
Get current type active in viewer - returns one of kClipNone kClipPlane or kClipBox.
Selection record for overlay objects.
Combine all available manipulators in a collection.
virtual ~TGLClipSet()
Destructor.
virtual void MouseLeave()
Mouse has left the element.
virtual ~TGLClipPlane()
Destroy clip plane object.
TGLClipBox()
Fixed color of clip box.
void SetClipState(TGLClip::EType type, const Double_t data[6])
Set state of clip object 'type' into data vector:
virtual void Render(TGLRnrCtx &rnrCtx)
Render clip-shape and manipulator.
void SetupCurrentClipIfInvalid(const TGLBoundingBox &sceneBBox)
Setup current clipping object for given scene bounding box.
16 component (4x4) transform matrix - column MAJOR as per GL.
static const float fgColor[4]
static const float fgColor[4]
Concrete class describing an orientated (free) or axis aligned box of 8 vertices.
TGLClip(const TGLLogicalShape &logical, const TGLMatrix &transform, const float color[4])
Construct a stand-alone physical clipping object.
Bool_t IsClipping() const
Bool_t fAutoUpdate
the current clipping shape
TGLClip * GetCurrentClip() const
virtual void Draw(TGLRnrCtx &rnrCtx) const
Draw out clipping object with blending and back + front filling.
3D plane class - of format Ax + By + Cz + D = 0
TGLClipSet & operator=(const TGLClipSet &)
void SetShowManip(Bool_t show)
3 component (x/y/z) vector class.
virtual void Setup(const TGLBoundingBox &bbox)=0
void SetClipType(TGLClip::EType type)
Set current clip active in viewer - 'type' is one of kClipNone kClipPlane or kClipBox.
Bool_t GetShowClip() const
virtual void PlaneSet(TGLPlaneSet_t &set) const
Return set of 6 planes describing faces of the box but invert them so that they point inside of box.
void Set(const TGLPlane &plane)
Update clip plane object to follow passed 'plane' equation.
std::vector< TGLPlane > TGLPlaneSet_t
void FillPlaneSet(TGLPlaneSet_t &set) const
Forward request to fill the plane-set to the current clip.
Concrete clip plane object.
virtual void PlaneSet(TGLPlaneSet_t &set) const =0
Abstract clipping shape - derives from TGLPhysicalShape Adds clip mode (inside/outside) and pure virt...
TGLClipSet(const TGLClipSet &)
virtual void Setup(const TGLBoundingBox &bbox)
Setup the clip object for scene encompassed by bbox.
void SetShowClip(Bool_t show)
#define ClassDef(name, id)
Concrete clip box object.
Abstract logical shape - a GL 'drawable' - base for all shapes - faceset sphere etc.
Concrete physical shape - a GL drawable.
TGLClipPlane * fClipPlane
virtual Bool_t MouseStillInside(TGLOvlSelectRecord &selRec)
void SetupClips(const TGLBoundingBox &sceneBBox)
Setup clipping objects for given scene bounding box.
void Modified()
Call this after modifying the physical so that the information can be propagated to the object refere...
void InvalidateClips()
Invalidate clip objects.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...