Factory to create instances that manage data point projection. More...
#include <ilviews/charts/display.h>
Public Member Functions | |
IlvChartPointsFilterFactory (IlvDim clusterSize) | |
Constructor. More... | |
virtual IlvChartDisplayerPointsFactory * | copy () const |
Virtual copy constructor. More... | |
virtual IlvChartDisplayerPoints * | create (const IlvChartGraphic *chart, const IlvSingleChartDisplayer *disp) |
Creates an instance that handles data point projection. More... | |
IlvDim | getClusterSize () const |
Returns the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances. More... | |
void | setClusterSize (IlvDim size) |
Sets the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances. More... | |
Public Member Functions inherited from IlvChartDisplayerPointsFactory | |
virtual void | release (const IlvSingleChartDisplayer *disp, IlvChartDisplayerPoints *dispPts) |
Free the created instance that handles data point projection. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvChartDisplayerPointsFactory | |
IlvChartDisplayerPointsFactory () | |
Constructor. More... | |
Factory to create instances that manage data point projection.
Library: ilvcharts
This factory is used to create instances of the IlvChartPointsFilter
class.
IlvChartDisplayerPointsFactory
. IlvChartPointsFilterFactory::IlvChartPointsFilterFactory | ( | IlvDim | clusterSize | ) |
Constructor.
Initializes a new IlvChartPointsFilterFactory
instance.
clusterSize | The minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances. |
|
virtual |
Virtual copy constructor.
Creates and returns a copy of the current object. This method must be overloaded in subclasses.
Implements IlvChartDisplayerPointsFactory.
|
virtual |
Creates an instance that handles data point projection.
This method creates an IlvChartPointsFilter
object.
chart | The chart that displays the data. |
disp | The displayer for which the IlvChartPointsFilter object is created. |
Implements IlvChartDisplayerPointsFactory.
IlvDim IlvChartPointsFilterFactory::getClusterSize | ( | ) | const |
Returns the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter
instances.
IlvChartPointsFilter
instances. void IlvChartPointsFilterFactory::setClusterSize | ( | IlvDim | size | ) |
Sets the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter
instances.
size | The new minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances. |