_saggitalColors = vtkImageMapToColors::New();
}
_saggitalColors->RemoveAllInputs();
+ // _saggitalColors->SetLookupTable(_bwLut);
+ _saggitalColors->SetLookupTable(_ctfun);
//EED 2017-01-01 Migration VTK7
#if VTK_MAJOR_VERSION <= 5
_saggitalColors->SetInput( _vtkmprbasedata->GetImageData() );
#else
_saggitalColors->SetInputData( _vtkmprbasedata->GetImageData() );
+ _saggitalColors->Update();
#endif
- // _saggitalColors->SetLookupTable(_bwLut);
-
- _saggitalColors->SetLookupTable(_ctfun);
if(_saggital==NULL)
}
_axialColors->RemoveAllInputs();
+ // _axialColors->SetLookupTable(_hueLut);
+ _axialColors->SetLookupTable(_ctfun);
//EED 2017-01-01 Migration VTK7
#if VTK_MAJOR_VERSION <= 5
_axialColors->SetInput( _vtkmprbasedata->GetImageData() );
#else
_axialColors->SetInputData( _vtkmprbasedata->GetImageData() );
+ _axialColors->Update();
#endif
- // _axialColors->SetLookupTable(_hueLut);
- _axialColors->SetLookupTable(_ctfun);
if(_axial==NULL)
{
_coronalColors = vtkImageMapToColors::New();
}
_coronalColors->RemoveAllInputs();
+ // _coronalColors->SetLookupTable(_satLut);
+ _coronalColors->SetLookupTable(_ctfun);
//EED 2017-01-01 Migration VTK7
#if VTK_MAJOR_VERSION <= 5
_coronalColors->SetInput( _vtkmprbasedata->GetImageData() );
#else
_coronalColors->SetInputData( _vtkmprbasedata->GetImageData() );
+ _coronalColors->Update();
#endif
- // _coronalColors->SetLookupTable(_satLut);
- _coronalColors->SetLookupTable(_ctfun);
if(_coronal==NULL)
{
_outlineData->SetInput((vtkDataSet *) _vtkmprbasedata->GetImageData() );
#else
_outlineData->SetInputData((vtkDataSet *) _vtkmprbasedata->GetImageData() );
+ _outlineData->Update();
#endif
} // if _image