// @(#)root/base:$Id$
// Author: Rene Brun   12/05/95

/*************************************************************************
 * Copyright (C) 1995-2000, 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_TAttMarker
#define ROOT_TAttMarker


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TAttMarker                                                           //
//                                                                      //
// Marker attributes.                                                   //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_Riosfwd
#include "Riosfwd.h"
#endif


class TAttMarker {

protected:
   Color_t    fMarkerColor;       //Marker color index
   Style_t    fMarkerStyle;       //Marker style
   Size_t     fMarkerSize;        //Marker size

public:
   TAttMarker();
   TAttMarker(Color_t color, Style_t style, Size_t msize);
   virtual ~TAttMarker();
           void     Copy(TAttMarker &attmarker) const;
   virtual Color_t  GetMarkerColor() const {return fMarkerColor;}
   virtual Style_t  GetMarkerStyle() const {return fMarkerStyle;}
   virtual Size_t   GetMarkerSize()  const {return fMarkerSize;}
   virtual void     Modify();
   virtual void     ResetAttMarker(Option_t *toption="");
   virtual void     SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1);
   virtual void     SetMarkerAttributes();  // *MENU*
   virtual void     SetMarkerColor(Color_t mcolor=1) { fMarkerColor = mcolor;}
   virtual void     SetMarkerColorAlpha(Color_t mcolor, Float_t malpha);
   virtual void     SetMarkerStyle(Style_t mstyle=1) { fMarkerStyle = mstyle;}
   virtual void     SetMarkerSize(Size_t msize=1)    { fMarkerSize  = msize;}

   ClassDef(TAttMarker,2);  //Marker attributes
};

   enum EMarkerStyle {kDot=1, kPlus, kStar, kCircle=4, kMultiply=5,
                      kFullDotSmall=6, kFullDotMedium=7, kFullDotLarge=8,
                      kFullCircle=20, kFullSquare=21, kFullTriangleUp=22,
                      kFullTriangleDown=23, kOpenCircle=24, kOpenSquare=25,
                      kOpenTriangleUp=26, kOpenDiamond=27, kOpenCross=28,
                      kFullStar=29, kOpenStar=30, kOpenTriangleDown=32,
                      kFullDiamond=33, kFullCross=34};

#endif

 TAttMarker.h:1
 TAttMarker.h:2
 TAttMarker.h:3
 TAttMarker.h:4
 TAttMarker.h:5
 TAttMarker.h:6
 TAttMarker.h:7
 TAttMarker.h:8
 TAttMarker.h:9
 TAttMarker.h:10
 TAttMarker.h:11
 TAttMarker.h:12
 TAttMarker.h:13
 TAttMarker.h:14
 TAttMarker.h:15
 TAttMarker.h:16
 TAttMarker.h:17
 TAttMarker.h:18
 TAttMarker.h:19
 TAttMarker.h:20
 TAttMarker.h:21
 TAttMarker.h:22
 TAttMarker.h:23
 TAttMarker.h:24
 TAttMarker.h:25
 TAttMarker.h:26
 TAttMarker.h:27
 TAttMarker.h:28
 TAttMarker.h:29
 TAttMarker.h:30
 TAttMarker.h:31
 TAttMarker.h:32
 TAttMarker.h:33
 TAttMarker.h:34
 TAttMarker.h:35
 TAttMarker.h:36
 TAttMarker.h:37
 TAttMarker.h:38
 TAttMarker.h:39
 TAttMarker.h:40
 TAttMarker.h:41
 TAttMarker.h:42
 TAttMarker.h:43
 TAttMarker.h:44
 TAttMarker.h:45
 TAttMarker.h:46
 TAttMarker.h:47
 TAttMarker.h:48
 TAttMarker.h:49
 TAttMarker.h:50
 TAttMarker.h:51
 TAttMarker.h:52
 TAttMarker.h:53
 TAttMarker.h:54
 TAttMarker.h:55
 TAttMarker.h:56
 TAttMarker.h:57
 TAttMarker.h:58
 TAttMarker.h:59
 TAttMarker.h:60
 TAttMarker.h:61
 TAttMarker.h:62
 TAttMarker.h:63
 TAttMarker.h:64
 TAttMarker.h:65
 TAttMarker.h:66
 TAttMarker.h:67
 TAttMarker.h:68