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 | List of all members
svkMrsSingleVoxelSincExtraction Class Reference

#include <svkMrsSingleVoxelSincExtraction.h>

Inheritance diagram for svkMrsSingleVoxelSincExtraction:
svkImageAlgorithmWithPortMapper svkImageAlgorithm

Public Types

enum  svkMrsSingleVoxelExtractionInput {
  INPUT_SPECTRA = 0, L_COORDINATE, P_COORDINATE, S_COORDINATE,
  RETAIN_INPUT_EXTENT
}
 

Public Member Functions

 vtkTypeMacro (svkMrsSingleVoxelSincExtraction, svkImageAlgorithmWithPortMapper)
 
void SetVoxelCenter (double l_coordinate, double p_coordinate, double s_coordinate)
 
void SetRetainInputExtent (bool retainInputExtent)
 
- 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 svkAlgorithmPortMapperGetPortMapper ()
 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)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Static Public Member Functions

static
svkMrsSingleVoxelSincExtraction
New ()
 
- Static Public Member Functions inherited from svkImageAlgorithmWithPortMapper
static
svkImageAlgorithmWithPortMapper
New ()
 

Protected Member Functions

 svkMrsSingleVoxelSincExtraction ()
 
 ~svkMrsSingleVoxelSincExtraction ()
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
- 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 ()
 

Member Enumeration Documentation

Enumerator
INPUT_SPECTRA 
L_COORDINATE 
P_COORDINATE 
S_COORDINATE 
RETAIN_INPUT_EXTENT 

Constructor & Destructor Documentation

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 from svkImageAlgorithm.

int FillOutputPortInformation ( int   vtkNotUsedport,
vtkInformation *  info 
)
protectedvirtual

Output from this algo is an svkMriImageData object.

Reimplemented from svkImageAlgorithm.

static svkMrsSingleVoxelSincExtraction* New ( )
static
int RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
void SetRetainInputExtent ( bool  retainInputExtent)

Sets to true and the output will have the same extent as the input, but the same data in every voxel equal to the requpested lps voxel center.

References svkImageAlgorithmWithPortMapper::GetPortMapper(), svkMrsSingleVoxelSincExtraction::RETAIN_INPUT_EXTENT, and svkAlgorithmPortMapper::SetBoolInputPortValue().

Referenced by svkMrsSingleVoxelSincExtraction::RequestInformation().

void SetVoxelCenter ( double  l_coordinate,
double  p_coordinate,
double  s_coordinate 
)

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