library: libCore
#include "TAttMarker.h"

TAttMarker


class description - header file - source file
viewCVS header - viewCVS source

class TAttMarker

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TAttMarker()
TAttMarker(const TAttMarker&)
TAttMarker(Color_t color, Style_t style, Size_t msize)
virtual~TAttMarker()
static TClass*Class()
voidCopy(TAttMarker& attmarker) const
virtual Color_tGetMarkerColor() const
virtual Size_tGetMarkerSize() const
virtual Style_tGetMarkerStyle() const
virtual TClass*IsA() const
virtual voidModify()
TAttMarker&operator=(const TAttMarker&)
virtual voidResetAttMarker(Option_t* toption = "")
virtual voidSaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidSetMarkerAttributes()
virtual voidSetMarkerColor(Color_t tcolor = 1)
virtual voidSetMarkerSize(Size_t msize = 1)
virtual voidSetMarkerStyle(Style_t mstyle = 1)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

protected:
Color_tfMarkerColorMarker color index
Style_tfMarkerStyleMarker style
Size_tfMarkerSizeMarker 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)
*-*-*-*-*-*-*-*-*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(ostream &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*-*-*-*-*-*-*
*-*              =========================================
TAttMarker()
Color_t GetMarkerColor()
{return fMarkerColor;}
Style_t GetMarkerStyle()
{return fMarkerStyle;}
Size_t GetMarkerSize()
{return fMarkerSize;}
void SetMarkerColor(Color_t tcolor=1)
{ fMarkerColor = tcolor;}
void SetMarkerStyle(Style_t mstyle=1)
{ fMarkerStyle = mstyle;}
void SetMarkerSize(Size_t msize=1)
{ fMarkerSize = msize;}

Author: Rene Brun 12/05/95
Last update: root/base:$Name: $:$Id: TAttMarker.cxx,v 1.10 2006/07/03 16:10:43 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.