Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TPointSet3DGL.h
Go to the documentation of this file.
1// @(#)root/gl:$Id$
2// Author: Matevz Tadel 7/4/2006
3
4/*************************************************************************
5 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12
13#ifndef ROOT_TPointSet3DGL
14#define ROOT_TPointSet3DGL
15
16#include "TGLObject.h"
17
18class TGLRnrCtx;
19
21{
22public:
24
25 Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
26 void SetBBox() override;
27 void DirectDraw(TGLRnrCtx & rnrCtx) const override;
28
29 Bool_t IgnoreSizeForOfInterest() const override { return kTRUE; }
30
31 Bool_t ShouldDLCache(const TGLRnrCtx & rnrCtx) const override;
32
33 void Draw(TGLRnrCtx & rnrCtx) const override;
34
35 Bool_t SupportsSecondarySelect() const override { return kTRUE; }
36 void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec) override;
37
38 ClassDefOverride(TPointSet3DGL,1) // GL renderer for TPointSet3D
39};
40
41#endif
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
Base-class for direct OpenGL renderers.
Definition TGLObject.h:22
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition TGLRnrCtx.h:41
Standard selection record including information about containing scene and details ob out selected ob...
Mother of all ROOT objects.
Definition TObject.h:41
Direct OpenGL renderer for TPointSet3D.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model.
Bool_t IgnoreSizeForOfInterest() const override
Return true if size of this shape should be ignored when determining if the object should be drawn.
void SetBBox() override
Set bounding-box.
void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec) override
Processes secondary selection from TGLViewer.
Bool_t SupportsSecondarySelect() const override
Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const override
Override from TGLLogicalShape.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Direct GL rendering for TPointSet3D.
th1 Draw()