VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAbstractImageInterpolator Class Referenceabstract

interpolate data values from images More...

#include <vtkAbstractImageInterpolator.h>

Inheritance diagram for vtkAbstractImageInterpolator:
[legend]
Collaboration diagram for vtkAbstractImageInterpolator:
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class. More...
 
vtkAbstractImageInterpolatorNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses. More...
 
virtual void Initialize (vtkDataObject *data)
 Initialize the interpolator with the data that you wish to interpolate. More...
 
virtual void ReleaseData ()
 Release any data stored by the interpolator. More...
 
void DeepCopy (vtkAbstractImageInterpolator *obj)
 Copy the interpolator. More...
 
void Update ()
 Update the interpolator. More...
 
double Interpolate (double x, double y, double z, int component)
 Get the result of interpolating the specified component of the input data, which should be set to zero if there is only one component. More...
 
bool Interpolate (const double point[3], double *value)
 Sample the input data. More...
 
void SetOutValue (double outValue)
 The value to return when the point is out of bounds. More...
 
double GetOutValue ()
 
void SetTolerance (double tol)
 The tolerance to apply when checking whether a point is out of bounds. More...
 
double GetTolerance ()
 
void SetComponentOffset (int offset)
 This method specifies which component of the input will be interpolated, or if ComponentCount is also set, it specifies the first component. More...
 
int GetComponentOffset ()
 
void SetComponentCount (int count)
 This method specifies the number of components to extract. More...
 
int GetComponentCount ()
 
int ComputeNumberOfComponents (int inputComponents)
 Compute the number of output components based on the ComponentOffset, ComponentCount, and the number of components in the input data. More...
 
int GetNumberOfComponents ()
 Get the number of components that will be returned when Interpolate() is called. More...
 
void InterpolateIJK (const double point[3], double *value)
 A version of Interpolate that takes structured coords instead of data coords. More...
 
void InterpolateIJK (const float point[3], float *value)
 
bool CheckBoundsIJK (const double x[3])
 Check an x,y,z point to see if it is within the bounds for the structured coords of the image. More...
 
bool CheckBoundsIJK (const float x[3])
 
void SetBorderMode (int mode)
 The border mode (default: clamp). More...
 
void SetBorderModeToClamp ()
 
void SetBorderModeToRepeat ()
 
void SetBorderModeToMirror ()
 
int GetBorderMode ()
 
const char * GetBorderModeAsString ()
 
void SetSlidingWindow (bool x)
 Enable sliding window for separable kernels. More...
 
void SlidingWindowOn ()
 
void SlidingWindowOff ()
 
bool GetSlidingWindow ()
 
virtual void ComputeSupportSize (const double matrix[16], int support[3])=0
 Get the support size for use in computing update extents. More...
 
virtual bool IsSeparable ()=0
 True if the interpolation is separable, which means that the weights can be precomputed in order to accelerate the interpolation. More...
 
virtual void PrecomputeWeightsForExtent (const double matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
 If the data is going to be sampled on a regular grid, then the interpolation weights can be precomputed. More...
 
virtual void PrecomputeWeightsForExtent (const float matrix[16], const int extent[6], int checkExtent[6], vtkInterpolationWeights *&weights)
 
virtual void FreePrecomputedWeights (vtkInterpolationWeights *&weights)
 Free the weights that were provided by PrecomputeWeightsForExtent. More...
 
void InterpolateRow (vtkInterpolationWeights *&weights, int xIdx, int yIdx, int zIdx, double *value, int n)
 Get a row of samples, using the weights that were precomputed by PrecomputeWeightsForExtent. More...
 
void InterpolateRow (vtkInterpolationWeights *&weights, int xIdx, int yIdx, int zIdx, float *value, int n)
 
virtual doubleGetSpacing ()
 Get the spacing of the data being interpolated. More...
 
virtual void GetSpacing (double &, double &, double &)
 
virtual void GetSpacing (double[3])
 
virtual doubleGetOrigin ()
 Get the origin of the data being interpolated. More...
 
virtual void GetOrigin (double &, double &, double &)
 
virtual void GetOrigin (double[3])
 
virtual intGetExtent ()
 Get the extent of the data being interpolated. More...
 
virtual void GetExtent (int &, int &, int &, int &, int &, int &)
 
virtual void GetExtent (int[6])
 
intGetWholeExtent ()
 Get the whole extent of the data being interpolated, including parts of the data that are not currently in memory. More...
 
void GetWholeExtent (int extent[6])
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
virtual vtkMTimeType GetMTime ()
 Return this object's modified time. More...
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
vtkTypeBool HasObserver (unsigned long event)
 
vtkTypeBool HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 Allow user to set the AbortFlagOn() with the return value of the callback method. More...
 
int InvokeEvent (unsigned long event, void *callData)
 This method invokes an event and return whether the event was aborted or not. More...
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 Return the class name as a string. More...
 
virtual void Delete ()
 Delete a VTK object. More...
 
virtual void FastDelete ()
 Delete a reference to this object. More...
 
void InitializeObjectBase ()
 
void Print (ostream &os)
 Print an object to an ostream. More...
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
virtual void Register (vtkObjectBase *o)
 Increase the reference count (mark as used by another object). More...
 
virtual void UnRegister (vtkObjectBase *o)
 Decrease the reference count (release by another object). More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int)
 Sets the reference count. More...
 
