mirror of
https://gitlab.ethz.ch/gfattori/glocalize.git
synced 2026-05-03 13:44:26 +02:00
13 lines
265 B
C++
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;
|
|
}
|