is a generic vtkAlgorithm that allow the user to register several vtkAlgorithm to it and be able to switch the active one on the fly.
More...
#include <vtkPVDataSetAlgorithmSelectorFilter.h>
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
int | RegisterFilter (vtkAlgorithm *filter) |
| Register a new filter that can be used underneath in the requestData call. More...
|
|
void | UnRegisterFilter (int index) |
| UnRegister an existing filter that was previously registered. More...
|
|
void | ClearFilters () |
| Remove all the registered filters. More...
|
|
int | GetNumberOfFilters () |
| Return the current number of registered filters. More...
|
|
vtkAlgorithm * | GetFilter (int index) |
| Return the filter that lies at the given index of the filters registration queue. More...
|
|
vtkAlgorithm * | GetActiveFilter () |
| Return the current active filter if any otherwise return NULL. More...
|
|
virtual vtkAlgorithm * | SetActiveFilter (int index) |
| Set the active filter based on the given index of the filters registration queue. More...
|
|
vtkMTimeType | GetMTime () |
| Override GetMTime because we delegate to other filters to do the real work. More...
|
|
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
| Forward those methods to the underneath filters. More...
|
|
virtual int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
| Forward those methods to the underneath filters. More...
|
|
is a generic vtkAlgorithm that allow the user to register several vtkAlgorithm to it and be able to switch the active one on the fly.
The idea behind that filter is to merge the usage of any number of existing vtk filter and allow to easily switch from one implementation to another without changing anything in your pipeline.
Definition at line 32 of file vtkPVDataSetAlgorithmSelectorFilter.h.
◆ Superclass
◆ vtkPVDataSetAlgorithmSelectorFilter()
vtkPVDataSetAlgorithmSelectorFilter::vtkPVDataSetAlgorithmSelectorFilter |
( |
| ) |
|
|
protected |
◆ ~vtkPVDataSetAlgorithmSelectorFilter()
vtkPVDataSetAlgorithmSelectorFilter::~vtkPVDataSetAlgorithmSelectorFilter |
( |
| ) |
|
|
protected |
◆ GetClassName()
virtual const char* vtkPVDataSetAlgorithmSelectorFilter::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVDataSetAlgorithmSelectorFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVDataSetAlgorithmSelectorFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVDataSetAlgorithmSelectorFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ New()
◆ RegisterFilter()
int vtkPVDataSetAlgorithmSelectorFilter::RegisterFilter |
( |
vtkAlgorithm * |
filter | ) |
|
Register a new filter that can be used underneath in the requestData call.
The return value is the index of that registered filter that should be use to activate it later on. (This number can became wrong in case you remove some previous registered filter)
◆ UnRegisterFilter()
void vtkPVDataSetAlgorithmSelectorFilter::UnRegisterFilter |
( |
int |
index | ) |
|
UnRegister an existing filter that was previously registered.
◆ ClearFilters()
void vtkPVDataSetAlgorithmSelectorFilter::ClearFilters |
( |
| ) |
|
Remove all the registered filters.
◆ GetNumberOfFilters()
int vtkPVDataSetAlgorithmSelectorFilter::GetNumberOfFilters |
( |
| ) |
|
Return the current number of registered filters.
◆ GetFilter()
vtkAlgorithm* vtkPVDataSetAlgorithmSelectorFilter::GetFilter |
( |
int |
index | ) |
|
Return the filter that lies at the given index of the filters registration queue.
◆ GetActiveFilter()
vtkAlgorithm* vtkPVDataSetAlgorithmSelectorFilter::GetActiveFilter |
( |
| ) |
|
Return the current active filter if any otherwise return NULL.
◆ SetActiveFilter()
virtual vtkAlgorithm* vtkPVDataSetAlgorithmSelectorFilter::SetActiveFilter |
( |
int |
index | ) |
|
|
virtual |
Set the active filter based on the given index of the filters registration queue.
And return the corresponding active filter.
Reimplemented in vtkPVMetaSliceDataSet.
◆ GetMTime()
vtkMTimeType vtkPVDataSetAlgorithmSelectorFilter::GetMTime |
( |
| ) |
|
Override GetMTime because we delegate to other filters to do the real work.
◆ ProcessRequest() [1/2]
virtual int vtkPVDataSetAlgorithmSelectorFilter::ProcessRequest |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inInfo, |
|
|
vtkInformationVector * |
outInfo |
|
) |
| |
|
virtual |
◆ ProcessRequest() [2/2]
virtual int vtkPVDataSetAlgorithmSelectorFilter::ProcessRequest |
( |
vtkInformation * |
request, |
|
|
vtkCollection * |
inInfo, |
|
|
vtkInformationVector * |
outInfo |
|
) |
| |
|
virtual |
◆ RequestDataObject()
virtual int vtkPVDataSetAlgorithmSelectorFilter::RequestDataObject |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
◆ FillInputPortInformation()
virtual int vtkPVDataSetAlgorithmSelectorFilter::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
◆ FillOutputPortInformation()
virtual int vtkPVDataSetAlgorithmSelectorFilter::FillOutputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
◆ GetOutputType()
virtual int vtkPVDataSetAlgorithmSelectorFilter::GetOutputType |
( |
| ) |
|
|
protectedvirtual |
◆ SetOutputType()
virtual void vtkPVDataSetAlgorithmSelectorFilter::SetOutputType |
( |
int |
| ) |
|
|
protectedvirtual |
◆ OutputType
int vtkPVDataSetAlgorithmSelectorFilter::OutputType |
|
protected |
The documentation for this class was generated from the following file: