13 #ifndef mitkSurfaceVtkWriter_h
14 #define mitkSurfaceVtkWriter_h
18 #include <vtkPolyDataWriter.h>
19 #include <vtkSTLWriter.h>
20 #include <vtkXMLPolyDataWriter.h>
23 #include <itkProcessObject.h>
28 #include <vtkSmartPointer.h>
30 class vtkTransformPolyDataFilter;
50 template <
class VTKWRITER>
56 itkFactorylessNewMacro(
Self);
68 itkSetStringMacro(FileName);
73 itkGetStringMacro(FileName);
83 itkSetStringMacro(Extension);
90 itkGetStringMacro(Extension);
98 void SetDefaultExtension();
103 itkSetStringMacro(FilePrefix);
108 itkGetStringMacro(FilePrefix);
113 itkSetStringMacro(FilePattern);
118 itkGetStringMacro(FilePattern);
134 std::string GetFileExtension()
override;
139 bool CanWriteDataType(
DataNode *)
override;
144 std::string GetWritenMIMEType()
override;
146 using Superclass::SetInput;
156 std::vector<std::string> GetPossibleFileExtensions()
override;
159 const char *GetDefaultFilename()
override;
160 const char *GetFileDialogPattern()
override;
161 const char *GetDefaultExtension()
override;
176 void GenerateData()
override;
178 void ExecuteWrite(VtkWriterType *vtkWriter);
195 #ifndef MitkLegacyIO_EXPORTS