rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Charts Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvChartPointsFilterFactory Class Reference

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

#include <ilviews/charts/display.h>

Inheritance diagram for IlvChartPointsFilterFactory:
IlvChartDisplayerPointsFactory

List of all members.

Public Member Functions

 IlvChartPointsFilterFactory (IlvDim clusterSize)
 Constructor.
virtual
IlvChartDisplayerPointsFactory
copy () const
 Virtual copy constructor.
virtual IlvChartDisplayerPointscreate (const IlvChartGraphic *chart, const IlvSingleChartDisplayer *disp)
 Creates an instance that handles data point projection.
IlvDim getClusterSize () const
 Returns the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.
void setClusterSize (IlvDim size)
 Sets the minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.

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:
clusterSize The 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:
chart The chart that displays the data.
disp The 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:
size The new minimum distance between two consecutive displayed points that is used to initialize the created IlvChartPointsFilter instances.

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