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

XYMarker Class Reference

#include <xymk.h>

Inheritance diagram for XYMarker:

Inheritance graph
[legend]
Collaboration diagram for XYMarker:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYMarker (const XYAxis *axis, double pos, long color, int width, LineStyle style, xybool visible=xytrue)
virtual ~XYMarker (void)
virtual void axis (const XYAxis *ax)
virtual const XYAxisaxis (void) const
virtual void pos (double ps)
virtual double pos (void) const
virtual void color (long c)
virtual long color (void) const
virtual void width (int w)
virtual int width (void) const
virtual void style (XYObject::LineStyle st)
virtual int style (void) const
virtual void limit (double h)
virtual double limit (void) const
virtual void scaleValue (double x1, double y1, double *pos)
virtual void insertAction (XYGraph *g)
virtual void removeAction (XYGraph *g)
virtual xybool pick (int px, int py)=0
virtual xybool fence (int x0, int y0, int x1, int y1)=0
virtual void draw (void)=0
virtual void draw (int xmin, int ymin, int xmax, int ymax) const=0
virtual void boundingBox (int &bxmin, int &bymin, int &bxmax, int &bymax) const=0

Protected Attributes

const XYAxis_axis
double _pos
double _limit
long _color
int _width
LineStyle _style

Constructor & Destructor Documentation

XYMarker::XYMarker const XYAxis   axis,
double    pos,
long    color,
int    width,
LineStyle    style,
xybool    visible = xytrue
 

Definition at line 15 of file xymk.cpp.

References _axis, and XYObject::position().

virtual XYMarker::~XYMarker void    [inline, virtual]
 

Definition at line 34 of file xymk.h.


Member Function Documentation

const XYAxis * XYMarker::axis void    const [virtual]
 

Definition at line 39 of file xymk.cpp.

References _axis.

Referenced by XYCartesianMarker::boundingBox(), XYCartesianMarker::draw(), and scaleValue().

void XYMarker::axis const XYAxis   ax [virtual]
 

Definition at line 34 of file xymk.cpp.

References _axis.

virtual void XYMarker::boundingBox int &    bxmin,
int &    bymin,
int &    bxmax,
int &    bymax
const [pure virtual]
 

Implements XYObject.

Implemented in XYCartesianMarker.

long XYMarker::color void    const [virtual]
 

Definition at line 59 of file xymk.cpp.

References _color.

Referenced by XYCartesianMarker::draw().

void XYMarker::color long    c [virtual]
 

Definition at line 54 of file xymk.cpp.

References _color.

virtual void XYMarker::draw int    xmin,
int    ymin,
int    xmax,
int    ymax
const [pure virtual]
 

Implements XYObject.

Implemented in XYCartesianMarker.

virtual void XYMarker::draw void    [pure virtual]
 

Implements XYObject.

Implemented in XYCartesianMarker.

Referenced by XYGraph::draw().

virtual xybool XYMarker::fence int    x0,
int    y0,
int    x1,
int    y1
[pure virtual]
 

Implemented in XYCartesianMarker.

void XYMarker::insertAction XYGraph   g [virtual]
 

Definition at line 116 of file xymk.cpp.

double XYMarker::limit void    const [virtual]
 

Definition at line 89 of file xymk.cpp.

References _limit.

Referenced by XYCartesianMarker::boundingBox(), and XYCartesianMarker::draw().

void XYMarker::limit double    h [virtual]
 

Definition at line 84 of file xymk.cpp.

References _limit.

virtual xybool XYMarker::pick int    px,
int    py
[pure virtual]
 

Implemented in XYCartesianMarker.

double XYMarker::pos void    const [virtual]
 

Definition at line 49 of file xymk.cpp.

References _pos.

Referenced by XYCartesianMarker::boundingBox(), and XYCartesianMarker::draw().

void XYMarker::pos double    ps [virtual]
 

Definition at line 44 of file xymk.cpp.

References _pos.

void XYMarker::removeAction XYGraph   g [virtual]
 

Definition at line 121 of file xymk.cpp.

void XYMarker::scaleValue double    x1,
double    y1,
double *    pos
[virtual]
 

Definition at line 94 of file xymk.cpp.

References axis(), and XYObject::position().

int XYMarker::style void    const [virtual]
 

Definition at line 79 of file xymk.cpp.

References _style.

Referenced by XYCartesianMarker::draw().

void XYMarker::style XYObject::LineStyle    st [virtual]
 

Definition at line 74 of file xymk.cpp.

References _style.

int XYMarker::width void    const [virtual]
 

Definition at line 69 of file xymk.cpp.

References _width.

Referenced by XYCartesianMarker::draw().

void XYMarker::width int    w [virtual]
 

Definition at line 64 of file xymk.cpp.

References _width.


Member Data Documentation

const XYAxis* XYMarker::_axis [protected]
 

Definition at line 95 of file xymk.h.

Referenced by axis(), and XYMarker().

long XYMarker::_color [protected]
 

Definition at line 98 of file xymk.h.

Referenced by color().

double XYMarker::_limit [protected]
 

Definition at line 97 of file xymk.h.

Referenced by limit().

double XYMarker::_pos [protected]
 

Definition at line 96 of file xymk.h.

Referenced by pos().

LineStyle XYMarker::_style [protected]
 

Definition at line 100 of file xymk.h.

Referenced by style().

int XYMarker::_width [protected]
 

Definition at line 99 of file xymk.h.

Referenced by width().


The documentation for this class was generated from the following files:
XY
Tecgraf / PUC-Rio - Computer Graphics Technology Group