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

#include <svkImageMathematics.h>

Inheritance diagram for svkImageMathematics:

Public Types

enum  svkImageMathematicsParameters {
  INPUT_IMAGE_1 = 0, INPUT_IMAGE_2, MASK, ADD,
  SUBTRACT, MULTIPLY, MULTIPLY_BY_SCALAR, MULTIPLY_IMAGE_1_BY_IMAGE_2_MEDIAN,
  NUM_BINS_FOR_HISTOGRAM, BIN_SIZE_FOR_HISTOGRAM, START_BIN_FOR_HISTOGRAM, SMOOTH_BINS_FOR_HISTOGRAM,
  MASK_FOR_MEDIAN, OUTPUT_SERIES_DESCRIPTION, OUTPUT_TYPE
}
 
enum  svkImageMathematicsOutputType { UNDEFINED = 0, UNSIGNED_INT_2 = 1, SIGNED_FLOAT_4 }
 

Public Member Functions

void SetInputPortsFromXML ()
 Uses port mapper to parse an XML element and convert it into input port data objects. More...
 
svkAlgorithmPortMapperGetPortMapper ()
 Get the internal XML interpreter. More...
 
 vtkTypeMacro (svkImageMathematics, vtkImageMathematics)
 
virtual void Update ()
 
void PrintSelf (ostream &os, vtkIndent indent)
 Prints all input parameters set. More...
 
void SetOutputType (int outputType)
 
svkIntGetOutputType ()
 

Static Public Member Functions

static svkImageMathematicsNew ()
 

Protected Member Functions

 svkImageMathematics ()
 
 ~svkImageMathematics ()
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 

Protected Attributes

svkAlgorithmPortMapperportMapper
 The port mapper used to set the input port parameters. More...
 

Detailed Description

Wrapper class around vtkImageMathematics that operates on each vtkPointData array in the input vtkImageData objects. This is a convenience for applying an operation to a multi-volume image object.

Member Enumeration Documentation

Enumerator
UNDEFINED 
UNSIGNED_INT_2 
SIGNED_FLOAT_4 
Enumerator
INPUT_IMAGE_1 
INPUT_IMAGE_2 
MASK 
ADD 
SUBTRACT 
MULTIPLY 
MULTIPLY_BY_SCALAR 
MULTIPLY_IMAGE_1_BY_IMAGE_2_MEDIAN 
NUM_BINS_FOR_HISTOGRAM 
BIN_SIZE_FOR_HISTOGRAM 
START_BIN_FOR_HISTOGRAM 
SMOOTH_BINS_FOR_HISTOGRAM 
MASK_FOR_MEDIAN 
OUTPUT_SERIES_DESCRIPTION 
OUTPUT_TYPE 

Constructor & Destructor Documentation

svkImageMathematics ( )
protected
~svkImageMathematics ( )
protected

Member Function Documentation

int FillInputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual
int FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual
svkInt * GetOutputType ( )
svkAlgorithmPortMapper * GetPortMapper ( )
static svkImageMathematics* New ( )
static
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 svkImageMathematics::GetPortMapper(), and svkAlgorithmPortMapper::PrintSelf().

void SetInputPortsFromXML ( )
void SetOutputType ( int  outputType)
void Update ( )
virtual
vtkTypeMacro ( svkImageMathematics  ,
vtkImageMathematics   
)

Member Data Documentation

svkAlgorithmPortMapper* portMapper
protected

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