-
Notifications
You must be signed in to change notification settings - Fork 22
/
io.h
33 lines (26 loc) · 896 Bytes
/
io.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <iomanip>
#include "global_types.h"
#include "global_functions.h"
#include <igl/readOBJ.h>
#include <igl/readSTL.h>
#include <igl/readWRL.h>
class h_io
{
private:
int counter;
public:
h_io(void) { counter = -1; }; ~h_io(void) {};
bool read_hybrid_mesh_VTK(Mesh &hmi, std::string path);
void write_hybrid_mesh_VTK(Mesh &hmi, std::string path);
bool read_hybrid_mesh_MESH(Mesh &hmi, std::string path);
void write_hybrid_mesh_MESH(Mesh &hmi, std::string path);
void read_hybrid_mesh_OBJ(Mesh &hmi, std::string path);
void write_hybrid_mesh_OBJ(Mesh &hmi, std::string path);
void write_mesh_OBJ(Eigen::MatrixXd &V,Eigen::MatrixXi &F, bool col, std::string path);
bool read_feature_Graph_FGRAPH(Mesh_Feature &mf, std::string path);
void write_feature_Graph_FGRAPH(Mesh_Feature &mf, std::string path);
};