rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
RSVSalgorithm.hpp
Go to the documentation of this file.
1 
8 #ifndef RSVSALGORITHM_H_INCLUDED
9 #define RSVSALGORITHM_H_INCLUDED
10 
11 //=================================
12 // forward declared dependencies
13 // class foo; //when you only need a pointer not the actual object
14 // and to avoid circular dependencies
15 
16 class mesh;
17 class snake;
18 
19 //=================================
20 // included dependencies
21 
22 #include <vector>
23 
24 //==================================
25 // Code
26 // NOTE: function in a class definition are IMPLICITELY INLINED
27 // ie replaced by their code at compile time
28 
29 std::vector<int> FindSpawnVerts(const mesh &meshin, std::vector<int> &vertList, std::vector<int> &voluOutList,
30  int outerBorder = 1);
31 void SpawnRSVS(snake &snakein, int outerBorder = 1);
32 void RemoveSnakeInVolu(snake &snakein, std::vector<int> &voluInd, int outerBorder);
33 void RemoveSnakeInSurf(snake &snakein, std::vector<int> &voluInd, int outerBorder);
34 void SpawnSnakeAndMove(snake &snakein, std::vector<int> vertSpawn);
35 
36 int Test_RSVSalgo_init();
37 int Test_RSVSalgo();
38 int Test_RSVSalgoflat();
39 
40 #endif
Class for mesh handling.
Definition: mesh.hpp:592
Definition: snake.hpp:83