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

XYCartesianAreaMask Class Reference

#include <xymcaar.h>

Inheritance diagram for XYCartesianAreaMask:

Inheritance graph
[legend]
Collaboration diagram for XYCartesianAreaMask:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYCartesianAreaMask (XYText *name, XYSeries *series, const XYAxis *x_axis, const XYAxis *y_axis, long color, xybool visible=xytrue, double value=0.0)
 XYCartesianAreaMask (XYSeries *series, const XYAxis *x_axis, const XYAxis *y_axis, long color, xybool visible=xytrue, double value=0.0)
virtual ~XYCartesianAreaMask (void)
virtual xybool pick (int px, int py)
virtual xybool fence (int x0, int y0, int x1, int y1)
virtual void drawIcon (int xmin, int ymin, int xmax, int ymax) const
virtual void draw (void)
virtual void draw (int xmin, int ymin, int xmax, int ymax) const
virtual void boundingBox (int &bxmin, int &bymin, int &bxmax, int &bymax) const
void value (double val)
double value (void)

Private Attributes

double _value

Constructor & Destructor Documentation

XYCartesianAreaMask::XYCartesianAreaMask (  XYText *    name,
XYSeries *    series,
const XYAxis *    x_axis,
const XYAxis *    y_axis,
long    color,
xybool    visible = xytrue,
double    value = 0.0
) 
 

Definition at line 22 of file xymcaar.cpp.

XYCartesianAreaMask::XYCartesianAreaMask (  XYSeries *    series,
const XYAxis *    x_axis,
const XYAxis *    y_axis,
long    color,
xybool    visible = xytrue,
double    value = 0.0
) 
 

Definition at line 35 of file xymcaar.cpp.

virtual XYCartesianAreaMask::~XYCartesianAreaMask (  void    )  [inline, virtual]
 

Definition at line 41 of file xymcaar.h.


Member Function Documentation

void XYCartesianAreaMask::boundingBox (  int &    bxmin,
int &    bymin,
int &    bxmax,
int &    bymax
)  const [virtual]
 

Implements XYObject.

Definition at line 308 of file xymcaar.cpp.

References XYMask::_series, XYCartesianMask::_x_axis, XYObject::_xmax, XYObject::_xmin, XYCartesianMask::_y_axis, XYObject::_ymax, XYObject::_ymin, MAX, XYAxis::min(), MIN, mtEqual(), XYObject::visible(), and xyfalse.

Referenced by fence().

void XYCartesianAreaMask::draw (  int    xmin,
int    ymin,
int    xmax,
int    ymax
)  const [virtual]
 

Implements XYObject.

Definition at line 159 of file xymcaar.cpp.

References XYMask::_series, XYCartesianMask::_x_axis, XYCartesianMask::_y_axis, XYObject::setViewport(), XYObject::setWindow(), XYObject::visible(), and xyfalse.

void XYCartesianAreaMask::draw (  void    )  [virtual]
 

Implements XYObject.

Definition at line 47 of file xymcaar.cpp.

void XYCartesianAreaMask::drawIcon (  int    xmin,
int    ymin,
int    xmax,
int    ymax
)  const [virtual]
 

Implements XYCartesianMask.

Definition at line 148 of file xymcaar.cpp.

xybool XYCartesianAreaMask::fence (  int    x0,
int    y0,
int    x1,
int    y1
)  [virtual]
 

Implements XYCartesianMask.

Definition at line 135 of file xymcaar.cpp.

References boundingBox(), mtInclude(), XYObject::visible(), xybool, and xyfalse.

xybool XYCartesianAreaMask::pick (  int    px,
int    py
)  [virtual]
 

Implements XYCartesianMask.

Definition at line 54 of file xymcaar.cpp.

References XYMask::_series, XYObject::_xmax, XYObject::_xmin, XYObject::_ymax, XYObject::_ymin, mtTolerance(), XYObject::setViewport(), XYObject::setWindow(), XYObject::visible(), XCROSSLINE, xybool, xyfalse, and xytrue.

double XYCartesianAreaMask::value (  void    )  [inline]
 

Definition at line 66 of file xymcaar.h.

void XYCartesianAreaMask::value (  double    val )  [inline]
 

Definition at line 65 of file xymcaar.h.


Member Data Documentation

double XYCartesianAreaMask::_value [private]
 

Definition at line 16 of file xymcaar.h.


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