Go to the source code of this file.
Functions | |
bool | readLegacyVTKHeader (const std::string &line) |
bool | readLegacyVTKFieldData (std::istream &meshStream, std::string &line, vtkSmartPointer< vtkUnstructuredGrid > dataSet_tmp) |
bool | readLegacyVTKPoints (std::istream &meshStream, std::string &line, nemId_t &numPoints, vtkSmartPointer< vtkPoints > points, vtkSmartPointer< vtkUnstructuredGrid > dataSet_tmp) |
bool | readLegacyVTKCells (std::istream &meshStream, std::string &line, nemId_t &numCells, std::vector< vtkSmartPointer< vtkIdList >> &vtkCellIds, vtkSmartPointer< vtkUnstructuredGrid > dataSet_tmp) |
bool | readLegacyVTKData (std::ifstream &meshStream, std::string &line, const nemId_t numTuple, const bool pointOrCell, bool &hasPointOrCell, vtkSmartPointer< vtkUnstructuredGrid > dataSet_tmp) |
vtkSmartPointer< vtkUnstructuredGrid > | ReadALegacyVTKFile (const std::string &fileName) |
vtkSmartPointer< vtkUnstructuredGrid > | ReadDegenerateVTKFile (const std::string &fileName) |
vtkSmartPointer<vtkUnstructuredGrid> ReadALegacyVTKFile | ( | const std::string & | fileName | ) |
Definition at line 502 of file vtkMesh.C.
References NEM::MSH::New(), meshBase::numCells, meshBase::numPoints, points, readLegacyVTKCells(), readLegacyVTKData(), readLegacyVTKFieldData(), readLegacyVTKHeader(), and readLegacyVTKPoints().
Referenced by ReadAnXMLOrSTLFile(), and vtkMesh::vtkMesh().
vtkSmartPointer<vtkUnstructuredGrid> ReadDegenerateVTKFile | ( | const std::string & | fileName | ) |
Definition at line 581 of file vtkMesh.C.
References cellType, nemAux::flip_map(), id, NEM::MSH::New(), meshBase::numCells, meshBase::numPoints, and points.
Referenced by ReadAnXMLOrSTLFile(), and vtkMesh::vtkMesh().
bool readLegacyVTKCells | ( | std::istream & | meshStream, |
std::string & | line, | ||
nemId_t & | numCells, | ||
std::vector< vtkSmartPointer< vtkIdList >> & | vtkCellIds, | ||
vtkSmartPointer< vtkUnstructuredGrid > | dataSet_tmp | ||
) |
Definition at line 358 of file vtkMesh.C.
References cellType, id, NEM::MSH::New(), and meshBase::numCells.
Referenced by ReadALegacyVTKFile().
bool readLegacyVTKData | ( | std::ifstream & | meshStream, |
std::string & | line, | ||
const nemId_t | numTuple, | ||
const bool | pointOrCell, | ||
bool & | hasPointOrCell, | ||
vtkSmartPointer< vtkUnstructuredGrid > | dataSet_tmp | ||
) |
Definition at line 406 of file vtkMesh.C.
References NEM::MSH::New().
Referenced by ReadALegacyVTKFile().
bool readLegacyVTKFieldData | ( | std::istream & | meshStream, |
std::string & | line, | ||
vtkSmartPointer< vtkUnstructuredGrid > | dataSet_tmp | ||
) |
Definition at line 305 of file vtkMesh.C.
References NEM::MSH::New().
Referenced by ReadALegacyVTKFile().
bool readLegacyVTKHeader | ( | const std::string & | line | ) |
Definition at line 294 of file vtkMesh.C.
Referenced by ReadALegacyVTKFile(), and ReadAnXMLOrSTLFile().
bool readLegacyVTKPoints | ( | std::istream & | meshStream, |
std::string & | line, | ||
nemId_t & | numPoints, | ||
vtkSmartPointer< vtkPoints > | points, | ||
vtkSmartPointer< vtkUnstructuredGrid > | dataSet_tmp | ||
) |
Definition at line 334 of file vtkMesh.C.
References meshBase::numPoints.
Referenced by ReadALegacyVTKFile().