18 #ifndef __itkMeshFileWriter_h
19 #define __itkMeshFileWriter_h
40 const char *message =
"Error in IO",
41 const char *loc =
"Unknown"):
47 const char *message =
"Error in IO",
48 const char *loc =
"Unknown"):
76 template<
class TInputMesh >
101 using Superclass::SetInput;
109 itkSetStringMacro(FileName);
110 itkGetStringMacro(FileName);
124 if ( this->m_MeshIO != io )
129 m_FactorySpecifiedMeshIO =
false;
130 m_UserSpecifiedMeshIO =
true;
142 virtual void Write(
void);
146 virtual void Update()
152 itkSetMacro(UseCompression,
bool);
153 itkGetConstReferenceMacro(UseCompression,
bool);
154 itkBooleanMacro(UseCompression);
160 void PrintSelf(std::ostream & os,
Indent indent)
const;
162 template<
class Output >
163 void CopyPointsToBuffer(Output *data);
165 template<
class Output >
166 void CopyCellsToBuffer(Output *data);
168 template<
class Output >
169 void CopyPointDataToBuffer(Output *data);
171 template<
class Output >
172 void CopyCellDataToBuffer(Output *data);
178 void WritePointData();
180 void WriteCellData();
184 void operator=(
const Self &);
197 #ifndef ITK_MANUAL_INSTANTIATION
198 #include "itkMeshFileWriter.hxx"
201 #endif // __itkMeshFileWriter_h