Rogue Wave Views
Charts Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvChartPointsFilterFactory Class Reference

Factory to create instances that manage data point projection. More...

#include <ilviews/charts/display.h>

Inheritance diagram for IlvChartPointsFilterFactory:
IlvChartDisplayerPointsFactory

Public Member Functions

 IlvChartPointsFilterFactory (IlvDim clusterSize)
 Constructor. More...
 
virtual IlvChartDisplayerPointsFactorycopy () const
 Virtual copy constructor. More...
 
virtual IlvChartDisplayerPointscreate (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...
 

Detailed Description

Factory to create instances that manage data point projection.

Library: ilvcharts

This factory is used to create instances of the IlvChartPointsFilter class.

See also
IlvChartDisplayerPointsFactory.

Constructor & Destructor Documentation

IlvChartPointsFilterFactory::IlvChartPointsFilterFactory ( IlvDim  clusterSize)

Constructor.

Initializes a new IlvChartPointsFilterFactory instance.

Parameters
clusterSizeThe minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.

Member Function Documentation

virtual IlvChartDisplayerPointsFactory* IlvChartPointsFilterFactory::copy ( ) const
virtual

Virtual copy constructor.

Creates and returns a copy of the current object. This method must be overloaded in subclasses.

Returns
A copy of the current object.

Implements IlvChartDisplayerPointsFactory.

virtual IlvChartDisplayerPoints* IlvChartPointsFilterFactory::create ( const IlvChartGraphic chart,
const IlvSingleChartDisplayer disp 
)
virtual

Creates an instance that handles data point projection.

This method creates an IlvChartPointsFilter object.

Parameters
chartThe chart that displays the data.
dispThe displayer for which the IlvChartPointsFilter object is created.
Returns
An instance that will handle data point projection for the displayer disp.

Implements IlvChartDisplayerPointsFactory.

IlvDim IlvChartPointsFilterFactory::getClusterSize ( ) const

Returns the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.

Returns
The minimum distance between two consecutive displayed points that is used to initialize the created 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.

Parameters
sizeThe new minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.

© 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.