Concrete clip box object.
Can be translated, rotated and scaled in all (xyz) axes. By default inside of the box is clipped away.
Definition at line 113 of file TGLClip.h.
|
| | TGLClipBox () |
| | Construct an (initially) axis aligned clip pbox object, extents 'halfLengths', centered on 'center' vertex.
|
| |
| | ~TGLClipBox () override |
| | Destroy clip box object.
|
| |
| TClass * | IsA () const override |
| |
| void | PlaneSet (TGLPlaneSet_t &set) const override |
| | Return set of 6 planes describing faces of the box but invert them so that they point inside of box.
|
| |
| void | Setup (const TGLBoundingBox &bbox) override |
| | Setup the clip object for scene encompassed by bbox.
|
| |
| void | Setup (const TGLVector3 &min_point, const TGLVector3 &max_point) override |
| | Setup the clip box with min/max points directly.
|
| |
| void | Streamer (TBuffer &) override |
| |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| |
| | TGLClip (const TGLLogicalShape &logical, const TGLMatrix &transform, const float color[4]) |
| | Construct a stand-alone physical clipping object.
|
| |
| | ~TGLClip () override |
| | Destroy clip object.
|
| |
| void | Draw (TGLRnrCtx &rnrCtx) const override |
| | Draw out clipping object with blending and back + front filling.
|
| |
| EMode | GetMode () const |
| |
| void | IncTimeStamp () |
| |
| void | Invalidate () |
| |
| Bool_t | IsValid () const |
| |
| virtual void | Modified () |
| |
| void | SetMode (EMode mode) |
| |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| |
| UInt_t | TimeStamp () const |
| |
| | TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const Double_t *transform, Bool_t invertedWind, const Float_t rgba[4]) |
| | Construct a physical shape using arguments:
|
| |
| | TGLPhysicalShape (UInt_t ID, const TGLLogicalShape &logicalShape, const TGLMatrix &transform, Bool_t invertedWind, const Float_t rgba[4]) |
| | Construct a physical shape using arguments:
|
| |
| virtual | ~TGLPhysicalShape () |
| | Destroy the physical shape.
|
| |
| void | AddReference (TGLPShapeRef *ref) |
| | Add reference ref.
|
| |
| const TGLBoundingBox & | BoundingBox () const |
| |
| virtual void | CalculateShapeLOD (TGLRnrCtx &rnrCtx, Float_t &pixSize, Short_t &shapeLOD) const |
| | Calculate shape-lod, suitable for use under projection defined by 'rnrCtx', taking account of which local axes of the shape support LOD adjustment, and the global 'sceneFlags' passed.
|
| |
| const Float_t * | Color () const |
| |
| const TGLLogicalShape * | GetLogical () const |
| |
| EManip | GetManip () const |
| |
| const TGLPhysicalShape * | GetNextPhysical () const |
| |
| TGLVector3 | GetScale () const |
| |
| UChar_t | GetSelected () const |
| |
| TGLVertex3 | GetTranslation () const |
| |
| UInt_t | ID () const |
| |
| void | InvokeContextMenu (TContextMenu &menu, UInt_t x, UInt_t y) const |
| | Request creation of context menu on shape, attached to 'menu' at screen position 'x' 'y'.
|
| |
| Bool_t | IsInvisible () const |
| |
| Bool_t | IsModified () const |
| |
| Bool_t | IsSelected () const |
| |
| Bool_t | IsTransparent () const |
| |
| void | Modified () |
| | Call this after modifying the physical so that the information can be propagated to the object referencing it.
|
| |
| virtual void | QuantizeShapeLOD (Short_t shapeLOD, Short_t combiLOD, Short_t &quantLOD) const |
| | Factor in scene/vierer LOD and Quantize ... forward to logical shape.
|
| |
| void | RemoveReference (TGLPShapeRef *ref) |
| | Remove reference ref.
|
| |
| void | Rotate (const TGLVertex3 &pivot, const TGLVector3 &axis, Double_t angle) |
| |
| void | Scale (const TGLVector3 &scale) |
| |
| void | Select (UChar_t select) |
| |
| void | SetColor (const Float_t rgba[17]) |
| | Set full color attributes - see OpenGL material documentation for full description.
|
| |
| void | SetColorOnFamily (const Float_t rgba[17]) |
| | Set full color attributes to all physicals sharing the same logical with this object.
|
| |
| void | SetDiffuseColor (Color_t ci, UChar_t transparency) |
| | Set color from standard ROOT representation, that is color index.
|
| |
| void | SetDiffuseColor (const Float_t rgba[4]) |
| | Set color from ROOT color index and transparency [0,100].
|
| |
| void | SetDiffuseColor (const UChar_t rgba[4]) |
| | Set color from RGBA quadruplet.
|
| |
| void | SetManip (EManip manip) |
| |
| void | SetTransform (const Double_t vals[16]) |
| |
| void | SetTransform (const TGLMatrix &transform) |
| |
| void | SetTranslation (const TGLVertex3 &translation) |
| |
| void | SetupGLColors (TGLRnrCtx &rnrCtx, const Float_t *color=nullptr) const |
| | Setup colors - avoid setting things not required for current draw flags.
|
| |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| |
| void | Translate (const TGLVector3 &vect) |
| |
Setup the clip box with min/max points directly.
This only makes sense if you disable auto-update of the clip-object:
gl_viewer->SetClipAutoUpdate(kFALSE).
After calling this also call gl_viewer->RefreshPadEditor(gl_viewer) and gl_viewer->RequestDraw().
Reimplemented from TGLClip.
Definition at line 299 of file TGLClip.cxx.