#include "vvSlicerManagerCommand.h"
#include "vvGlyphSource.h"
#include "vvGlyph2D.h"
+#include "vvUtils.h"
#include <vtkVersion.h>
#include <vtkExtentTranslator.h>
pdmA = vtkSmartPointer<vtkActor2D>::New();
pdmA->SetMapper(pdm);
- pdmA->GetProperty()->SetColor(255,10,212);
+ pdmA->GetProperty()->SetColor(1,0,0);
pdmA->SetVisibility(0);
pdmA->SetPickable(0);
//------------------------------------------------------------------------------
-void vvSlicer::SetCursorColor(int r,int g, int b)
+void vvSlicer::SetCursorColor(double r, double g, double b)
{
pdmA->GetProperty()->SetColor(r,g,b);
}
if (!mImageReslice) {
mImageReslice = vtkSmartPointer<vtkImageReslice>::New();
mImageReslice->SetInterpolationModeToLinear();
+ SetInterpolationImageReslice(getInterpolationFavoriteStatus());
+ GetImageActor()->SetInterpolate(getInterpolationFavoriteStatus());
mImageReslice->AutoCropOutputOn();
mImageReslice->SetBackgroundColor(-1000,-1000,-1000,1);
}
#if VTK_MAJOR_VERSION >= 6 || (VTK_MAJOR_VERSION >= 5 && VTK_MINOR_VERSION >= 10)
mOverlayActor->GetMapper()->BorderOn();
#endif
+ mOverlayActor->SetInterpolate(getInterpolationFavoriteStatus());
}
//stupid but necessary : the Overlay need to be rendered before fusion
mFusionActor->GetMapper()->BorderOn();
#endif
+ mFusionActor->SetInterpolate(getInterpolationFavoriteStatus());
this->GetRenderer()->AddActor(mFusionActor);
}