|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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 <cfloat>#include <climits>#include <cmath>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_nullptr |
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 120 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
| #define VTK_RESLICE_BORDER |
Definition at line 123 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
| #define VTK_RESLICE_MIRROR |
Definition at line 122 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
| #define VTK_RESLICE_nullptr |
Definition at line 124 of file mitkVtkImageOverwrite.cpp.
| #define VTK_RESLICE_WRAP |
Definition at line 121 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute(), and vtkNearestNeighborInterpolation().
| #define VTK_USE_INT64 |
Definition at line 43 of file mitkVtkImageOverwrite.cpp.
| #define VTK_USE_UINT64 |
Definition at line 45 of file mitkVtkImageOverwrite.cpp.
|
static |
Definition at line 567 of file mitkVtkImageOverwrite.cpp.
References vtkAllocBackgroundPixelT().
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 549 of file mitkVtkImageOverwrite.cpp.
References background.
Referenced by vtkAllocBackgroundPixel().
|
static |
Definition at line 575 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 449 of file mitkVtkImageOverwrite.cpp.
References vtkNearestNeighborInterpolation().
Referenced by vtkImageResliceExecute().
|
static |
Definition at line 518 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceClearExecute(), and vtkImageResliceExecute().
|
static |
Definition at line 635 of file mitkVtkImageOverwrite.cpp.
References background, Json::in(), vtkAllocBackgroundPixel(), vtkFreeBackgroundPixel(), and vtkGetSetPixelsFunc().
Referenced by mitkVtkImageOverwrite::ThreadedRequestData().
|
static |
Definition at line 687 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 343 of file mitkVtkImageOverwrite.cpp.
|
inline |
Definition at line 363 of file mitkVtkImageOverwrite.cpp.
|
inline |
Definition at line 324 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
|
inline |
Definition at line 312 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
|
static |
Definition at line 380 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 57 of file mitkVtkImageOverwrite.cpp.
|
static |
Definition at line 587 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkImageResliceExecute().
|
inline |
Definition at line 85 of file mitkVtkImageOverwrite.cpp.
Referenced by vtkNearestNeighborInterpolation().
| vtkStandardNewMacro | ( | mitkVtkImageOverwrite | ) |