SIVIC API
0.9.26
|
#include <svkGenericAlgorithmWithPortMapper.h>
Public Member Functions | |
vtkTypeMacro (svkGenericAlgorithmWithPortMapper, vtkAlgorithm) | |
void | SetInputPortsFromXML (vtkXMLDataElement *element) |
Uses port mapper to parse an XML element and convert it into input port data objects. More... | |
svkAlgorithmPortMapper * | GetPortMapper () |
Get the internal XML interpreter. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) |
Prints all input parameters set. More... | |
Protected Member Functions | |
svkGenericAlgorithmWithPortMapper () | |
~svkGenericAlgorithmWithPortMapper () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
All ports must be initialized using the svkAlgorithmPortMapper BEFORE this method is called. More... | |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
All ports must be initialized using the svkAlgorithmPortMapper BEFORE this method is called. More... | |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Calls RequestData when the correct request comes through. More... | |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)=0 |
Must be implemented in sub-class. More... | |
Protected Attributes | |
svkAlgorithmPortMapper * | portMapper |
The port mapper used to set the input port parameters. More... | |
This baseclass is used to support the use of the svkAlgorithmPortMapper class. All parameters that control the execution of this algorithm are stored in input ports that can be set using the XML input to the svkAlgorithmPortMapper class.
|
protected |
References svkXML::NewObject(), and svkGenericAlgorithmWithPortMapper::portMapper.
|
protected |
References svkGenericAlgorithmWithPortMapper::portMapper.
|
protectedvirtual |
All ports must be initialized using the svkAlgorithmPortMapper BEFORE this method is called.
Pass through method to the internal svkAlgorithmPortMapper
References svkAlgorithmPortMapper::FillInputPortInformation(), and svkGenericAlgorithmWithPortMapper::GetPortMapper().
|
protectedvirtual |
All ports must be initialized using the svkAlgorithmPortMapper BEFORE this method is called.
Pass through method to the internal svkAlgorithmPortMapper
References svkAlgorithmPortMapper::FillOutputPortInformation(), and svkGenericAlgorithmWithPortMapper::GetPortMapper().
svkAlgorithmPortMapper * GetPortMapper | ( | ) |
Get the internal XML interpreter.
Returns the port mapper. Performs lazy initialization.
References svkAlgorithmPortMapper::New(), svkGenericAlgorithmWithPortMapper::portMapper, and svkAlgorithmPortMapper::SetAlgorithm().
Referenced by svkImageStatistics::ComputeAccumulateStatistics(), svkImageStatistics::ComputeSmoothStatistics(), svkGenericAlgorithmWithPortMapper::FillInputPortInformation(), svkGenericAlgorithmWithPortMapper::FillOutputPortInformation(), svkGenericAlgorithmWithPortMapper::PrintSelf(), svkImageStatistics::RequestData(), svkGenericAlgorithmWithPortMapper::SetInputPortsFromXML(), and svkImageStatistics::svkImageStatistics().
void PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Prints all input parameters set.
PrintSelf method calls parent class PrintSelf, then prints all parameters using the port mapper.
References svkGenericAlgorithmWithPortMapper::GetPortMapper(), and svkAlgorithmPortMapper::PrintSelf().
|
protectedvirtual |
Calls RequestData when the correct request comes through.
This method forwards data request to the RequestData method.
References svkGenericAlgorithmWithPortMapper::RequestData().
|
protectedpure virtual |
Must be implemented in sub-class.
Implemented in svkImageStatistics.
Referenced by svkGenericAlgorithmWithPortMapper::ProcessRequest().
void SetInputPortsFromXML | ( | vtkXMLDataElement * | element | ) |
Uses port mapper to parse an XML element and convert it into input port data objects.
Pass through method to the internal svkAlgorithmPortMapper
References svkGenericAlgorithmWithPortMapper::GetPortMapper(), and svkAlgorithmPortMapper::SetInputPortsFromXML().
vtkTypeMacro | ( | svkGenericAlgorithmWithPortMapper | , |
vtkAlgorithm | |||
) |
|
protected |
The port mapper used to set the input port parameters.
Referenced by svkGenericAlgorithmWithPortMapper::GetPortMapper(), svkGenericAlgorithmWithPortMapper::svkGenericAlgorithmWithPortMapper(), and svkGenericAlgorithmWithPortMapper::~svkGenericAlgorithmWithPortMapper().