Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAttMarker.h

Go to the documentation of this file.
00001 // @(#)root/base:$Name:  $:$Id: TAttMarker.h,v 1.3 2002/05/03 10:48:53 brun Exp $
00002 // Author: Rene Brun   12/05/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, 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 #ifndef ROOT_TAttMarker
00013 #define ROOT_TAttMarker
00014 
00015 
00017 //                                                                      //
00018 // TAttMarker                                                           //
00019 //                                                                      //
00020 // Marker attributes.                                                   //
00021 //                                                                      //
00023 
00024 #ifndef ROOT_Gtypes
00025 #include "Gtypes.h"
00026 #endif
00027 #ifndef ROOT_TString
00028 #include "TString.h"
00029 #endif
00030 
00031 
00032 class TAttMarker {
00033 
00034 protected:
00035         Color_t    fMarkerColor;       //Marker color index
00036         Style_t    fMarkerStyle;       //Marker style
00037         Size_t     fMarkerSize;        //Marker size
00038 
00039 public:
00040         TAttMarker();
00041         TAttMarker(Color_t color, Style_t style, Size_t msize);
00042         virtual ~TAttMarker();
00043                 void     Copy(TAttMarker &attmarker) const;
00044         virtual Color_t  GetMarkerColor() const {return fMarkerColor;}
00045         virtual Style_t  GetMarkerStyle() const {return fMarkerStyle;}
00046         virtual Size_t   GetMarkerSize()  const {return fMarkerSize;}
00047         virtual void     Modify();
00048         virtual void     ResetAttMarker(Option_t *toption="");
00049         virtual void     SaveMarkerAttributes(ofstream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1);
00050         virtual void     SetMarkerAttributes();  // *MENU*
00051         virtual void     SetMarkerColor(Color_t tcolor=1) { fMarkerColor = tcolor;}
00052         virtual void     SetMarkerStyle(Style_t mstyle=1) { fMarkerStyle = mstyle;}
00053         virtual void     SetMarkerSize(Size_t msize=1)    { fMarkerSize  = msize;}
00054 
00055         ClassDef(TAttMarker,1)  //Marker attributes
00056 };
00057 
00058 #endif
00059 

Generated on Thu Dec 18 14:52:16 2003 for ROOT by doxygen1.2.16