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

XYLogAxis Class Reference

#include <xyaxlg.h>

Inheritance diagram for XYLogAxis:

Inheritance graph
[legend]
Collaboration diagram for XYLogAxis:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYLogAxis (double mn, double mx, XYCoordinate x, XYCoordinate y, long color, double size, double rot, double step, XYScaleDecorator *decor, XYText *title, xybool arrow=xytrue, xybool visible=xytrue)
 XYLogAxis (double mn, double mx, XYCoordinate x, XYCoordinate y, long color, double size, double rot, xybool arrow=xytrue, xybool visible=xytrue)
virtual ~XYLogAxis (void)
virtual double defineMinPoint (double value, int x0, int y0) const
virtual double defineMaxPoint (double value, int x0, int y0) const
virtual double transform (double e) const
virtual double valueInPoint (int x0, int y0) const
virtual double valueInPoint (double x0, double y0) const
virtual void pointInValue (double value, int &x0, int &y0) const
virtual void pointInValue (double value, double &x0, double &y0) 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

Constructor & Destructor Documentation

XYLogAxis::XYLogAxis double    mn,
double    mx,
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 xyaxlg.cpp.

XYLogAxis::XYLogAxis double    mn,
double    mx,
XYCoordinate    x,
XYCoordinate    y,
long    color,
double    size,
double    rot,
xybool    arrow = xytrue,
xybool    visible = xytrue
 

Definition at line 36 of file xyaxlg.cpp.

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

Definition at line 47 of file xyaxlg.h.


Member Function Documentation

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

Implements XYObject.

Definition at line 324 of file xyaxlg.cpp.

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

double XYLogAxis::defineMaxPoint double    value,
int    x0,
int    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 85 of file xyaxlg.cpp.

References XYAxis::_mn, XYAxis::_rot, XYAxis::max(), XYObject::position(), XYObject::setViewport(), XYObject::setWindow(), XYAxis::size(), and XY_PI.

double XYLogAxis::defineMinPoint double    value,
int    x0,
int    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 56 of file xyaxlg.cpp.

References XYAxis::_mx, XYAxis::_rot, XYAxis::_size, XYAxis::min(), XYObject::position(), XYObject::setViewport(), XYObject::setWindow(), and XY_PI.

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

Implements XYObject.

Definition at line 233 of file xyaxlg.cpp.

References XYAxis::_arrow, XYAxis::_decor, XYAxis::_mn, XYAxis::_mx, XYAxis::_rot, XYAxis::_size, XYAxis::_step, XYAxis::_title, draw(), XYAxis::drawArrow(), XYObject::getViewport(), mtDecade(), mtEqual(), mtRotate(), XYObject::position(), XYObject::setViewport(), XYObject::visible(), XY_PI, xyfalse, and xytrue.

void XYLogAxis::draw void    [virtual]
 

Implements XYObject.

Definition at line 228 of file xyaxlg.cpp.

Referenced by draw().

void XYLogAxis::pointInValue double    value,
double &    x0,
double &    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 202 of file xyaxlg.cpp.

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

void XYLogAxis::pointInValue double    value,
int &    x0,
int &    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 171 of file xyaxlg.cpp.

References XYAxis::_rot, XYAxis::_size, XYObject::position(), XYObject::setViewport(), XYObject::setWindow(), and XY_PI.

double XYLogAxis::transform double    e const [virtual]
 

Reimplemented from XYAxis.

Definition at line 49 of file xyaxlg.cpp.

double XYLogAxis::valueInPoint double    x0,
double    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 144 of file xyaxlg.cpp.

References XYAxis::_rot, XYObject::position(), XYAxis::size(), and XY_PI.

double XYLogAxis::valueInPoint int    x0,
int    y0
const [virtual]
 

Reimplemented from XYAxis.

Definition at line 110 of file xyaxlg.cpp.

References XYAxis::_rot, XYObject::position(), XYObject::setViewport(), XYObject::setWindow(), XYAxis::size(), and XY_PI.


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