17 #include <vtkPolyDataReader.h> 18 #include <vtkPolyDataWriter.h> 36 vtkPolyDataReader *reader = vtkPolyDataReader::New();
37 reader->SetFileName(argv[1]);
39 if (reader->GetOutput())
42 surface->SetVtkPolyData(reader->GetOutput());
#define MITK_TEST_CONDITION_REQUIRED(COND, MSG)
section GeneralTestsDeprecatedOldTestingStyle Deprecated macros All tests with MITK_TEST_BEGIN()
An object of this class represents an exception of MITK. Please don't instantiate exceptions manually...
#define MITK_TEST_FAILED_MSG(MSG)
Fail and finish test with message MSG.
int mitkSurfaceVtkWriterTest(int, char *argv[])
static void Save(const mitk::BaseData *data, const std::string &path, bool setPathProperty=false)
Save a mitk::BaseData instance.