TQtMarker Class Reference

#include <TQtMarker.h>

List of all members.

Public Member Functions

 TQtMarker (int n=0, TPoint *xy=0, int type=0)
TQtMarkeroperator= (const TQtMarker &)
 TQtMarker (const TQtMarker &)
TQtMarkeroperator= (const TAttMarker &)
 TQtMarker (const TAttMarker &)
virtual ~TQtMarker ()
void DrawPolyMarker (QPainter &p, int n, TPoint *xy)
void SetMarkerAttributes (const TAttMarker &markerAttributes)
void SetColor (Color_t mcolor)
void SetPenAttributes (int type)
Color_t GetColor () const
int GetNumber () const
const QPolygon & GetNodes () const
int GetType () const
int GetWidth () const
void SetMarker (int n, TPoint *xy, int type)

Private Attributes

int fNumNode
QPolygon fChain
Color_t fCindex
int fMarkerType
int fLineWidth
int fLineOption


Detailed Description

Definition at line 37 of file TQtMarker.h.


Constructor & Destructor Documentation

TQtMarker::TQtMarker ( int  n = 0,
TPoint xy = 0,
int  type = 0 
)

TQtMarker::TQtMarker ( const TQtMarker  )  [inline]

Definition at line 81 of file TQtMarker.h.

TQtMarker::TQtMarker ( const TAttMarker  ) 

Definition at line 54 of file TQtMarker.cxx.

References SetMarkerAttributes().

TQtMarker::~TQtMarker (  )  [virtual]

Definition at line 44 of file TQtMarker.cxx.


Member Function Documentation

TQtMarker & TQtMarker::operator= ( const TQtMarker  )  [inline]

Definition at line 71 of file TQtMarker.h.

References fChain, fCindex, fLineWidth, fMarkerType, fNumNode, and m.

TQtMarker & TQtMarker::operator= ( const TAttMarker  ) 

Definition at line 46 of file TQtMarker.cxx.

References SetMarkerAttributes().

void TQtMarker::DrawPolyMarker ( QPainter &  p,
int  n,
TPoint xy 
)

Definition at line 108 of file TQtMarker.cxx.

References TGQt::ColorIndex(), fCindex, fLineOption, TPoint::fX, TPoint::fY, GetNodes(), GetNumber(), GetType(), gQt, i, m, and xy.

Referenced by TGQt::DrawPolyMarker().

void TQtMarker::SetMarkerAttributes ( const TAttMarker markerAttributes  ) 

Definition at line 61 of file TQtMarker.cxx.

References fCindex, fNumNode, TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), and SetPenAttributes().

Referenced by operator=(), and TQtMarker().

void TQtMarker::SetColor ( Color_t  mcolor  )  [inline]

Definition at line 87 of file TQtMarker.h.

References fCindex.

Referenced by TGQt::SetMarkerColor().

void TQtMarker::SetPenAttributes ( int  type  ) 

Definition at line 70 of file TQtMarker.cxx.

References fLineOption, fLineWidth, and fMarkerType.

Referenced by SetMarker(), and SetMarkerAttributes().

Color_t TQtMarker::GetColor (  )  const [inline]

Definition at line 89 of file TQtMarker.h.

References fCindex.

Referenced by TGQt::SetMarkerColor().

int TQtMarker::GetNumber (  )  const

Definition at line 84 of file TQtMarker.cxx.

References fNumNode.

Referenced by DrawPolyMarker().

const QPolygon & TQtMarker::GetNodes (  )  const

Definition at line 86 of file TQtMarker.cxx.

References fChain.

Referenced by DrawPolyMarker().

int TQtMarker::GetType (  )  const

Definition at line 88 of file TQtMarker.cxx.

References fMarkerType.

Referenced by DrawPolyMarker(), and SetMarker().

int TQtMarker::GetWidth (  )  const

Definition at line 91 of file TQtMarker.cxx.

References fLineWidth.

void TQtMarker::SetMarker ( int  n,
TPoint xy,
int  type 
)

Definition at line 94 of file TQtMarker.cxx.

References fChain, fNumNode, TPoint::fX, TPoint::fY, GetType(), i, kDot, SetPenAttributes(), and xy.

Referenced by TGQt::SetMarkerType().


Member Data Documentation

int TQtMarker::fNumNode [private]

Definition at line 41 of file TQtMarker.h.

Referenced by GetNumber(), operator=(), SetMarker(), and SetMarkerAttributes().

QPolygon TQtMarker::fChain [private]

Definition at line 42 of file TQtMarker.h.

Referenced by GetNodes(), operator=(), and SetMarker().

Color_t TQtMarker::fCindex [private]

Definition at line 43 of file TQtMarker.h.

Referenced by DrawPolyMarker(), GetColor(), operator=(), SetColor(), and SetMarkerAttributes().

int TQtMarker::fMarkerType [private]

Definition at line 44 of file TQtMarker.h.

Referenced by GetType(), operator=(), and SetPenAttributes().

int TQtMarker::fLineWidth [private]

Definition at line 45 of file TQtMarker.h.

Referenced by GetWidth(), operator=(), and SetPenAttributes().

int TQtMarker::fLineOption [private]

Definition at line 46 of file TQtMarker.h.

Referenced by DrawPolyMarker(), and SetPenAttributes().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:45:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1