Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TPointSet3DGL.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/gl:$Id$
0002 // Author: Matevz Tadel  7/4/2006
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 
0013 #ifndef ROOT_TPointSet3DGL
0014 #define ROOT_TPointSet3DGL
0015 
0016 #include "TGLObject.h"
0017 
0018 class TGLRnrCtx;
0019 
0020 class TPointSet3DGL : public TGLObject
0021 {
0022 public:
0023    TPointSet3DGL() : TGLObject() {}
0024 
0025    Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
0026    void   SetBBox() override;
0027    void   DirectDraw(TGLRnrCtx & rnrCtx) const override;
0028 
0029    Bool_t IgnoreSizeForOfInterest() const override { return kTRUE; }
0030 
0031    Bool_t ShouldDLCache(const TGLRnrCtx & rnrCtx) const override;
0032 
0033    void   Draw(TGLRnrCtx & rnrCtx) const override;
0034 
0035    Bool_t SupportsSecondarySelect() const override { return kTRUE; }
0036    void   ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec) override;
0037 
0038    ClassDefOverride(TPointSet3DGL,1)  // GL renderer for TPointSet3D
0039 };
0040 
0041 #endif