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

XYCartesianSlice Class Reference

#include <xyslca.h>

Inheritance diagram for XYCartesianSlice:

Inheritance graph
[legend]
Collaboration diagram for XYCartesianSlice:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYCartesianSlice (const XYAxis *axis, double begin, double end, xybool visible=xytrue)
virtual ~XYCartesianSlice (void)
virtual xybool pick (int px, int py)
virtual xybool fence (int x0, int y0, int x1, int y1)
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

Constructor & Destructor Documentation

XYCartesianSlice::XYCartesianSlice const XYAxis   axis,
double    begin,
double    end,
xybool    visible = xytrue
 

Definition at line 15 of file xyslca.cpp.

References XYSlice::_backgroundColor, XYSlice::_beginMarker, XYSlice::_endMarker, and XYSlice::changeColor().

XYCartesianSlice::~XYCartesianSlice void    [virtual]
 

Definition at line 29 of file xyslca.cpp.

References XYSlice::_beginMarker, and XYSlice::_endMarker.


Member Function Documentation

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

Implements XYSlice.

Definition at line 107 of file xyslca.cpp.

References XYSlice::_beginMarker, XYSlice::_endMarker, MAX, MIN, XYObject::visible(), and xyfalse.

Referenced by draw(), fence(), and pick().

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

Implements XYSlice.

Definition at line 72 of file xyslca.cpp.

References XYSlice::_beginMarker, XYSlice::_endMarker, XYSlice::backgroundColor(), boundingBox(), draw(), XYObject::getViewport(), MAX, MIN, XYObject::visible(), and xyfalse.

void XYCartesianSlice::draw void    [virtual]
 

Implements XYSlice.

Definition at line 62 of file xyslca.cpp.

References XYObject::getViewport().

Referenced by draw().

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

Implements XYSlice.

Definition at line 50 of file xyslca.cpp.

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

xybool XYCartesianSlice::pick int    px,
int    py
[virtual]
 

Implements XYSlice.

Definition at line 38 of file xyslca.cpp.

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


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