PeriDyno 0.9.2
Loading...
Searching...
No Matches
Smesh.h
Go to the documentation of this file.
1#pragma once
2#include <vector>
3#include <set>
4#include "Vector.h"
6
7namespace dyno
8{
9 class Smesh {
10
11 public:
12 void loadFile(std::string filename);
13
14 void loadNodeFile(std::string filename);
15 void loadEdgeFile(std::string filename);
16 void loadTriangleFile(std::string filename);
17 void loadTetFile(std::string filename);
18
19
20
21 std::vector <dyno::Vec3f> m_points;
22 std::vector<dyno::TopologyModule::Edge> m_edges;
23 std::vector<dyno::TopologyModule::Triangle> m_triangles;
24 std::vector<dyno::TopologyModule::Quad> m_quads;
25 std::vector<dyno::TopologyModule::Tetrahedron> m_tets;
26 std::vector<dyno::TopologyModule::Hexahedron> m_hexs;
27 };
28
29}
std::vector< dyno::TopologyModule::Hexahedron > m_hexs
Definition Smesh.h:26
void loadTetFile(std::string filename)
std::vector< dyno::TopologyModule::Tetrahedron > m_tets
Definition Smesh.h:25
void loadFile(std::string filename)
std::vector< dyno::TopologyModule::Triangle > m_triangles
Definition Smesh.h:23
std::vector< dyno::TopologyModule::Edge > m_edges
Definition Smesh.h:22
void loadTriangleFile(std::string filename)
void loadEdgeFile(std::string filename)
void loadNodeFile(std::string filename)
std::vector< dyno::TopologyModule::Quad > m_quads
Definition Smesh.h:24
std::vector< dyno::Vec3f > m_points
Definition Smesh.h:21
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:24