TAttMarker


class description - source file - inheritance tree

class TAttMarker


    public:
TAttMarker TAttMarker() TAttMarker TAttMarker(Color_t color, Style_t style, Size_t msize) TAttMarker TAttMarker(TAttMarker&) virtual void ~TAttMarker() TClass* Class() void Copy(TAttMarker& attmarker) virtual Color_t GetMarkerColor() virtual Size_t GetMarkerSize() virtual Style_t GetMarkerStyle() virtual TClass* IsA() virtual void Modify() virtual void Reset(Option_t* toption) virtual void SaveMarkerAttributes(ofstream& out, Text_t* 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)

Data Members

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


See also

TF1, TGXW, TGraph, TH1, TMarker, TPolyMarker, TPolyMarker3D, TPostScript, TStyle, TTree

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
*-*      2 : +
*-*      3 : *
*-*      4 : o (open circle)
*-*      5 : x
*-*      6 : full circle (small)
*-*      7 : full circle (medium)
*-*      8 : full circle (large)
*-*      9 -->19 : dot
*-*     20 : full circle
*-*     21 : full square
*-*     22 : full triangle up
*-*     23 : full triangle down
*-*     24 : open circle
*-*     25 : open square
*-*     26 : open triangle up
*-*     27 : open diamond
*-*     28 : open cross
*-*     29 : open star
*-*     30 : full star
*-*

/*

*/

*-*
*-*   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 Reset(Option_t *)
*-*-*-*-*-*-*-*-*Reset this marker attributes to default values*-*-*-*-*-*-*
*-*              ==============================================

void SaveMarkerAttributes(ofstream &out, const Text_t *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()
            Style_t GetMarkerStyle()
             Size_t GetMarkerSize()
               void SetMarkerColor(Color_t tcolor = 1)
               void SetMarkerStyle(Style_t mstyle = 1)
               void SetMarkerSize(Size_t msize = 1)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
         TAttMarker TAttMarker(TAttMarker&)


Author: Rene Brun 12/05/95
Last update: 2.22/09 12/07/99 17.54.52 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - 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.