void PrintRevisions (ostream &)
 Legacy. More...
 

Static Public Member Functions

static vtkTypeBool IsTypeOf (const char *type)
 
static vtkAbstractImageInterpolatorSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. More...
 
static vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkAbstractImageInterpolator ()
 
 ~vtkAbstractImageInterpolator () override
 
virtual void InternalUpdate ()=0
 Subclass-specific updates. More...
 
virtual void InternalDeepCopy (vtkAbstractImageInterpolator *obj)=0
 Subclass-specific copy. More...
 
virtual void GetInterpolationFunc (void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *))
 Get the interpolation functions. More...
 
virtual void GetInterpolationFunc (void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *))
 
virtual void GetRowInterpolationFunc (void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
 Get the row interpolation functions. More...
 
virtual void GetRowInterpolationFunc (void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int))
 
virtual void GetSlidingWindowFunc (void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int))
 Get the sliding window interpolation functions. More...
 
virtual void GetSlidingWindowFunc (void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int))
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
 ~vtkObject () override
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr)
 These methods allow a command to exclusively grab all events. More...
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkDataArrayScalars
 
double StructuredBoundsDouble [6]
 
float StructuredBoundsFloat [6]
 
int Extent [6]
 
double Spacing [3]
 
double Origin [3]
 
double OutValue
 
double Tolerance
 
int BorderMode
 
int ComponentOffset
 
int ComponentCount
 
bool SlidingWindow
 
vtkInterpolationInfoInterpolationInfo
 
void(* InterpolationFuncDouble )(vtkInterpolationInfo *info, const double point[3], double *outPtr)
 
void(* InterpolationFuncFloat )(vtkInterpolationInfo *info, const float point[3], float *outPtr)
 
void(* RowInterpolationFuncDouble )(vtkInterpolationWeights *weights, int idX, int idY, int idZ, double *outPtr, int n)
 
void(* RowInterpolationFuncFloat )(vtkInterpolationWeights *weights, int idX, int idY, int idZ, float *outPtr, int n)
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

interpolate data values from images

vtkAbstractImageInterpolator provides an abstract interface for interpolating image data. You specify the data set you want to interpolate values from, then call Interpolate(x,y,z) to interpolate the data.

Thanks:
Thanks to David Gobbi at the Seaman Family MR Centre and Dept. of Clinical Neurosciences, Foothills Medical Centre, Calgary, for providing this class.
See also
vtkImageReslice vtkImageInterpolator vtkImageSincInterpolator
Examples:
vtkAbstractImageInterpolator (Examples)

Definition at line 49 of file vtkAbstractImageInterpolator.h.

Member Typedef Documentation

◆ Superclass

Definition at line 52 of file vtkAbstractImageInterpolator.h.

Constructor & Destructor Documentation

◆ vtkAbstractImageInterpolator()

vtkAbstractImageInterpolator::vtkAbstractImageInterpolator ( )
protected

◆ ~vtkAbstractImageInterpolator()

vtkAbstractImageInterpolator::~vtkAbstractImageInterpolator ( )
overrideprotected

Member Function Documentation

◆ IsTypeOf()

