FrontISTR  5.7.1
Large-scale structural analysis program with finit element method
hecmw_vis_intersection_find.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_VIS_INTERSECTION_FIND_H_INCLUDED
7 #define HECMW_VIS_INTERSECTION_FIND_H_INCLUDED
8 
9 #include "hecmw_struct.h"
10 #include "hecmw_vis_SF_geom.h"
11 
12 /*----------------------------------------------------------------------
13 # Subroutines in this file on isosurface generation by Marching Cubes is
14 based
15  on the revision of Dr. Yuriko Takeshima's codes when she was working
16 part time in RIST
17 #---------------------------------------------------------------------- */
18 
19 int get_hex_rotation_info(int rot_type, Rotation_info *rot_info);
20 int point_convert(int point_index, Rotation_info *rot_info);
21 int separation_test(struct hecmwST_local_mesh *mesh, Cell *cell, int amb,
22  double fvalue, int CS_type, int disamb_flag);
23 
24 void case0opp_tiler_hex(Cube_polygons *cube_polys);
25 void case1_tiler_hex(int index, Cube_polygons *cube_polys);
26 void case1opp_tiler_hex(int index, Cube_polygons *cube_polys);
27 void case2_tiler_hex(int index, Cube_polygons *cube_polys);
28 void case2opp_tiler_hex(int index, Cube_polygons *cube_polys);
29 void case3_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
30  int CS_type, int index, Cube_polygons *cube_polys,
31  int disamb_flag);
32 void case3opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
33  double fvalue, int CS_type, int index,
34  Cube_polygons *cube_polys, int disamb_flag);
35 void case4_tiler_hex(int index, Cube_polygons *cube_polys);
36 void case4opp_tiler_hex(int index, Cube_polygons *cube_polys);
37 void case5_tiler_hex(int index, Cube_polygons *cube_polys);
38 void case5opp_tiler_hex(int index, Cube_polygons *cube_polys);
39 void case6_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
40  int CS_type, int index, Cube_polygons *cube_polys,
41  int disamb_flag);
42 void case6opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
43  double fvalue, int CS_type, int index,
44  Cube_polygons *cube_polys, int disamb_flag);
45 void case7_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue,
46  int CS_type, int index, Cube_polygons *cube_polys,
47  int disamb_flag);
48 void case7opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
49  double fvalue, int CS_type, int index,
50  Cube_polygons *cube_polys, int disamb_flag);
51 void case8_tiler_hex(int index, Cube_polygons *cube_polys);
52 void case8opp_tiler_hex(int index, Cube_polygons *cube_polys);
53 void case9_tiler_hex(int index, Cube_polygons *cube_polys);
54 void case9opp_tiler_hex(int index, Cube_polygons *cube_polys);
55 void case10_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
56  double fvalue, int CS_type, int index,
57  Cube_polygons *cube_polys, int disamb_flag);
58 void case10opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
59  double fvalue, int CS_type, int index,
60  Cube_polygons *cube_polys, int disamb_flag);
61 void case11_tiler_hex(int index, Cube_polygons *cube_polys);
62 void case11opp_tiler_hex(int index, Cube_polygons *cube_polys);
63 void case12_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
64  double fvalue, int CS_type, int index,
65  Cube_polygons *cube_polys, int disamb_flag);
66 void case12opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
67  double fvalue, int CS_type, int index,
68  Cube_polygons *cube_polys, int disamb_flag);
69 void case13_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
70  double fvalue, int CS_type, int index,
71  Cube_polygons *cube_polys, int disamb_flag);
72 void case13opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell,
73  double fvalue, int CS_type, int index,
74  Cube_polygons *cube_polys, int disamb_flag);
75 void case14_tiler_hex(int index, Cube_polygons *cube_polys);
76 void case14opp_tiler_hex(int index, Cube_polygons *cube_polys);
77 int choice_disambiguation(int disamb_flag, double fvalue, int CS_type,
78  double voxel0, double voxel1, double voxel2,
79  double voxel3);
80 
81 #endif /* HECMW_VIS_INTERSECTION_FIND_H_INCLUDED */
void case8_tiler_hex(int index, Cube_polygons *cube_polys)
void case11opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case5opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case9_tiler_hex(int index, Cube_polygons *cube_polys)
void case4_tiler_hex(int index, Cube_polygons *cube_polys)
void case7_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case0opp_tiler_hex(Cube_polygons *cube_polys)
void case2_tiler_hex(int index, Cube_polygons *cube_polys)
void case10_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case6_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case12opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case6opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case3opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
int get_hex_rotation_info(int rot_type, Rotation_info *rot_info)
void case8opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case13_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case7opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case2opp_tiler_hex(int index, Cube_polygons *cube_polys)
int choice_disambiguation(int disamb_flag, double fvalue, int CS_type, double voxel0, double voxel1, double voxel2, double voxel3)
int separation_test(struct hecmwST_local_mesh *mesh, Cell *cell, int amb, double fvalue, int CS_type, int disamb_flag)
int point_convert(int point_index, Rotation_info *rot_info)
void case9opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case3_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case14opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case14_tiler_hex(int index, Cube_polygons *cube_polys)
void case4opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case1opp_tiler_hex(int index, Cube_polygons *cube_polys)
void case10opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case13opp_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case5_tiler_hex(int index, Cube_polygons *cube_polys)
void case12_tiler_hex(struct hecmwST_local_mesh *mesh, Cell *cell, double fvalue, int CS_type, int index, Cube_polygons *cube_polys, int disamb_flag)
void case1_tiler_hex(int index, Cube_polygons *cube_polys)
void case11_tiler_hex(int index, Cube_polygons *cube_polys)