21#include "ITKIOMeshOBJExport.h"
115 template <
typename T>
132 template <
typename T>
142 auto numberOfCellPoints =
static_cast<unsigned int>(buffer[index++]);
144 for (
unsigned int jj = 0; jj < numberOfCellPoints; ++jj)
146 outputFile << buffer[index++] + 1 <<
" ";
153 template <
typename T>
172 SplitLine(
const std::string & line, std::string & type, std::string & content);
Control indentation during Print() invocation.
SizeValueType m_NumberOfPoints
IdentifierType SizeValueType
unsigned int m_PointDimension
SizeValueType m_NumberOfPointPixels
SizeValueType m_NumberOfCells
std::ifstream m_InputFile
void ReadMeshInformation() override
void WriteCellData(void *buffer) override
void WritePointData(T *buffer, std::ofstream &outputFile)
void WritePointData(void *buffer) override
void PrintSelf(std::ostream &os, Indent indent) const override
void WriteCells(void *buffer) override
void WriteCells(T *buffer, std::ofstream &outputFile)
void ReadPoints(void *buffer) override
void ReadPointData(void *buffer) override
void ReadCells(void *buffer) override
std::streampos m_PointsStartPosition
static bool SplitLine(const std::string &line, std::string &type, std::string &content)
SmartPointer< const Self > ConstPointer
void WriteMeshInformation() override
Superclass::SizeValueType SizeValueType
void WritePoints(void *buffer) override
bool CanReadFile(const char *fileName) override
void ReadCellData(void *buffer) override
bool CanWriteFile(const char *fileName) override
SmartPointer< Self > Pointer
void WritePoints(T *buffer, std::ofstream &outputFile)
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
std::string ConvertNumberToString(const TValue val)