00001 // @(#)root/gl:$Id: TGLPolyLine.h 21252 2007-12-07 01:39:32Z matevz $ 00002 // Author: Timur Pocheptsov 03/08/2004 00003 // NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these 00004 // attic files for previous CVS history 00005 00006 /************************************************************************* 00007 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * 00008 * All rights reserved. * 00009 * * 00010 * For the licensing terms see $ROOTSYS/LICENSE. * 00011 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00012 *************************************************************************/ 00013 00014 #ifndef ROOT_TGLPolyLine 00015 #define ROOT_TGLPolyLine 00016 00017 #ifndef ROOT_TGLLogicalShape 00018 #include "TGLLogicalShape.h" 00019 #endif 00020 00021 #include <vector> 00022 00023 class TBuffer3D; 00024 00025 class TGLPolyLine : public TGLLogicalShape 00026 { 00027 private: 00028 std::vector<Double_t> fVertices; 00029 Double_t fLineWidth; 00030 00031 public: 00032 TGLPolyLine(const TBuffer3D & buffer); 00033 00034 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; 00035 00036 ClassDef(TGLPolyLine,0) // a polyline logical shape 00037 }; 00038 00039 #endif