// @(#)root/gl:$Id$
// Author:  Timur Pocheptsov  03/08/2004
// NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these
// attic files for previous CVS history

/*************************************************************************
 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGLPolyMarker
#define ROOT_TGLPolyMarker

#ifndef ROOT_TGLLogicalShape
#include "TGLLogicalShape.h"
#endif

#include <vector>

class TBuffer3D;

////////////////////////////////////////////////////////////////////////
class TGLPolyMarker : public TGLLogicalShape
{
private:
   std::vector<Double_t> fVertices;
   UInt_t   fStyle;
   Double_t fSize;

public:
   TGLPolyMarker(const TBuffer3D & buffer);

   virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;

   virtual Bool_t   IgnoreSizeForOfInterest() const { return kTRUE; }

private:
   void DrawStars()const;

   ClassDef(TGLPolyMarker,0) // a polymarker logical shape
};

#endif
 TGLPolyMarker.h:1
 TGLPolyMarker.h:2
 TGLPolyMarker.h:3
 TGLPolyMarker.h:4
 TGLPolyMarker.h:5
 TGLPolyMarker.h:6
 TGLPolyMarker.h:7
 TGLPolyMarker.h:8
 TGLPolyMarker.h:9
 TGLPolyMarker.h:10
 TGLPolyMarker.h:11
 TGLPolyMarker.h:12
 TGLPolyMarker.h:13
 TGLPolyMarker.h:14
 TGLPolyMarker.h:15
 TGLPolyMarker.h:16
 TGLPolyMarker.h:17
 TGLPolyMarker.h:18
 TGLPolyMarker.h:19
 TGLPolyMarker.h:20
 TGLPolyMarker.h:21
 TGLPolyMarker.h:22
 TGLPolyMarker.h:23
 TGLPolyMarker.h:24
 TGLPolyMarker.h:25
 TGLPolyMarker.h:26
 TGLPolyMarker.h:27
 TGLPolyMarker.h:28
 TGLPolyMarker.h:29
 TGLPolyMarker.h:30
 TGLPolyMarker.h:31
 TGLPolyMarker.h:32
 TGLPolyMarker.h:33
 TGLPolyMarker.h:34
 TGLPolyMarker.h:35
 TGLPolyMarker.h:36
 TGLPolyMarker.h:37
 TGLPolyMarker.h:38
 TGLPolyMarker.h:39
 TGLPolyMarker.h:40
 TGLPolyMarker.h:41
 TGLPolyMarker.h:42
 TGLPolyMarker.h:43
 TGLPolyMarker.h:44
 TGLPolyMarker.h:45
 TGLPolyMarker.h:46