18 #ifndef itkMeshFileWriter_h
19 #define itkMeshFileWriter_h
20 #include "ITKIOMeshExport.h"
51 template<
typename TInputMesh >
76 using Superclass::SetInput;
84 itkSetStringMacro(FileName);
85 itkGetStringMacro(FileName);
99 if ( this->m_MeshIO != io )
104 m_FactorySpecifiedMeshIO =
false;
105 m_UserSpecifiedMeshIO =
true;
107 itkGetModifiableObjectMacro(MeshIO,
MeshIOBase);
116 virtual void Write();
126 itkSetMacro(UseCompression,
bool);
127 itkGetConstReferenceMacro(UseCompression,
bool);
128 itkBooleanMacro(UseCompression);
134 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
136 template<
typename Output >
137 void CopyPointsToBuffer(Output *data);
139 template<
typename Output >
140 void CopyCellsToBuffer(Output *data);
142 template<
typename Output >
143 void CopyPointDataToBuffer(Output *data);
145 template<
typename Output >
146 void CopyCellDataToBuffer(Output *data);
152 void WritePointData();
154 void WriteCellData();
170 #ifndef ITK_MANUAL_INSTANTIATION
171 #include "itkMeshFileWriter.hxx"
174 #endif // itkMeshFileWriter_h
virtual void Update() override
virtual void PrintSelf(std::ostream &os, Indent indent) const override
Light weight base class for most itk classes.
MeshIOBase::Pointer m_MeshIO
MeshIOBase::SizeValueType SizeValueType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
IdentifierType SizeValueType
bool m_FactorySpecifiedMeshIO
InputMeshType::CellType InputMeshCellType
SmartPointer< Self > Pointer
void SetFileTypeAsASCII()
InputMeshType::PixelType InputMeshPixelType
void SetMeshIO(MeshIOBase *io)
bool m_UserSpecifiedMeshIO
void SetFileTypeAsBINARY()
InputMeshType::Pointer InputMeshPointer
SmartPointer< const Self > ConstPointer
InputMeshType::RegionType InputMeshRegionType
SmartPointer< Self > Pointer
Writes mesh data to a single file.
Control indentation during Print() invocation.
Abstract superclass defines mesh IO interface.