This module inserts a layer of hexes corresponding to the input TriSurfMesh.
More...
|
bool | execute (ProgressReporter *reporter, FieldHandle hexfieldh, FieldHandle trifieldh, FieldHandle &side1field, FieldHandle &side2field, bool add_to_side1, bool add_layer) |
| virtual interface. More...
|
|
void | load_hex_mesh (VMesh *hexfield) |
|
void | load_tri_mesh (VMesh *trifield) |
|
void | compute_intersections (ProgressReporter *mod, VMesh *original_mesh, VMesh *tri_mesh, VMesh *side1_mesh, VMesh *side2_mesh, bool add_to_side1, bool add_layer) |
|
bool | interferes (const std::vector< Vector > &p, const Vector &axis, int split) |
| Brief projects points on the axis, tests overlap. More...
|
|
bool | intersects (const HexMesh &hexmesh, int hex_index, const TriangleMesh &trimesh, int face_index) |
|
void | compute_intersections_KDTree (ProgressReporter *pr, std::vector< int > &crosses, const TriangleMesh &trimesh, const HexMesh &hexmesh) |
|
|
static bool | pair_less (const std::pair< double, unsigned int > &a, const std::pair< double, unsigned int > &b) |
|
This module inserts a layer of hexes corresponding to the input TriSurfMesh.
void compute_intersections |
( |
ProgressReporter * |
mod, |
|
|
VMesh * |
original_mesh, |
|
|
VMesh * |
tri_mesh, |
|
|
VMesh * |
side1_mesh, |
|
|
VMesh * |
side2_mesh, |
|
|
bool |
add_to_side1, |
|
|
bool |
add_layer |
|
) |
| |
void compute_intersections_KDTree |
( |
ProgressReporter * |
pr, |
|
|
std::vector< int > & |
crosses, |
|
|
const TriangleMesh & |
trimesh, |
|
|
const HexMesh & |
hexmesh |
|
) |
| |
virtual interface.
- Todo:
- : Since the algorithm does not copy data
bool interferes |
( |
const std::vector< Vector > & |
p, |
|
|
const Vector & |
axis, |
|
|
int |
split |
|
) |
| |
Brief projects points on the axis, tests overlap.
bool intersects |
( |
const HexMesh & |
hexmesh, |
|
|
int |
hex_index, |
|
|
const TriangleMesh & |
trimesh, |
|
|
int |
face_index |
|
) |
| |
void load_hex_mesh |
( |
VMesh * |
hexfield | ) |
|
void load_tri_mesh |
( |
VMesh * |
trifield | ) |
|
static bool pair_less |
( |
const std::pair< double, unsigned int > & |
a, |
|
|
const std::pair< double, unsigned int > & |
b |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: