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;
132 itkGetModifiableObjectMacro(MeshIO,
MeshIOBase);
141 virtual void Write(
void);
145 virtual void Update()
151 itkSetMacro(UseCompression,
bool);
152 itkGetConstReferenceMacro(UseCompression,
bool);
153 itkBooleanMacro(UseCompression);
159 void PrintSelf(std::ostream & os,
Indent indent)
const;
161 template<
class Output >
162 void CopyPointsToBuffer(Output *data);
164 template<
class Output >
165 void CopyCellsToBuffer(Output *data);
167 template<
class Output >
168 void CopyPointDataToBuffer(Output *data);
170 template<
class Output >
171 void CopyCellDataToBuffer(Output *data);
177 void WritePointData();
179 void WriteCellData();
183 void operator=(
const Self &);
196 #ifndef ITK_MANUAL_INSTANTIATION
197 #include "itkMeshFileWriter.hxx"
200 #endif // __itkMeshFileWriter_h