IlvFilterFlow Class Reference
Bitmap filter flow class.
More...
#include <ilviews/bitmaps/flow.h>
List of all members.
Detailed Description
Bitmap filter flow class.
Library: display
The bitmap filter lets you manipulate a flow of bitmap filters. It manages bitmap filters and named bitmap data using named inputs and outputs. The input bitmap data will be referenced as Sourcegraphic. The input alpha bitmap data will be referenced as SourceAlpha.
- See also:
IlvBitmapData, IlvBitmapFilter
Constructor & Destructor Documentation
| IlvFilterFlow::IlvFilterFlow |
( |
|
) |
|
Constructor.
Initializes a new IlvFilterFlow from the given XML description.
- Parameters:
-
| element | The XML element describing the filter flow. |
| IlvFilterFlow::IlvFilterFlow |
( |
ILVSTDPREF istream & |
stream, |
|
|
const IlString & |
name | |
|
) |
| | |
Constructor.
Initializes a new IlvFilterFlow from a stream containing a filter library.
- Parameters:
-
| stream | The stream containing the filter library. |
| name | The name of the filter. |
| virtual IlvFilterFlow::~IlvFilterFlow |
( |
|
) |
[virtual] |
Destructor.
The destructor releases all the memory used by the instance.
Member Function Documentation
| virtual void IlvFilterFlow::addBitmapData |
( |
IlvBitmapData * |
data |
) |
[virtual] |
Adds a bitmap data to the handled bitmap data list.
- Parameters:
-
| data | The bitmap data to be handled. |
| virtual void IlvFilterFlow::addFilter |
( |
IlvBitmapFilter * |
filter |
) |
[virtual] |
Adds a filter to the handled filters list.
- Parameters:
-
| filter | The filter to be handled. |
Applies the filter to the given inputs.
- Parameters:
-
| count | The number of inputs. |
| datas | An array of count IlvBitmapData instances. |
- Returns:
- The resulting bitmap data;
Reimplemented from IlvBitmapFilter.
| virtual IlvBitmapData* IlvFilterFlow::getBitmapData |
( |
const char * |
name |
) |
const [virtual] |
Returns a handled bitmap data by its name.
- Parameters:
-
| name | The name of the bitmap data. |
- Returns:
- The bitmap data.
| virtual IlUInt IlvFilterFlow::getBitmapDatasCardinal |
( |
|
) |
const [virtual] |
Returns the number of handled bitmap data.
- Returns:
- The number of handled bitmap data.
| const IlString& IlvFilterFlow::getDescription |
( |
|
) |
const |
Returns a description of the filter flow.
- Returns:
- A description of the filter flow.
| virtual IlvBitmapFilter* IlvFilterFlow::getFilter |
( |
const char * |
name |
) |
const [virtual] |
Returns a filter from its name.
- Parameters:
-
| name | The name of the filter. |
- Returns:
- The filter whose name is name.
Returns an array of handled filters.
- Parameters:
-
| count | The number of handled filters. |
- Returns:
- The array of handled filters.
| virtual IlUInt IlvFilterFlow::getFiltersCardinal |
( |
|
) |
const [virtual] |
Returns the number of handled filters.
- Returns:
- The number of handled filters.
Invalidates the given filter. When using apply() the first filter to be applied will be the first invalidated filter.
- Parameters:
-
| filter | The filter to invalidate. If 0 the whole flow is invalidated. |
Creates a filter flow from an XML node.
- Parameters:
-
| element | The XML element describing the filter flow. |
| static IlvFilterFlow** IlvFilterFlow::Read |
( |
ILVSTDPREF istream & |
stream, |
|
|
IlUInt & |
count | |
|
) |
| | [static] |
Returns an array of IlvFilterFlow instances from a stream.
- Parameters:
-
| stream | The stream to read from. |
| count | The number of read IlvFilterFlow instances. |
- Returns:
- An array of count
IlvFilterFlow instances.
| virtual void IlvFilterFlow::removeBitmapData |
( |
const char * |
name |
) |
[virtual] |
Removes a bitmap data from the list of handled bitmap data.
- Parameters:
-
| name | The name of the bitmap data. |
| virtual void IlvFilterFlow::removeFilter |
( |
IlvBitmapFilter * |
filter |
) |
[virtual] |
Removes a filter from the handled filters list.
- Parameters:
-
| filter | The filter to be removed from the handled filters list. |
| void IlvFilterFlow::setDescription |
( |
const IlString & |
desc |
) |
|
Sets the description of the filter flow.
- Parameters:
-
| desc | The description of the filter flow. |
© 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.