static vtkTypeBool vtkAbstractImageInterpolator::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual vtkTypeBool vtkAbstractImageInterpolator::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObjectBase.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ SafeDownCast()

static vtkAbstractImageInterpolator* vtkAbstractImageInterpolator::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkAbstractImageInterpolator::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkAbstractImageInterpolator* vtkAbstractImageInterpolator::NewInstance ( ) const

◆ PrintSelf()

void vtkAbstractImageInterpolator::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ Initialize()

virtual void vtkAbstractImageInterpolator::Initialize ( vtkDataObject data)
virtual

Initialize the interpolator with the data that you wish to interpolate.

◆ ReleaseData()

virtual void vtkAbstractImageInterpolator::ReleaseData ( )
virtual

Release any data stored by the interpolator.

◆ DeepCopy()

void vtkAbstractImageInterpolator::DeepCopy ( vtkAbstractImageInterpolator obj)

Copy the interpolator.

It is possible to duplicate an interpolator by calling NewInstance() followed by DeepCopy().

◆ Update()

void vtkAbstractImageInterpolator::Update ( )

Update the interpolator.

If the interpolator has been modified by a Set method since Initialize() was called, you must call this method to update the interpolator before you can use it.

◆ Interpolate() [1/2]

double vtkAbstractImageInterpolator::Interpolate ( double  x,
double  y,
double  z,
int  component 
)

Get the result of interpolating the specified component of the input data, which should be set to zero if there is only one component.

If the point is not within the bounds of the data set, then OutValue will be returned. This method is primarily meant for use by the wrapper languages.

◆ Interpolate() [2/2]

bool vtkAbstractImageInterpolator::Interpolate ( const double  point[3],
double value 
)

Sample the input data.

This is an inline method that calls the function that performs the appropriate interpolation for the data type. If the point is not within the bounds of the data set, then the return value is false, and each component will be set to the OutValue.

◆ SetOutValue()

void vtkAbstractImageInterpolator::SetOutValue ( double  outValue)

The value to return when the point is out of bounds.

◆ GetOutValue()

double vtkAbstractImageInterpolator::GetOutValue ( )
inline

Definition at line 100 of file vtkAbstractImageInterpolator.h.

◆ SetTolerance()

void vtkAbstractImageInterpolator::SetTolerance ( double  tol)

The tolerance to apply when checking whether a point is out of bounds.

This is a fractional distance relative to the voxel size, so a tolerance of 1 expands the bounds by one voxel.

◆ GetTolerance()

double vtkAbstractImageInterpolator::GetTolerance ( )
inline

Definition at line 108 of file vtkAbstractImageInterpolator.h.

◆ SetComponentOffset()

void vtkAbstractImageInterpolator::SetComponentOffset ( int  offset)

This method specifies which component of the input will be interpolated, or if ComponentCount is also set, it specifies the first component.

When the interpolation is performed, it will be clamped to the number of available components.

◆ GetComponentOffset()

int vtkAbstractImageInterpolator::GetComponentOffset ( )
inline

Definition at line 117 of file vtkAbstractImageInterpolator.h.

◆ SetComponentCount()

void vtkAbstractImageInterpolator::SetComponentCount ( int  count)

This method specifies the number of components to extract.

The default value is -1, which extracts all available components. When the interpolation is performed, this will be clamped to the number of available components.

◆ GetComponentCount()

int vtkAbstractImageInterpolator::GetComponentCount ( )
inline

Definition at line 126 of file vtkAbstractImageInterpolator.h.

◆ ComputeNumberOfComponents()

int vtkAbstractImageInterpolator::ComputeNumberOfComponents ( int  inputComponents)

Compute the number of output components based on the ComponentOffset, ComponentCount, and the number of components in the input data.

◆ GetNumberOfComponents()

int vtkAbstractImageInterpolator::GetNumberOfComponents ( )

Get the number of components that will be returned when Interpolate() is called.

This is only valid after initialization. Before then, use ComputeNumberOfComponents instead.

◆ InterpolateIJK() [1/2]

void vtkAbstractImageInterpolator::InterpolateIJK ( const double  point[3],
double value 
)
inline

A version of Interpolate that takes structured coords instead of data coords.

Structured coords are the data coords after subtracting the Origin and dividing by the Spacing.

Definition at line 362 of file vtkAbstractImageInterpolator.h.

