SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | List of all members
InsertHexVolSheetAlongSurfaceAlgo Class Reference

This module inserts a layer of hexes corresponding to the input TriSurfMesh. More...

Classes

class  TriangleMeshFaceTree
 

Public Member Functions

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 Public Member Functions

static bool pair_less (const std::pair< double, unsigned int > &a, const std::pair< double, unsigned int > &b)
 

Detailed Description

This module inserts a layer of hexes corresponding to the input TriSurfMesh.

Member Function Documentation

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 
)
bool execute ( ProgressReporter *  reporter,
FieldHandle  hexfieldh,
FieldHandle  trifieldh,
FieldHandle side1field,
FieldHandle side2field,
bool  add_to_side1,
bool  add_layer 
)

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: