18 #ifndef itkMeshFileWriter_h
19 #define itkMeshFileWriter_h
50 template<
typename TInputMesh >
77 using Superclass::SetInput;
85 itkSetStringMacro(FileName);
86 itkGetStringMacro(FileName);
100 if ( this->m_MeshIO != io )
105 m_FactorySpecifiedMeshIO =
false;
106 m_UserSpecifiedMeshIO =
true;
108 itkGetModifiableObjectMacro(MeshIO,
MeshIOBase);
117 virtual void Write();
127 itkSetMacro(UseCompression,
bool);
128 itkGetConstReferenceMacro(UseCompression,
bool);
129 itkBooleanMacro(UseCompression);
135 void PrintSelf(std::ostream & os,
Indent indent)
const override;
137 template<
typename Output >
138 void CopyPointsToBuffer(Output *data);
140 template<
typename Output >
141 void CopyCellsToBuffer(Output *data);
143 template<
typename Output >
144 void CopyPointDataToBuffer(Output *data);
146 template<
typename Output >
147 void CopyCellDataToBuffer(Output *data);
153 void WritePointData();
155 void WriteCellData();
169 #ifndef ITK_MANUAL_INSTANTIATION
170 #include "itkMeshFileWriter.hxx"
173 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
174 #include "itkMeshIOFactoryRegisterManager.h"
177 #endif // itkMeshFileWriter_h
Light weight base class for most itk classes.
MeshIOBase::Pointer m_MeshIO
IdentifierType SizeValueType
typename MeshIOBase::SizeValueType SizeValueType
typename InputMeshType::CellType InputMeshCellType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename InputMeshType::PixelType InputMeshPixelType
bool m_FactorySpecifiedMeshIO
class ITK_FORWARD_EXPORT ProcessObject
void SetFileTypeAsASCII()
void SetMeshIO(MeshIOBase *io)
bool m_UserSpecifiedMeshIO
void SetFileTypeAsBINARY()
Writes mesh data to a single file.
typename InputMeshType::RegionType InputMeshRegionType
Control indentation during Print() invocation.
typename InputMeshType::Pointer InputMeshPointer
Abstract superclass defines mesh IO interface.
ImageBaseType::RegionType RegionType