◆ InterpolateIJK() [2/2]

void vtkAbstractImageInterpolator::InterpolateIJK ( const float  point[3],
float value 
)
inline

Definition at line 368 of file vtkAbstractImageInterpolator.h.

◆ CheckBoundsIJK() [1/2]

bool vtkAbstractImageInterpolator::CheckBoundsIJK ( const double  x[3])
inline

Check an x,y,z point to see if it is within the bounds for the structured coords of the image.

This is meant to be called prior to InterpolateIJK. The bounds that are checked against are the input image extent plus the tolerance.

Definition at line 374 of file vtkAbstractImageInterpolator.h.

◆ CheckBoundsIJK() [2/2]

bool vtkAbstractImageInterpolator::CheckBoundsIJK ( const float  x[3])
inline

Definition at line 382 of file vtkAbstractImageInterpolator.h.

◆ SetBorderMode()

void vtkAbstractImageInterpolator::SetBorderMode ( int  mode)

The border mode (default: clamp).

This controls how out-of-bounds lookups are handled, i.e. how data will be extrapolated beyond the bounds of the image. The default is to clamp the lookup point to the bounds. The other modes wrap around to the opposite boundary, or mirror the image at the boundary.

◆ SetBorderModeToClamp()

void vtkAbstractImageInterpolator::SetBorderModeToClamp ( )
inline

Definition at line 171 of file vtkAbstractImageInterpolator.h.

◆ SetBorderModeToRepeat()

void vtkAbstractImageInterpolator::SetBorderModeToRepeat ( )
inline

Definition at line 173 of file vtkAbstractImageInterpolator.h.

◆ SetBorderModeToMirror()

void vtkAbstractImageInterpolator::SetBorderModeToMirror ( )
inline

Definition at line 175 of file vtkAbstractImageInterpolator.h.

◆ GetBorderMode()

int vtkAbstractImageInterpolator::GetBorderMode ( )
inline

Definition at line 177 of file vtkAbstractImageInterpolator.h.

◆ GetBorderModeAsString()

const char* vtkAbstractImageInterpolator::GetBorderModeAsString ( )

◆ SetSlidingWindow()

void vtkAbstractImageInterpolator::SetSlidingWindow ( bool  x)

Enable sliding window for separable kernels.

When this is enabled, the interpolator will cache partial sums in in order to accelerate the computation. It only makes sense to do this if the interpolator is used by calling InterpolateRow() while incrementing first the Y, and then the Z index with every call.

◆ SlidingWindowOn()

void vtkAbstractImageInterpolator::SlidingWindowOn ( )
inline

Definition at line 189 of file vtkAbstractImageInterpolator.h.

◆ SlidingWindowOff()

void vtkAbstractImageInterpolator::SlidingWindowOff ( )
inline

Definition at line 190 of file vtkAbstractImageInterpolator.h.

◆ GetSlidingWindow()

bool vtkAbstractImageInterpolator::GetSlidingWindow ( )
inline

Definition at line 191 of file vtkAbstractImageInterpolator.h.

◆ ComputeSupportSize()

virtual void vtkAbstractImageInterpolator::ComputeSupportSize ( const double  matrix[16],
int  support[3] 
)
pure virtual

Get the support size for use in computing update extents.

If the data will be sampled on a regular grid, then pass a matrix describing the structured coordinate transformation between the output and the input. Otherwise, pass nullptr as the matrix to retrieve the full kernel size.

Implemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ IsSeparable()

virtual bool vtkAbstractImageInterpolator::IsSeparable ( )
pure virtual

True if the interpolation is separable, which means that the weights can be precomputed in order to accelerate the interpolation.

Any interpolator which is separable will implement the methods PrecomputeWeightsForExtent and InterpolateRow

Implemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ PrecomputeWeightsForExtent() [1/2]

virtual void vtkAbstractImageInterpolator::PrecomputeWeightsForExtent ( const double  matrix[16],
const int  extent[6],
int  checkExtent[6],
vtkInterpolationWeights *&  weights 
)
virtual

If the data is going to be sampled on a regular grid, then the interpolation weights can be precomputed.

