00001 // @(#)root/gl:$Id: TPointSet3DGL.h 21653 2008-01-11 20:23:15Z matevz $ 00002 // Author: Matevz Tadel 7/4/2006 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 00013 #ifndef ROOT_TPointSet3DGL 00014 #define ROOT_TPointSet3DGL 00015 00016 #ifndef ROOT_TGLObject 00017 #include "TGLObject.h" 00018 #endif 00019 00020 class TGLRnrCtx; 00021 00022 class TPointSet3DGL : public TGLObject 00023 { 00024 public: 00025 TPointSet3DGL() : TGLObject() {} 00026 00027 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); 00028 virtual void SetBBox(); 00029 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; 00030 00031 virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; } 00032 00033 virtual Bool_t ShouldDLCache(const TGLRnrCtx & rnrCtx) const; 00034 00035 virtual void Draw(TGLRnrCtx & rnrCtx) const; 00036 00037 virtual Bool_t SupportsSecondarySelect() const { return kTRUE; } 00038 virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec); 00039 00040 ClassDef(TPointSet3DGL,1) // GL renderer for TPointSet3D 00041 }; 00042 00043 #endif