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
svkMrsZeroFill Class Reference

#include <svkMrsZeroFill.h>

Inheritance diagram for svkMrsZeroFill:
svkImageInPlaceFilter

Public Types

enum  FillType { VALUE = 0, DOUBLE, POWER2 }
 

Public Member Functions

 vtkTypeMacro (svkMrsZeroFill, svkImageInPlaceFilter)
 
void SetNumberOfRows (int numRows)
 
void SetNumberOfRowsToDouble ()
 
void SetNumberOfRowsToNextPower2 ()
 
void SetNumberOfColumns (int numColumns)
 
void SetNumberOfColumnsToDouble ()
 
void SetNumberOfColumnsToNextPower2 ()
 
void SetNumberOfSlices (int numSlices)
 
void SetNumberOfSlicesToDouble ()
 
void SetNumberOfSlicesToNextPower2 ()
 
void SetNumberOfSpecPoints (int numSpecPoints)
 
void SetNumberOfSpecPointsToDouble ()
 
void SetNumberOfSpecPointsToNextPower2 ()
 
void SetOutputDimensions (int numRows, int numColumns, int numSlices, int numSpecPoints)
 
void SetOutputWholeExtent (int extent[6])
 
void SetOutputWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
 
- Public Member Functions inherited from svkImageInPlaceFilter
 vtkTypeMacro (svkImageInPlaceFilter, vtkImageInPlaceFilter)
 
svkImageDataGetOutput ()
 
svkImageDataGetOutput (int port)
 
svkImageDataGetImageDataInput (int port)
 

Static Public Member Functions

static svkMrsZeroFillNew ()
 

Protected Member Functions

 svkMrsZeroFill ()
 
 ~svkMrsZeroFill ()
 
virtual int FillInputPortInformation (int port, vtkInformation *info)
 
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestDataSpatial (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestDataSpectral (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual void ComputeInputUpdateExtent (int inExt[6], int outExt[6], int wExt[6])
 
virtual void InitializeOutputWholeExtent ()
 
- Protected Member Functions inherited from svkImageInPlaceFilter
 svkImageInPlaceFilter ()
 
 ~svkImageInPlaceFilter ()
 
virtual int FillOutputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 
virtual int FillInputPortInformation (int vtkNotUsed(port), vtkInformation *info)
 

Detailed Description

Class to apply zero and (eventually) first order phase to spectra

Member Enumeration Documentation

enum FillType
Enumerator
VALUE 
DOUBLE 
POWER2 

Constructor & Destructor Documentation

svkMrsZeroFill ( )
protected

References svkMrsZeroFill::VALUE.

~svkMrsZeroFill ( )
protected

Destructor.

Member Function Documentation

void ComputeInputUpdateExtent ( int  inExt[6],
int  outExt[6],
int  wExt[6] 
)
protectedvirtual
int FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Define required input data type.

void InitializeOutputWholeExtent ( )
protectedvirtual

Initializes the output extent to match the input extent for non-initialized indecies.

References svkImageInPlaceFilter::GetImageDataInput().

Referenced by svkMrsZeroFill::RequestInformation().

static svkMrsZeroFill* New ( )
static
int RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual

Primary execution method. If the number of target points is greater than the number of points in the dataset then it will be padded in the spectral domain. If the output extent is greater than the extent of the input data then it will pad the spatial domain.

References svkImageData::GetDcmHeader(), svkImageInPlaceFilter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkMrsZeroFill::RequestDataSpatial(), and svkMrsZeroFill::RequestDataSpectral().

int RequestDataSpatial ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestDataSpectral ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestInformation ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
protectedvirtual
int RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
void SetNumberOfColumns ( int  numColumns)
void SetNumberOfColumnsToDouble ( )
void SetNumberOfColumnsToNextPower2 ( )
void SetNumberOfRows ( int  numRows)
void SetNumberOfRowsToDouble ( )
void SetNumberOfRowsToNextPower2 ( )
void SetNumberOfSlices ( int  numSlices)
void SetNumberOfSlicesToDouble ( )
void SetNumberOfSlicesToNextPower2 ( )
void SetNumberOfSpecPoints ( int  numSpecPoints)

Sets the total number of spectral points after zero-filling. If the number of points is less than the current number of spectral points the algorithm will do nothing.

Referenced by svkMrsZeroFill::RequestInformation().

void SetNumberOfSpecPointsToDouble ( )
void SetNumberOfSpecPointsToNextPower2 ( )
void SetOutputDimensions ( int  numRows,
int  numColumns,
int  numSlices,
int  numSpecPoints 
)
void SetOutputWholeExtent ( int  extent[6])

The output whole extent defines the extent to which you want to pad. If it is smaller than the extent of the input data then the input data will not be modified.

Referenced by svkMrsZeroFill::SetOutputWholeExtent().

void SetOutputWholeExtent ( int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ 
)

The output whole extent defines the extent to which you want to pad. If it is smaller than the extent of the input data then the input data will not be modified.

References svkMrsZeroFill::SetOutputWholeExtent().

vtkTypeMacro ( svkMrsZeroFill  ,
svkImageInPlaceFilter   
)

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