w2img::FilterFactory Class Reference

List of all members.

Detailed Description

The factory allows you to get a filter by name and parameters.

Author:
Lakshman
Version:
Id
w2img_FilterFactory.h,v 1.4 2009/06/02 20:17:57 lakshman Exp


Static Public Member Functions

static code::SmartPtr< Data2DFiltercreateFilter (const std::string &name, const std::vector< std::string > &params)
 Create filter.
static code::SmartPtr< Data2DFiltercreateFilter (const std::string &filter)
 Create filter from a string like this: percent:50 or gauss:34:23 or gauss:34:23,resize:300:500 i.e.


Member Function Documentation

static code::SmartPtr< Data2DFilter > w2img::FilterFactory::createFilter ( const std::string &  filter  )  [static]

Create filter from a string like this: percent:50 or gauss:34:23 or gauss:34:23,resize:300:500 i.e.

where the parameters are separated by colons and separate filters are separated by commas

static code::SmartPtr< Data2DFilter > w2img::FilterFactory::createFilter ( const std::string &  name,
const std::vector< std::string > &  params 
) [static]

Create filter.


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7