#include <vtkImageReslice.h>
#include <vtkImageMapToColors.h>
#include <vtkCaptionActor2D.h>
+#include <vtkTransformPolyDataFilter.h>
class vtkActor;
class vtkActor2D;
void SetDisplayMode(bool i);
void FlipHorizontalView();
void FlipVerticalView();
- static double GetScalarComponentAsDouble(vtkImageData *image, double X, double Y, double Z, int &ix, int &iy, int &iz, int component=0);
+ double GetScalarComponentAsDouble(vtkImageData *image, double X, double Y, double Z, int &ix, int &iy, int &iz, int component=0);
void Render();
///Sets the camera to fit the image in the window
void ResetCamera();
void AddContour(vvMesh::Pointer contours,bool propagate);
///Toggle temporal superposition of contours
void ToggleContourSuperposition();
+ void SetInterpolationImageReslice(int interpolation);
virtual void SetColorWindow(double s);
virtual void SetColorLevel(double s);
// ___|__|___ VTK world coordinates (mm) (never displayed) mCurrent
vtkSmartPointer<vtkTransform> mSlicingTransform;
+ vtkSmartPointer<vtkTransformPolyDataFilter> mLandmarkTransform;
vtkSmartPointer<vtkImageReslice> mImageReslice;
vtkSmartPointer<vtkTransform> mConcatenatedTransform;
vtkSmartPointer<vtkImageReslice> mOverlayReslice;
vtkSmartPointer<vtkPolyDataMapper> mVFMapper;
vtkSmartPointer<vtkLookupTable> mVFColorLUT;
vtkSmartPointer<vtkActor> mVFActor;
+ vtkSmartPointer<vtkImageReslice> mVFReslice;
+ vtkSmartPointer<vtkTransform> mConcatenatedVFTransform;
vtkSmartPointer<vtkGlyph3D> mLandGlyph;
vtkSmartPointer<vtkCursor3D> mCross;
vtkSmartPointer<vvClipPolyData> mLandClipper;