imageactor->GetMapper()->SetInput( color->GetOutput() );
#else
color->SetInputData( img );
+ color->Update();
imageactor->GetMapper()->SetInputData( color->GetOutput() );
#endif
imageactor->GetProperty()->SetInterpolationTypeToNearest();
+ imageactor->SetForceOpaque(true);
}
if (transform!=NULL)