current_slicer->SetActorVisibility(overlay_type,overlay_counts[overlay_type]-1,false);
}
}
- //mSlicerManagers[i]->SetColorMap(-1);
+ mSlicerManagers[i]->SetColorMap();
}
mSlicerManagers[index]->GetSlicer(column-1)->Render();
}
// SetColorMap(-1);
//}
}
+void vvSlicerManager::SetColorMap()
+{
+ SetColorMap(mColorMap);
+}
void vvSlicerManager::SetColorMap(int colormap)
{
}
else if (mSlicers[i]->GetOverlay())
{
- dynamic_cast<vvImageMapToWLColors*>(mSlicers[i]->GetWindowLevel())
- ->SetWindowLevelMode(false);
- mSlicers[i]->GetWindowLevel()->SetLookupTable(NULL);
+ //dynamic_cast<vvImageMapToWLColors*>(mSlicers[i]->GetWindowLevel())
+ //->SetWindowLevelMode(false);
+ mSlicers[i]->GetWindowLevel()->SetLookupTable(LUT);
}
else
{
void SetColorWindow(double s);
void SetColorLevel(double s);
void SetOpacity(int i, double factor);
+ void SetColorMap();
void SetColorMap(int colormap);
void SetPreset(int preset);
void SetOverlayColor(int color) {