Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkVtkImageOverwrite.h"
#include "vtkDataSetAttributes.h"
#include "vtkGarbageCollector.h"
#include "vtkImageData.h"
#include "vtkImageStencilData.h"
#include "vtkInformation.h"
#include "vtkInformationVector.h"
#include "vtkMath.h"
#include "vtkObjectFactory.h"
#include "vtkStreamingDemandDrivenPipeline.h"
#include "vtkTransform.h"
#include "vtkTemplateAliasMacro.h"
#include <float.h>
#include <limits.h>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | VTK_USE_INT64 |
#define | VTK_USE_UINT64 |
#define | VTK_RESLICE_BACKGROUND |
#define | VTK_RESLICE_WRAP |
#define | VTK_RESLICE_MIRROR |
#define | VTK_RESLICE_BORDER |
#define | VTK_RESLICE_NULL |
Functions | |
vtkStandardNewMacro (mitkVtkImageOverwrite) | |
template<class F > | |
int | vtkResliceFloor (double x, F &f) |
int | vtkResliceRound (double x) |
int | vtkInterpolateWrap (int num, int range) |
int | vtkInterpolateMirror (int num, int range) |
int | vtkInterpolateBorder (int &inIdX0, int &inIdX1, int inExtX, double fx) |
int | vtkInterpolateBorderCheck (int inIdX0, int inIdX1, int inExtX, double fx) |
template<class F , class T > | |
static int | vtkNearestNeighborInterpolation (T *&outPtr, const T *inPtr, const int inExt[6], const vtkIdType inInc[3], int numscalars, const F point[3], int mode, const T *background, mitkVtkImageOverwrite *self) |
template<class F > | |
static void | vtkGetResliceInterpFunc (mitkVtkImageOverwrite *self, int(**interpolate)(void *&outPtr, const void *inPtr, const int inExt[6], const vtkIdType inInc[3], int numscalars, const F point[3], int mode, const void *background, mitkVtkImageOverwrite *self)) |
static void | vtkGetSetPixelsFunc (mitkVtkImageOverwrite *self, void(**setpixels)(void *&out, const void *in, int numscalars, int n)) |
template<class T > | |
static void | vtkAllocBackgroundPixelT (mitkVtkImageOverwrite *self, T **background_ptr, int numComponents) |
static void | vtkAllocBackgroundPixel (mitkVtkImageOverwrite *self, void **rval, int numComponents) |
static void | vtkFreeBackgroundPixel (mitkVtkImageOverwrite *self, void **rval) |
static int | vtkResliceGetNextExtent (vtkImageStencilData *stencil, int &r1, int &r2, int rmin, int rmax, int yIdx, int zIdx, void *&outPtr, void *background, int numscalars, void(*setpixels)(void *&out, const void *in, int numscalars, int n), int &iter) |
static void | vtkImageResliceClearExecute (mitkVtkImageOverwrite *self, vtkImageData *, void *, vtkImageData *outData, void *outPtr, int outExt[6], int id) |
static void | vtkImageResliceExecute (mitkVtkImageOverwrite *self, vtkImageData *inData, void *inPtr, vtkImageData *outData, void *outPtr, int outExt[6], int id) |
#define VTK_RESLICE_BACKGROUND |
Definition at line 124 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
#define VTK_RESLICE_BORDER |
Definition at line 127 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
#define VTK_RESLICE_MIRROR |
Definition at line 126 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
#define VTK_RESLICE_NULL |
Definition at line 128 of file mitkVtkImageOverwrite.cpp.
#define VTK_RESLICE_WRAP |
Definition at line 125 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
#define VTK_USE_INT64 |
Definition at line 47 of file mitkVtkImageOverwrite.cpp.
#define VTK_USE_UINT64 |
Definition at line 49 of file mitkVtkImageOverwrite.cpp.
|
static |
Definition at line 568 of file mitkVtkImageOverwrite.cpp.
References vtkAllocBackgroundPixelT().
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 550 of file mitkVtkImageOverwrite.cpp.
References background.
Referenced by vtkAllocBackgroundPixel().
|
static |
Definition at line 576 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 453 of file mitkVtkImageOverwrite.cpp.
References vtkNearestNeighborInterpolation().
Referenced by vtkImageResliceExecute().
|
static |
Definition at line 522 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 636 of file mitkVtkImageOverwrite.cpp.
References background, Json::in(), vtkAllocBackgroundPixel(), vtkFreeBackgroundPixel(), and vtkGetSetPixelsFunc().
Referenced by mitkVtkImageOverwrite::ThreadedRequestData().
|
static |
Definition at line 688 of file mitkVtkImageOverwrite.cpp.
References background, Json::in(), VTK_RESLICE_BACKGROUND, VTK_RESLICE_BORDER, VTK_RESLICE_MIRROR, VTK_RESLICE_WRAP, vtkAllocBackgroundPixel(), vtkFreeBackgroundPixel(), vtkGetResliceInterpFunc(), vtkGetSetPixelsFunc(), and vtkResliceGetNextExtent().
Referenced by mitkVtkImageOverwrite::ThreadedRequestData().
|
inline |
Definition at line 347 of file mitkVtkImageOverwrite.cpp.
|
inline |
Definition at line 367 of file mitkVtkImageOverwrite.cpp.
|
inline |
Definition at line 328 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
|
inline |
Definition at line 316 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
|
static |
Definition at line 384 of file mitkVtkImageOverwrite.cpp.
References VTK_RESLICE_BACKGROUND, VTK_RESLICE_BORDER, VTK_RESLICE_MIRROR, VTK_RESLICE_WRAP, vtkInterpolateMirror(), vtkInterpolateWrap(), and vtkResliceRound().
Referenced by vtkGetResliceInterpFunc().
|
inline |
Definition at line 61 of file mitkVtkImageOverwrite.cpp.
|
static |
Definition at line 588 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute().
|
inline |
Definition at line 89 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
vtkStandardNewMacro | ( | mitkVtkImageOverwrite | ) |