![]() Rogue Wave Views 5.6 |
Rogue Wave Views |
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 | |
enum | Orientation { IlvXRightYTop, IlvXRightYBottom, IlvXTopYRight, IlvXBottomYRight, IlvXLeftYTop, IlvXLeftYBottom, IlvXTopYLeft, IlvXBottomYLeft } |
This enumeration type defines the axis orientation of a Cartesian system of coordinates. More... | |
Public Member Functions | |
IlvCartesianProjector (Orientation orientation=IlvXRightYTop) | |
Constructor. | |
Orientation | getOrientation () const |
Returns the orientation of the Cartesian system of coordinates. | |
void | setOrientation (Orientation orientation) |
Sets the orientation of the Cartesian system of coordinates. |
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 2012, 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.