Rogue Wave Views Charts Package API Reference Guide |
Rogue Wave Views Documentation Home |
Class for projection of data expressed in a Cartesian system of coordinates. More...
#include <ilviews/charts/common.h>
Public Types |
Public Member Functions | |
IlvCartesianProjector (Orientation orientation=IlvXRightYTop) | |
Constructor. More... | |
Orientation | getOrientation () const |
Returns the orientation of the Cartesian system of coordinates. More... | |
void | setOrientation (Orientation orientation) |
Sets the orientation of the Cartesian system of coordinates. More... | |
Public Member Functions inherited from IlvAbstractProjector | |
virtual IlvAbstractProjector * | copy () const =0 |
Virtual copy constructor. More... | |
void | lock () |
Locks the current IlvAbstractProjector object. More... | |
IlvOutputFile & | save (IlvOutputFile &file) const |
Writes a complete description of the current object in a file. More... | |
void | unLock () |
Unlocks the current IlvAbstractProjector object. More... | |
virtual void | write (IlvOutputFile &file) const =0 |
Writes the attributes of the current object in a file. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvAbstractProjector | |
static IlvAbstractProjector * | Load (IlvInputFile &file) |
Reads a projector object from a file. More... | |
Protected Member Functions inherited from IlvAbstractProjector | |
IlvAbstractProjector () | |
Constructor. More... | |
IlvAbstractProjector (const IlvAbstractProjector &projector) | |
Constructor. More... | |
IlvAbstractProjector (IlvInputFile &file) | |
Constructor. More... | |
Class for projection of data expressed in a Cartesian system of coordinates.
Library: ilvcharts
This class is a subclass of IlvAbstractProjector
that handles the projection into screen coordinates for data expressed in a Cartesian system of coordinates (x, y). The scales representing such coordinates are rectangular and are displayed orthogonally. The x values are represented by the abscissa scale and the y values are represented by one or several ordinate scales. The orientation of the scales depends on the orientation of the Cartesian system of coordinates. This orientation is returned by the IlvCartesianProjector::getOrientation
method.
IlvAbstractProjector
. This enumeration type defines the axis orientation of a Cartesian system of coordinates.
IlvCartesianProjector::IlvCartesianProjector | ( | Orientation | orientation = IlvXRightYTop | ) |
Constructor.
Initializes a new IlvCartesianProjector
object.
orientation | The orientation of the Cartesian system of coordinates. |
Orientation IlvCartesianProjector::getOrientation | ( | ) | const |
Returns the orientation of the Cartesian system of coordinates.
setOrientation
. void IlvCartesianProjector::setOrientation | ( | Orientation | orientation | ) |
Sets the orientation of the Cartesian system of coordinates.
orientation | The new orientation of the Cartesian system of coordinates. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.