SIVIC API
0.9.26
|
#include <svkMrsZeroFill.h>
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) | |
svkImageData * | GetOutput () |
svkImageData * | GetOutput (int port) |
svkImageData * | GetImageDataInput (int port) |
Static Public Member Functions | |
static svkMrsZeroFill * | New () |
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) |
Class to apply zero and (eventually) first order phase to spectra
enum FillType |
|
protected |
References svkMrsZeroFill::VALUE.
|
protected |
Destructor.
|
protectedvirtual |
Referenced by svkMrsZeroFill::RequestUpdateExtent().
|
protectedvirtual |
Define required input data type.
|
protectedvirtual |
Initializes the output extent to match the input extent for non-initialized indecies.
References svkImageInPlaceFilter::GetImageDataInput().
Referenced by svkMrsZeroFill::RequestInformation().
|
static |
|
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().
|
protectedvirtual |
Zero Fills in the spatial domain.
References svkDcmHeader::CHANNEL_INDEX, svk4DImageData::GetArray(), svkImageData::GetDcmHeader(), svkImageData::GetDcos(), svkDcmHeader::GetDimensionIndexVector(), svkImageInPlaceFilter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkDcmHeader::GetNumberOfCoils(), svkDcmHeader::GetNumberOfSlices(), svkDcmHeader::GetNumberOfTimePoints(), svkDcmHeader::GetOrigin(), svkMrsImageData::GetSpectrum(), svkDcmHeader::InitPerFrameFunctionalGroupSequence(), svkDcmHeader::InitPixelMeasuresMacro(), svkMrsLinearPhase::New(), svkMrsImageData::New(), svkDcmHeader::SetDimensionVectorValue(), svkMrsLinearPhase::SetShiftWindow(), svkDcmHeader::SetValue(), svkImageData::ShallowCopy(), svkDcmHeader::SLICE_INDEX, svkImageData::SyncVTKImageDataToDcmHeader(), and svkDcmHeader::TIME_INDEX.
Referenced by svkMrsZeroFill::RequestData().
|
protectedvirtual |
Zero Fills in the spectral domain.
References svkImageData::GetDcmHeader(), svkDcmHeader::GetDimensionIndexVector(), svkImageInPlaceFilter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkDcmHeader::GetNumberOfCells(), svkMrsImageData::GetSpectrum(), and svkDcmHeader::SetValue().
Referenced by svkMrsZeroFill::RequestData().
|
protectedvirtual |
Defines the output extent.
References svkMrsZeroFill::DOUBLE, svkImageData::GetDcmHeader(), svkImageInPlaceFilter::GetImageDataInput(), svkDcmHeader::GetIntValue(), svkUtils::GetNextPower2(), svkDcmHeader::GetNumberOfSlices(), svk4DImageData::GetNumberOfVoxels(), svkMrsZeroFill::InitializeOutputWholeExtent(), svkMrsZeroFill::POWER2, svkMrsZeroFill::SetNumberOfColumns(), svkMrsZeroFill::SetNumberOfRows(), svkMrsZeroFill::SetNumberOfSlices(), and svkMrsZeroFill::SetNumberOfSpecPoints().
|
protectedvirtual |
References svkMrsZeroFill::ComputeInputUpdateExtent().
void SetNumberOfColumns | ( | int | numColumns | ) |
Referenced by svkMrsZeroFill::RequestInformation().
void SetNumberOfColumnsToDouble | ( | ) |
References svkMrsZeroFill::DOUBLE.
void SetNumberOfColumnsToNextPower2 | ( | ) |
References svkMrsZeroFill::POWER2.
void SetNumberOfRows | ( | int | numRows | ) |
Referenced by svkMrsZeroFill::RequestInformation().
void SetNumberOfRowsToDouble | ( | ) |
References svkMrsZeroFill::DOUBLE.
void SetNumberOfRowsToNextPower2 | ( | ) |
References svkMrsZeroFill::POWER2.
void SetNumberOfSlices | ( | int | numSlices | ) |
Referenced by svkMrsZeroFill::RequestInformation().
void SetNumberOfSlicesToDouble | ( | ) |
References svkMrsZeroFill::DOUBLE.
void SetNumberOfSlicesToNextPower2 | ( | ) |
References svkMrsZeroFill::POWER2.
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 | ( | ) |
References svkMrsZeroFill::DOUBLE.
void SetNumberOfSpecPointsToNextPower2 | ( | ) |
References svkMrsZeroFill::POWER2.
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 | |||
) |