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

XYPolarAxis Class Reference

#include <xyaxpl.h>

Inheritance diagram for XYPolarAxis:

Inheritance graph
[legend]
Collaboration diagram for XYPolarAxis:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYPolarAxis (double radius, XYCoordinate x, XYCoordinate y, long color, double size, double rot, double step, XYScaleDecorator *decor, XYText *title, xybool arrow=xytrue, xybool visible=xytrue)
 XYPolarAxis (double radius, XYCoordinate x, XYCoordinate y, long color, double size, double rot, xybool arrow=xytrue, xybool visible=xytrue)
virtual ~XYPolarAxis (void)
virtual void polar2cart (double radius, double alpha, double &x, double &y) 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
virtual void firstTick (double &tx1, double &ty1, double &tx2, double &ty2) const

Constructor & Destructor Documentation

XYPolarAxis::XYPolarAxis double    radius,
XYCoordinate    x,
XYCoordinate    y,
long    color,
double    size,
double    rot,
double    step,
XYScaleDecorator   decor,
XYText   title,
xybool    arrow = xytrue,
xybool    visible = xytrue
 

Definition at line 19 of file xyaxpl.cpp.

XYPolarAxis::XYPolarAxis double    radius,
XYCoordinate    x,
XYCoordinate    y,
long    color,
double    size,
double    rot,
xybool    arrow = xytrue,
xybool    visible = xytrue
 

Definition at line 35 of file xyaxpl.cpp.

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

Definition at line 44 of file xyaxpl.h.


Member Function Documentation

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

Implements XYObject.

Definition at line 252 of file xyaxpl.cpp.

References MAX, MAX3, MIN, MIN3, mtEqual(), XY_PI, and xytrue.

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

Implements XYObject.

Definition at line 101 of file xyaxpl.cpp.

References XYAxis::_arrow, XYAxis::_decor, XYAxis::_rot, XYAxis::_size, XYAxis::_step, XYAxis::_title, XYObject::_xmax, XYObject::_xmin, XYObject::_ymax, XYObject::_ymin, draw(), XYAxis::drawArrow(), firstTick(), XYObject::getViewport(), mtEqual(), mtPointInRect(), mtRotate(), XYObject::position(), XYObject::setViewport(), XYObject::visible(), XY_PI, xyfalse, and xytrue.

void XYPolarAxis::draw void    [virtual]
 

Implements XYObject.

Definition at line 96 of file xyaxpl.cpp.

Referenced by draw().

void XYPolarAxis::firstTick double &    tx1,
double &    ty1,
double &    tx2,
double &    ty2
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 55 of file xyaxpl.cpp.

References XYAxis::_rot, XYAxis::_size, mtEqual(), mtRotate(), XYObject::position(), and XY_PI.

Referenced by draw().

void XYPolarAxis::polar2cart double    radius,
double    alpha,
double &    x,
double &    y
const [virtual]
 

Definition at line 48 of file xyaxpl.cpp.


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