|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkMeshFileReader_h
19 #define itkMeshFileReader_h
77 template <
typename TOutputMesh,
78 typename ConvertPointPixelTraits = MeshConvertPixelTraits<typename TOutputMesh::PixelType>,
79 class ConvertCellPixelTraits = MeshConvertPixelTraits<typename TOutputMesh::CellPixelType>>
120 static constexpr
unsigned int OutputPointDimension = OutputMeshType::PointDimension;
123 itkSetStringMacro(FileName);
124 itkGetStringMacro(FileName);
135 itkGetModifiableObjectMacro(MeshIO,
MeshIOBase);
141 GenerateOutputInformation()
override;
143 template <
typename T>
145 ReadPoints(T * buffer);
147 template <
typename T>
149 ReadCells(T * buffer);
161 PrintSelf(std::ostream & os,
Indent indent)
const override;
164 template <
typename T>
166 ConvertPointPixelBuffer(
void * inputData, T * outputData,
size_t numberOfPixels);
168 template <
typename T>
170 ConvertCellPixelBuffer(
void * inputData, T * outputData,
size_t numberOfPixels);
178 TestFileExistanceAndReadability();
182 GenerateData()
override;
194 #ifndef ITK_MANUAL_INSTANTIATION
195 # include "itkMeshFileReader.hxx"
198 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
199 # include "itkMeshIOFactoryRegisterManager.h"
MeshIOBase::Pointer m_MeshIO
typename OutputMeshType::CellIdentifier OutputCellIdentifier
Represents a single vertex for a Mesh.
Represents a quadrilateral for a Mesh.
IdentifierType SizeValueType
typename OutputMeshType::CoordRepType OutputCoordRepType
typename MeshIOBase::SizeValueType SizeValueType
Mesh source that reads mesh data from a single file.
ImageBaseType::PointType PointType
Abstract superclass defines mesh IO interface.
Represents a polygon in a Mesh.
Control indentation during Print() invocation.
Represents a second order line segment for a Mesh.
TetrahedronCell represents a tetrahedron for a Mesh.
Light weight base class for most itk classes.
typename OutputMeshType::PointIdentifier OutputPointIdentifier
Base class for all process objects that output mesh data.
Represents a hexahedron (cuboid) for a Mesh.
std::string m_ExceptionMessage
typename OutputMeshType::PixelType OutputPointPixelType
Represents a line segment for a Mesh.
typename OutputMeshType::PointType OutputPointType
typename OutputMeshType::CellPixelType OutputCellPixelType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
TOutputMesh OutputMeshType
typename OutputMeshType::CellType OutputCellType
Represents a second order triangular patch for a Mesh.
typename OutputMeshType::CellAutoPointer OutputCellAutoPointer
bool m_UserSpecifiedMeshIO