A matrix must be supplied that provides a transformation between the provided extent and the structured coordinates of the input. This matrix must perform only permutation, scale, and translation, i.e. each of the three columns must have only one non-zero value. A checkExtent is provided that can be used to check which indices in the extent map to out-of-bounds coordinates in the input data.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ PrecomputeWeightsForExtent() [2/2]

virtual void vtkAbstractImageInterpolator::PrecomputeWeightsForExtent ( const float  matrix[16],
const int  extent[6],
int  checkExtent[6],
vtkInterpolationWeights *&  weights 
)
virtual

◆ FreePrecomputedWeights()

virtual void vtkAbstractImageInterpolator::FreePrecomputedWeights ( vtkInterpolationWeights *&  weights)
virtual

Free the weights that were provided by PrecomputeWeightsForExtent.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ InterpolateRow() [1/2]

void vtkAbstractImageInterpolator::InterpolateRow ( vtkInterpolationWeights *&  weights,
int  xIdx,
int  yIdx,
int  zIdx,
double value,
int  n 
)
inline

Get a row of samples, using the weights that were precomputed by PrecomputeWeightsForExtent.

Note that each sample may have multiple components. It is possible to select which components will be returned by setting the ComponentOffset and ComponentCount.

Definition at line 390 of file vtkAbstractImageInterpolator.h.

◆ InterpolateRow() [2/2]

void vtkAbstractImageInterpolator::InterpolateRow ( vtkInterpolationWeights *&  weights,
int  xIdx,
int  yIdx,
int  zIdx,
float value,
int  n 
)
inline

Definition at line 397 of file vtkAbstractImageInterpolator.h.

◆ GetSpacing() [1/3]

virtual double* vtkAbstractImageInterpolator::GetSpacing ( )
virtual

Get the spacing of the data being interpolated.

◆ GetSpacing() [2/3]

virtual void vtkAbstractImageInterpolator::GetSpacing ( double ,
double ,
double  
)
virtual

◆ GetSpacing() [3/3]

virtual void vtkAbstractImageInterpolator::GetSpacing ( double  [3])
virtual

◆ GetOrigin() [1/3]

virtual double* vtkAbstractImageInterpolator::GetOrigin ( )
virtual

Get the origin of the data being interpolated.

◆ GetOrigin() [2/3]

virtual void vtkAbstractImageInterpolator::GetOrigin ( double ,
double ,
double  
)
virtual

◆ GetOrigin() [3/3]

virtual void vtkAbstractImageInterpolator::GetOrigin ( double  [3])
virtual

◆ GetExtent() [1/3]

virtual int* vtkAbstractImageInterpolator::GetExtent ( )
virtual

Get the extent of the data being interpolated.

◆ GetExtent() [2/3]

virtual void vtkAbstractImageInterpolator::GetExtent ( int ,
int ,
int ,
int ,
int ,
int  
)
virtual

◆ GetExtent() [3/3]

virtual void vtkAbstractImageInterpolator::GetExtent ( int  [6])
virtual

◆ GetWholeExtent() [1/2]

int* vtkAbstractImageInterpolator::GetWholeExtent ( )

Get the whole extent of the data being interpolated, including parts of the data that are not currently in memory.

◆ GetWholeExtent() [2/2]

void vtkAbstractImageInterpolator::GetWholeExtent ( int  extent[6])

◆ InternalUpdate()

virtual void vtkAbstractImageInterpolator::InternalUpdate ( )
protectedpure virtual

Subclass-specific updates.

Implemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ InternalDeepCopy()

virtual void vtkAbstractImageInterpolator::InternalDeepCopy ( vtkAbstractImageInterpolator obj)
protectedpure virtual

Subclass-specific copy.

Implemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ GetInterpolationFunc() [1/2]

virtual void vtkAbstractImageInterpolator::GetInterpolationFunc ( void(**)(vtkInterpolationInfo *, const double[3], double *)  doublefunc)
protectedvirtual

Get the interpolation functions.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ GetInterpolationFunc() [2/2]

virtual void vtkAbstractImageInterpolator::GetInterpolationFunc ( void(**)(vtkInterpolationInfo *, const float[3], float *)  floatfunc)
protectedvirtual

◆ GetRowInterpolationFunc() [1/2]

