#include <vtkLight.h>
#include <vtkLightCollection.h>
#include <vtkScalarBarActor.h>
+#include <vtkImageProperty.h>
#include <vtkLookupTable.h>
#include <vtkRenderer.h>
}
//------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+void vvSlicer::SetInterpolationImageReslice(int interpolation)
+{
+ mImageReslice->SetInterpolationMode(interpolation);
+}
+//------------------------------------------------------------------------------
+
//------------------------------------------------------------------------------
void vvSlicer::SetCurrentPosition(double x, double y, double z, int t)
{
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);
{
bool interpolate=!(mSlicers[0]->GetImageActor()->GetInterpolate());
for ( unsigned int i = 0; i < mSlicers.size(); i++) {
+ mSlicers[i]->SetInterpolationImageReslice(interpolate);
mSlicers[i]->GetImageActor()->SetInterpolate(interpolate);
if (mSlicers[i]->GetOverlayActor())
mSlicers[i]->GetOverlayActor()->SetInterpolate(interpolate);