|
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkMeshFileReader_h
19 #define itkMeshFileReader_h
78 template <
typename TOutputMesh,
79 typename ConvertPointPixelTraits = MeshConvertPixelTraits<typename TOutputMesh::PixelType>,
80 class ConvertCellPixelTraits = MeshConvertPixelTraits<typename TOutputMesh::CellPixelType>>
121 static constexpr
unsigned int OutputPointDimension = OutputMeshType::PointDimension;
124 itkSetStringMacro(FileName);
125 itkGetStringMacro(FileName);
136 itkGetModifiableObjectMacro(MeshIO,
MeshIOBase);
142 GenerateOutputInformation()
override;
144 template <
typename T>
146 ReadPoints(T * buffer);
148 template <
typename T>
150 ReadCells(T * buffer);
162 PrintSelf(std::ostream & os,
Indent indent)
const override;
165 template <
typename T>
167 ConvertPointPixelBuffer(
void * inputData, T * outputData,
size_t numberOfPixels);
169 template <
typename T>
171 ConvertCellPixelBuffer(
void * inputData, T * outputData,
size_t numberOfPixels);
179 TestFileExistanceAndReadability();
183 GenerateData()
override;
195 #ifndef ITK_MANUAL_INSTANTIATION
196 # include "itkMeshFileReader.hxx"
199 #ifdef ITK_IO_FACTORY_REGISTER_MANAGER
200 # 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