virtual void vtkAbstractImageInterpolator::GetRowInterpolationFunc ( void(**)(vtkInterpolationWeights *, int, int, int, double *, int doublefunc)
protectedvirtual

Get the row interpolation functions.

Reimplemented in vtkImageSincInterpolator, vtkImageBSplineInterpolator, and vtkImageInterpolator.

◆ GetRowInterpolationFunc() [2/2]

virtual void vtkAbstractImageInterpolator::GetRowInterpolationFunc ( void(**)(vtkInterpolationWeights *, int, int, int, float *, int floatfunc)
protectedvirtual

◆ GetSlidingWindowFunc() [1/2]

virtual void vtkAbstractImageInterpolator::GetSlidingWindowFunc ( void(**)(vtkInterpolationWeights *, int, int, int, double *, int doublefunc)
protectedvirtual

Get the sliding window interpolation functions.

◆ GetSlidingWindowFunc() [2/2]

virtual void vtkAbstractImageInterpolator::GetSlidingWindowFunc ( void(**)(vtkInterpolationWeights *, int, int, int, float *, int floatfunc)
protectedvirtual

Member Data Documentation

◆ Scalars

vtkDataArray* vtkAbstractImageInterpolator::Scalars
protected

Definition at line 328 of file vtkAbstractImageInterpolator.h.

◆ StructuredBoundsDouble

double vtkAbstractImageInterpolator::StructuredBoundsDouble[6]
protected

Definition at line 329 of file vtkAbstractImageInterpolator.h.

◆ StructuredBoundsFloat

float vtkAbstractImageInterpolator::StructuredBoundsFloat[6]
protected

Definition at line 330 of file vtkAbstractImageInterpolator.h.

◆ Extent

int vtkAbstractImageInterpolator::Extent[6]
protected

Definition at line 331 of file vtkAbstractImageInterpolator.h.

◆ Spacing

double vtkAbstractImageInterpolator::Spacing[3]
protected

Definition at line 332 of file vtkAbstractImageInterpolator.h.

◆ Origin

double vtkAbstractImageInterpolator::Origin[3]
protected

Definition at line 333 of file vtkAbstractImageInterpolator.h.

◆ OutValue

double vtkAbstractImageInterpolator::OutValue
protected

Definition at line 334 of file vtkAbstractImageInterpolator.h.

◆ Tolerance

double vtkAbstractImageInterpolator::Tolerance
protected

Definition at line 335 of file vtkAbstractImageInterpolator.h.

◆ BorderMode

int vtkAbstractImageInterpolator::BorderMode
protected

Definition at line 336 of file vtkAbstractImageInterpolator.h.

◆ ComponentOffset

int vtkAbstractImageInterpolator::ComponentOffset
protected

Definition at line 337 of file vtkAbstractImageInterpolator.h.

◆ ComponentCount

int vtkAbstractImageInterpolator::ComponentCount
protected

Definition at line 338 of file vtkAbstractImageInterpolator.h.

◆ SlidingWindow

bool vtkAbstractImageInterpolator::SlidingWindow
protected

Definition at line 339 of file vtkAbstractImageInterpolator.h.

◆ InterpolationInfo

vtkInterpolationInfo* vtkAbstractImageInterpolator::InterpolationInfo
protected

Definition at line 342 of file vtkAbstractImageInterpolator.h.

◆ InterpolationFuncDouble

void(* vtkAbstractImageInterpolator::InterpolationFuncDouble) (vtkInterpolationInfo *info, const double point[3], double *outPtr)
protected

Definition at line 344 of file vtkAbstractImageInterpolator.h.

◆ InterpolationFuncFloat

void(* vtkAbstractImageInterpolator::InterpolationFuncFloat) (vtkInterpolationInfo *info, const float point[3], float *outPtr)
protected

Definition at line 346 of file vtkAbstractImageInterpolator.h.

◆ RowInterpolationFuncDouble

void(* vtkAbstractImageInterpolator::RowInterpolationFuncDouble) (vtkInterpolationWeights *weights, int idX, int idY, int idZ, double *outPtr, int n)
protected

Definition at line 349 of file vtkAbstractImageInterpolator.h.

◆ RowInterpolationFuncFloat

void(* vtkAbstractImageInterpolator::RowInterpolationFuncFloat) (vtkInterpolationWeights *weights, int idX, int idY, int idZ, float *outPtr, int n)
protected

Definition at line 352 of file vtkAbstractImageInterpolator.h.


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