Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TGLPolyLine.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:  Timur Pocheptsov  03/08/2004
0003 // NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these
0004 // attic files for previous CVS history
0005 
0006 /*************************************************************************
0007  * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers.               *
0008  * All rights reserved.                                                  *
0009  *                                                                       *
0010  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0011  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0012  *************************************************************************/
0013 
0014 #ifndef ROOT_TGLPolyLine
0015 #define ROOT_TGLPolyLine
0016 
0017 #include "TGLLogicalShape.h"
0018 
0019 #include <vector>
0020 
0021 class TBuffer3D;
0022 
0023 class TGLPolyLine : public TGLLogicalShape
0024 {
0025 private:
0026    std::vector<Double_t> fVertices;
0027    Double_t              fLineWidth;
0028 
0029 public:
0030    TGLPolyLine(const TBuffer3D & buffer);
0031 
0032    void DirectDraw(TGLRnrCtx & rnrCtx) const override;
0033 
0034    ClassDefOverride(TGLPolyLine,0) // a polyline logical shape
0035 };
0036 
0037 #endif