Files
glocalize/VolumePrepService.cpp

13 lines
265 B
C++

#include "VolumePrepService.h"
#include <vtkImageData.h>
vtkImageData* VolumePrepService::prepare(vtkImageData* input)
{
if (!input) return nullptr;
vtkImageData* out = vtkImageData::New();
out->DeepCopy(input);
out->Modified();
return out;
}