Skip to content

Libs/Mesh/PreviewMeshQC/FEVTKImport.h

Classes

Name
class FEVTKimport

Source code

#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <istream>
using namespace std;

class FEMesh;
class vtkPolyData;

class FEVTKimport
{
public:
  FEVTKimport();
  ~FEVTKimport(void);

  FEMesh* Load(const char* szfile);

  FEMesh* Load(istream& stream);

  FEMesh* Load(vtkPolyData *polydata);


protected:
  bool BuildMesh();
  FEMesh* errf(const char* sz, ...);
  void Close();

private:
  FILE*   m_fp;

};

Updated on 2024-07-12 at 20:10:35 +0000