SIVIC API  0.9.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
svkThreadedImageAlgorithm Class Reference

#include <svkThreadedImageAlgorithm.h>

Inheritance diagram for svkThreadedImageAlgorithm:
svkHSVD svkMRSAutoPhase svkMRSFirstPointPhase svkMRSZeroOrderPhase svkMRSFirstOrderPhase

Public Member Functions

 vtkTypeMacro (svkThreadedImageAlgorithm, vtkThreadedImageAlgorithm)
 
svkImageDataGetOutput ()
 
virtual svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Protected Member Functions

 svkThreadedImageAlgorithm ()
 
 ~svkThreadedImageAlgorithm ()
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
int SplitExtent (int splitExt[6], int startExt[6], int num, int total)
 

Detailed Description

Base class for svkThreadedImageAlgorithm. Implicitly in place with output port wired to input port 0.

Constructor & Destructor Documentation

~svkThreadedImageAlgorithm ( )
protected

Member Function Documentation

int FillInputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual

Default input type is svkImageData base class. Override with a specific concrete type in sub class if necessary.

Reimplemented in svkMRSAutoPhase.

int FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual

Default output type is same concrete sub class type as the input data. Override with specific concrete type in sub-class if necessary.

Reimplemented in svkMRSAutoPhase.

References svkThreadedImageAlgorithm::GetImageDataInput().

svkImageData * GetImageDataInput ( int  port)
svkImageData * GetOutput ( )
svkImageData * GetOutput ( int  port)
virtual

Wire input to output for in place filters

Reimplemented in svkMRSAutoPhase.

References svkThreadedImageAlgorithm::GetImageDataInput().

int SplitExtent ( int  splitExt[6],
int  startExt[6],
int  num,
int  total 
)
protected

Modification of default vtk SplitExtent. The default version splits starting on the 3rd axis, but here for better efficiency the split is done on the axis with the largest nuber of cells.

For streaming and threads. Splits output update extent into num pieces. This method needs to be called num times. Results must not overlap for consistent starting extent. Subclass can override this method. This method returns the number of peices resulting from a successful split. This can be from 1 to "total". If 1 is returned, the extent cannot be split.

vtkTypeMacro ( svkThreadedImageAlgorithm  ,
vtkThreadedImageAlgorithm   
)

The documentation for this class was generated from the following files: