#include <vtkSmartPointer.h>
#include <vtkImageViewer2.h>
+#include <vtkColor.h>
class vtkActor;
class vtkActor2D;
void SetDisplayMode(bool i);
void FlipHorizontalView();
void FlipVerticalView();
+ static double GetScalarComponentAsDouble(vtkImageData *image, int 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();
int GetOrientation();
int * GetExtent();
+ double* GetVFColor() {
+ return mVFColor;
+ }
+ void SetVFColor(double r, double g, double b);
+
protected:
vvSlicer();
~vvSlicer();
vtkSmartPointer<vtkExtractVOI> mVOIFilter;
vtkSmartPointer<vvGlyph2D> mGlyphFilter;
vtkSmartPointer<vtkPolyDataMapper> mVFMapper;
+ vtkSmartPointer<vtkLookupTable> mVFColorLUT;
vtkSmartPointer<vtkActor> mVFActor;
vtkSmartPointer<vtkGlyph3D> mLandGlyph;
vtkSmartPointer<vtkCursor3D> mCross;
int mScale;
int mVFLog;
int mVFWidth;
+ double mVFColor[3];
bool mUseReducedExtent;
int * mReducedExtent;
int * mInitialExtent;