PeriDyno 1.0.0
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}
void loadTetFile(std::string filename)
std::vector< TopologyModule::Edge > m_edges
std::vector< TopologyModule::Tetrahedron > m_tets
void loadFile(std::string filename)
void loadTriangleFile(std::string filename)
void loadEdgeFile(std::string filename)
void loadNodeFile(std::string filename)
std::vector< TopologyModule::Quad > m_quads
std::vector< TopologyModule::Triangle > m_triangles
std::vector< TopologyModule::Hexahedron > m_hexs
std::vector< Vec3f > m_points
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25