|
SIVIC API
0.9.26
|
#include <svkImageAlgorithmPipeline.h>
Public Types | |
| enum | svkXMLImageAlgorithmParameters { PIPELINE = 0 } |
Public Member Functions | |
| vtkTypeMacro (svkImageAlgorithmPipeline, svkImageAlgorithmWithPortMapper) | |
| vtkAlgorithmOutput * | GetOutputByUniquePortID (string uniquePortID) |
Public Member Functions inherited from svkImageAlgorithmWithPortMapper | |
| vtkTypeMacro (svkImageAlgorithmWithPortMapper, svkImageAlgorithm) | |
| virtual void | SetInputPortsFromXML (vtkXMLDataElement *element) |
| Parses an XML element and converts it into input port parameters. Converts image filename strings to svkImageData objects. More... | |
| virtual svkAlgorithmPortMapper * | GetPortMapper () |
| Get the internal port mapper. More... | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| Prints all input parameters set. More... | |
Public Member Functions inherited from svkImageAlgorithm | |
| vtkTypeMacro (svkImageAlgorithm, vtkImageAlgorithm) | |
| svkImageData * | GetOutput () |
| svkImageData * | GetOutput (int port) |
| svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
| static svkImageAlgorithmPipeline * | New () |
Static Public Member Functions inherited from svkImageAlgorithmWithPortMapper | |
| static svkImageAlgorithmWithPortMapper * | New () |
Protected Member Functions | |
| svkImageAlgorithmPipeline () | |
| Constructor. More... | |
| ~svkImageAlgorithmPipeline () | |
| Destructor. More... | |
| virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
| VTK RequestData method. Pipeline is executed here. More... | |
| void | InitializeAlgorithmForTag (vtkXMLDataElement *tag) |
| This is a factory method for getting an algorithm. More... | |
Protected Member Functions inherited from svkImageAlgorithmWithPortMapper | |
| svkImageAlgorithmWithPortMapper () | |
| ~svkImageAlgorithmWithPortMapper () | |
| virtual int | FillInputPortInformation (int port, vtkInformation *info) |
| All ports must be initialized through the svkAlgorithmPortMapper BEFORE this method is called. More... | |
| virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
Protected Member Functions inherited from svkImageAlgorithm | |
| svkImageAlgorithm () | |
| ~svkImageAlgorithm () | |
| virtual int | FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
| virtual int | FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info) |
The purpose of this class is to take in an XML element that defines a set of ROI's, a set of images/maps, filters to apply to the ROI's/images/maps, and a set of statistics to be computed. Then statistics for every combination will be computed using svkImageStatistics and an XML data element will be output containing the results of the computation.
|
protected |
|
protected |
Destructor.
| vtkAlgorithmOutput * GetOutputByUniquePortID | ( | string | uniquePortID | ) |
Returns the output for a given unique port id.
|
protected |
This is a factory method for getting an algorithm.
Factory method for getting the algorithms by class name.
References svkImageReaderFactory::CreateImageReader2(), svkImageWriterFactory::CreateImageWriter(), svkUtils::FilePathExists(), GetDcmHeader(), svkImageData::GetDcmHeader(), svkImageWriterFactory::GetDefaultWriterForFilePattern(), svkAlgorithmPortMapper::GetInputPortType(), svkAlgorithmPortMapper::GetNumberOfOutputPorts(), svkImageReader2::GetOutput(), svkAlgorithmPortMapper::GetOutputPort(), svkAlgorithmPortMapper::GetXMLTagForOutputPort(), svkImageMathematics::New(), svkImageWriterFactory::New(), svkImageCopy::New(), svkImageReaderFactory::New(), svkDCEQuantify::New(), svkImageThreshold::New(), svkImageStatistics::New(), svkImageReader2::OnlyReadOneInputFile(), svkAlgorithmPortMapper::SetInputPortsFromXML(), svkDcmHeader::SetValue(), and svkAlgorithmPortMapper::SVK_MR_IMAGE_DATA.
Referenced by svkImageAlgorithmPipeline::RequestData().
|
static |
|
protectedvirtual |
VTK RequestData method. Pipeline is executed here.
Creates the algorithm pipeline and executes it.
References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkXML::GetValue(), svkAlgorithmPortMapper::GetXMLInputPortValue(), svkImageAlgorithmPipeline::InitializeAlgorithmForTag(), and svkImageAlgorithmPipeline::PIPELINE.
| vtkTypeMacro | ( | svkImageAlgorithmPipeline | , |
| svkImageAlgorithmWithPortMapper | |||
| ) |
1.8.5