library: libCore #include "TAttMarker.h"

# TAttMarker

class description - source file - inheritance tree (.pdf)

## class TAttMarker

| Inheritance Chart:
`TAttMarker` |
<- |
`TF1` | <- |
`TF12` |
`TF2` | <- |
`TF3` |
`TGraph` | <- |
`TCutG` |
`TGraphAsymmErrors` |
`TGraphBentErrors` |
`TGraphErrors` |
`TGraph2D` |
| [more...]

        public:

                          TAttMarker()
                          TAttMarker(Color_t color, Style_t style, Size_t msize)
                          TAttMarker(const TAttMarker&)
                  virtual ~TAttMarker()
           static TClass* Class()
                     void Copy(TAttMarker& attmarker) const
          virtual Color_t GetMarkerColor() const
           virtual Size_t GetMarkerSize() const
          virtual Style_t GetMarkerStyle() const
          virtual TClass* IsA() const
             virtual void Modify()
              TAttMarker& operator=(const TAttMarker&)
             virtual void ResetAttMarker(Option_t* toption = "")
             virtual void SaveMarkerAttributes(ofstream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
             virtual void SetMarkerAttributes()
             virtual void SetMarkerColor(Color_t tcolor = 1)
             virtual void SetMarkerSize(Size_t msize = 1)
             virtual void SetMarkerStyle(Style_t mstyle = 1)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          Color_t fMarkerColor  Marker color index
          Style_t fMarkerStyle  Marker style
           Size_t fMarkerSize   Marker size

## Class Description

    *-*-*-*-*-*-*-*-*-*-*-*-*Marker Attributes class*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      =======================
    *-*  Marker attributes are:
    *-*    Marker Color
    *-*    Marker style
    *-*    Marker Size
    *-*
    *-*  This class is used (in general by secondary inheritance)
    *-*  by many other classes (graphics, histograms).
    *-*
    *-*  List of the currently supported markers (screen and PostScript)
    *-*  ===============================================================
    *-*      1 : dot                     kDot
    *-*      2 : +                       kPlus
    *-*      3 : *                       kStar
    *-*      4 : o                       kCircle
    *-*      5 : x                       kMultiply
    *-*      6 : small scalable dot      kFullDotSmall
    *-*      7 : medium scalable dot     kFullDotMedium
    *-*      8 : large scalable dot      kFullDotLarge
    *-*      9 -->15 : dot
    *-*     16 : open triangle down      kOpenTriangleDown
    *-*     18 : full cross              kFullCross
    *-*     20 : full circle             kFullCircle
    *-*     21 : full square             kFullSquare
    *-*     22 : full triangle up        kFullTriangleUp
    *-*     23 : full triangle down      kFullTriangleDown
    *-*     24 : open circle             kOpenCircle
    *-*     25 : open square             kOpenSquare
    *-*     26 : open triangle up        kOpenTriangleUp
    *-*     27 : open diamond            kOpenDiamond
    *-*     28 : open cross              kOpenCross
    *-*     29 : open star               kOpenStar
    *-*     30 : full star               kFullStar
    *-*

/* */

    *-*
    *-*   Various marker sizes are shown in the figure below.
    *-*   The default marker size=1 is shown in the botton left corner.
    *-*   Marker sizes smaller than 1 can be specified.
    *-*

/* */

    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TAttMarker()

    *-*-*-*-*-*-*-*-*-*-*-*-*AttMarker default constructor*-*-*-*-*-*-*-*-*-*-*
    *-*                      =============================
    *-*  Default text attributes are taking from the current style
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TAttMarker(Color_t color, Style_t style, Size_t msize)

    *-*-*-*-*-*-*-*-*-*-*-*-*AttMarker normal constructor*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      ============================
    *-*  Text attributes are taking from the argument list
    *-*    color : Marker Color Index
    *-*    style : Marker style (from 1 to 30)
    *-*    size  : marker size (float)
    *-*
    *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

~TAttMarker()

    *-*-*-*-*-*-*-*-*-*-*-*-*AttMarker destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
    *-*                      ====================

void Copy(TAttMarker &attmarker) const

    *-*-*-*-*-*-*-*-*Copy this marker attributes to a new atttext*-*-*-*-*-*-*-*
    *-*              ============================================

void Modify()

    *-*-*-*-*-*-*-*-*-*Change current marker attributes if necessary*-*-*-*-*-*-*
    *-*                =============================================

void ResetAttMarker(Option_t *)

    *-*-*-*-*-*-*-*-*Reset this marker attributes to default values*-*-*-*-*-*-*
    *-*              ==============================================

void SaveMarkerAttributes(ofstream &out, const char *name, Int_t coldef, Int_t stydef, Int_t sizdef)

     Save line attributes as C++ statement(s) on output stream out

void SetMarkerAttributes()

    *-*-*-*-*-*-*-*-*Invoke the DialogCanvas Marker attributes*-*-*-*-*-*-*
    *-*              =========================================

### Inline Functions

                Color_t GetMarkerColor() const
                Style_t GetMarkerStyle() const
                 Size_t GetMarkerSize() const
                   void SetMarkerColor(Color_t tcolor = 1)
                   void SetMarkerStyle(Style_t mstyle = 1)
                   void SetMarkerSize(Size_t msize = 1)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             TAttMarker TAttMarker(const TAttMarker&)
            TAttMarker& operator=(const TAttMarker&)

Author: Rene Brun 12/05/95
Last update: root/base:$Name: $:$Id: TAttMarker.cxx,v 1.9 2004/09/13 16:39:12 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *