MeshKit  1.0
SurfProHarmonicMap Class Reference

#include <SurfProHarmonicMap.hpp>

List of all members.

Public Member Functions

 SurfProHarmonicMap (MKCore *core, iBase_EntityHandle s, iBase_EntityHandle t, iBase_EntityHandle v)
 ~SurfProHarmonicMap ()
void match ()
void projection ()
void setMeshData (vector< Vertex > &s, vector< Vertex > &t, vector< Face > &f)
void getMeshData (vector< Vertex > &v)

Private Member Functions

void preprocessing ()
void addFaceToList (iBase_EntityHandle entity, Face &f, int index, bool is_set_int)
void GetGeomLoops (Face surf, vector< vector< int > > &loops_vertex, vector< vector< int > > &loops_edge)
void postProcessGeomLoops (Face &surf)
void getFacets ()
void MapFacetGeom (Face f_surf, vector< Vertex > facet_node, std::map< int, int > &map_data, vector< list< int > > &geom_facet, int size_facet_v)
void boundaryDistribution ()
void boundaryUnitDisk (Face f, vector< double > dist, vector< Vertex > &facet_v, std::vector< std::list< int > > geom_facet)
void LocateBoundaryNodesTarget ()
void test ()
void ComputeWeight ()
void addEdgeToList (int a, int b, int &count, vector< set< int > > &edge_connect, vector< Edge > &f_edges, vector< Vertex > &facet_v)
void computeEdgeWeight (vector< Edge > &f_edges, vector< Face > &f, vector< Vertex > f_v)
void addExtra (Face f, vector< Vertex > &facet_v, vector< Edge > &facet_e, vector< Face > &facet_tri, vector< list< int > > geom_facet, int size_facet_v)
int findFacetTri (vector< Face > &facet_tri, vector< Vector3D > nrml, Vector3D xyz, Vector3D &uvw)
int findFacetTri (vector< Face > &facet_tri, Vector2D uv, Vector3D &uvw)
void prjPtsToTri (Face tri, Vector3D pts, Vector3D nrml, Vector3D &xyz)
bool ComputeBarycentric (Vector3D a, Vector3D b, Vector3D c, Vector3D xyz, Vector3D &uvw)
bool ComputeBarycentric (Vector2D a, Vector2D b, Vector2D c, Vector2D xy, Vector3D &uvw)
void computeNormalTri (Face &tri, Vector3D &nrml, Face surf)
void cleanup ()
void adjustVtxEdges (Face &f)

Private Attributes

MKCoremk_core
Face source
Face target
iBase_EntityHandle volume
vector< Facelink
vector< Edgeedges
vector< Vertexvertices
iGeomigeom_instance
iMeshimesh_instance
iRelirel_instance
iRel::PairHandleirel_pair
iBase_TagHandle global_geom_tag
iBase_TagHandle global_mesh_tag
iBase_TagHandle harmonic_surf_pro
iBase_TagHandle facet_mesh_tag
iGeom::Error g_err
iMesh::Error m_err
iRel::Error r_err
vector< Vertexsrc_facet_v
vector< Vertextgt_facet_v
vector< Facesrc_facet_tri
vector< Facetgt_facet_tri
vector< Edgesrc_facet_e
vector< Edgetgt_facet_e
vector< set< int > > adj_src
vector< set< int > > adj_tgt
int size_src_v
int size_src_e
int size_src_f
int size_tgt_v
int size_tgt_e
int size_tgt_f
std::map< int, int > src_facet_geom
std::map< int, int > tgt_facet_geom
std::vector< std::list< int > > src_geom_facet
std::vector< std::list< int > > tgt_geom_facet
vector< Vertexquad_mesh_src
vector< Vertexquad_mesh_tgt
vector< Facefacelist

Detailed Description

Definition at line 31 of file SurfProHarmonicMap.hpp.


Constructor & Destructor Documentation

SurfProHarmonicMap ( MKCore core,
iBase_EntityHandle  s,
iBase_EntityHandle  t,
iBase_EntityHandle  v 
)

Definition at line 8 of file SurfProHarmonicMap.cpp.

Definition at line 1390 of file SurfProHarmonicMap.cpp.


Member Function Documentation

void addEdgeToList ( int  a,
int  b,
int &  count,
vector< set< int > > &  edge_connect,
vector< Edge > &  f_edges,
vector< Vertex > &  facet_v 
) [private]

Definition at line 917 of file SurfProHarmonicMap.cpp.

void addExtra ( Face  f,
vector< Vertex > &  facet_v,
vector< Edge > &  facet_e,
vector< Face > &  facet_tri,
vector< list< int > >  geom_facet,
int  size_facet_v 
) [private]

Definition at line 795 of file SurfProHarmonicMap.cpp.

void addFaceToList ( iBase_EntityHandle  entity,
Face f,
int  index,
bool  is_set_int 
) [private]

Definition at line 1206 of file SurfProHarmonicMap.cpp.

void adjustVtxEdges ( Face f) [private]

Definition at line 1188 of file SurfProHarmonicMap.cpp.

void boundaryDistribution ( ) [private]

Definition at line 937 of file SurfProHarmonicMap.cpp.

void boundaryUnitDisk ( Face  f,
vector< double >  dist,
vector< Vertex > &  facet_v,
std::vector< std::list< int > >  geom_facet 
) [private]

Definition at line 975 of file SurfProHarmonicMap.cpp.

void cleanup ( ) [private]

Definition at line 164 of file SurfProHarmonicMap.cpp.

bool ComputeBarycentric ( Vector3D  a,
Vector3D  b,
Vector3D  c,
Vector3D  xyz,
Vector3D uvw 
) [private]

Definition at line 106 of file SurfProHarmonicMap.cpp.

bool ComputeBarycentric ( Vector2D  a,
Vector2D  b,
Vector2D  c,
Vector2D  xy,
Vector3D uvw 
) [private]

Definition at line 198 of file SurfProHarmonicMap.cpp.

void computeEdgeWeight ( vector< Edge > &  f_edges,
vector< Face > &  f,
vector< Vertex f_v 
) [private]

Definition at line 881 of file SurfProHarmonicMap.cpp.

void computeNormalTri ( Face tri,
Vector3D nrml,
Face  surf 
) [private]

Definition at line 220 of file SurfProHarmonicMap.cpp.

void ComputeWeight ( ) [private]

Definition at line 684 of file SurfProHarmonicMap.cpp.

int findFacetTri ( vector< Face > &  facet_tri,
vector< Vector3D nrml,
Vector3D  xyz,
Vector3D uvw 
) [private]

Definition at line 244 of file SurfProHarmonicMap.cpp.

int findFacetTri ( vector< Face > &  facet_tri,
Vector2D  uv,
Vector3D uvw 
) [private]

Definition at line 189 of file SurfProHarmonicMap.cpp.

void getFacets ( ) [private]

Definition at line 1001 of file SurfProHarmonicMap.cpp.

void GetGeomLoops ( Face  surf,
vector< vector< int > > &  loops_vertex,
vector< vector< int > > &  loops_edge 
) [private]

Definition at line 1315 of file SurfProHarmonicMap.cpp.

void getMeshData ( vector< Vertex > &  v)

Definition at line 281 of file SurfProHarmonicMap.cpp.

void LocateBoundaryNodesTarget ( ) [private]

Definition at line 314 of file SurfProHarmonicMap.cpp.

void MapFacetGeom ( Face  f_surf,
vector< Vertex facet_node,
std::map< int, int > &  map_data,
vector< list< int > > &  geom_facet,
int  size_facet_v 
) [private]

Definition at line 1058 of file SurfProHarmonicMap.cpp.

void match ( )

Definition at line 294 of file SurfProHarmonicMap.cpp.

void postProcessGeomLoops ( Face surf) [private]

Definition at line 1240 of file SurfProHarmonicMap.cpp.

void preprocessing ( ) [private]

Definition at line 1120 of file SurfProHarmonicMap.cpp.

void prjPtsToTri ( Face  tri,
Vector3D  pts,
Vector3D  nrml,
Vector3D xyz 
) [private]

Definition at line 267 of file SurfProHarmonicMap.cpp.

void projection ( )

Definition at line 32 of file SurfProHarmonicMap.cpp.

void setMeshData ( vector< Vertex > &  s,
vector< Vertex > &  t,
vector< Face > &  f 
)

Definition at line 275 of file SurfProHarmonicMap.cpp.

void test ( ) [private]

Definition at line 128 of file SurfProHarmonicMap.cpp.


Member Data Documentation

vector<set<int> > adj_src [private]

Definition at line 99 of file SurfProHarmonicMap.hpp.

vector<set<int> > adj_tgt [private]

Definition at line 99 of file SurfProHarmonicMap.hpp.

vector<Edge> edges [private]

Definition at line 81 of file SurfProHarmonicMap.hpp.

vector<Face> facelist [private]

Definition at line 108 of file SurfProHarmonicMap.hpp.

iBase_TagHandle facet_mesh_tag [private]

Definition at line 89 of file SurfProHarmonicMap.hpp.

iGeom::Error g_err [private]

Definition at line 90 of file SurfProHarmonicMap.hpp.

iBase_TagHandle global_geom_tag [private]

Definition at line 87 of file SurfProHarmonicMap.hpp.

iBase_TagHandle global_mesh_tag [private]

Definition at line 88 of file SurfProHarmonicMap.hpp.

iBase_TagHandle harmonic_surf_pro [private]

Definition at line 89 of file SurfProHarmonicMap.hpp.

iGeom* igeom_instance [private]

Definition at line 83 of file SurfProHarmonicMap.hpp.

iMesh* imesh_instance [private]

Definition at line 84 of file SurfProHarmonicMap.hpp.

iRel* irel_instance [private]

Definition at line 85 of file SurfProHarmonicMap.hpp.

Definition at line 86 of file SurfProHarmonicMap.hpp.

vector<Face> link [private]

Definition at line 80 of file SurfProHarmonicMap.hpp.

iMesh::Error m_err [private]

Definition at line 91 of file SurfProHarmonicMap.hpp.

MKCore* mk_core [private]

Definition at line 75 of file SurfProHarmonicMap.hpp.

vector<Vertex> quad_mesh_src [private]

Definition at line 106 of file SurfProHarmonicMap.hpp.

vector<Vertex> quad_mesh_tgt [private]

Definition at line 106 of file SurfProHarmonicMap.hpp.

iRel::Error r_err [private]

Definition at line 92 of file SurfProHarmonicMap.hpp.

int size_src_e [private]

Definition at line 100 of file SurfProHarmonicMap.hpp.

int size_src_f [private]

Definition at line 100 of file SurfProHarmonicMap.hpp.

int size_src_v [private]

Definition at line 100 of file SurfProHarmonicMap.hpp.

int size_tgt_e [private]

Definition at line 101 of file SurfProHarmonicMap.hpp.

int size_tgt_f [private]

Definition at line 101 of file SurfProHarmonicMap.hpp.

int size_tgt_v [private]

Definition at line 101 of file SurfProHarmonicMap.hpp.

Face source [private]

Definition at line 77 of file SurfProHarmonicMap.hpp.

vector<Edge> src_facet_e [private]

Definition at line 97 of file SurfProHarmonicMap.hpp.

std::map<int, int> src_facet_geom [private]

Definition at line 103 of file SurfProHarmonicMap.hpp.

vector<Face> src_facet_tri [private]

Definition at line 95 of file SurfProHarmonicMap.hpp.

vector<Vertex> src_facet_v [private]

Definition at line 93 of file SurfProHarmonicMap.hpp.

std::vector<std::list<int> > src_geom_facet [private]

Definition at line 104 of file SurfProHarmonicMap.hpp.

Face target [private]

Definition at line 78 of file SurfProHarmonicMap.hpp.

vector<Edge> tgt_facet_e [private]

Definition at line 98 of file SurfProHarmonicMap.hpp.

std::map<int, int> tgt_facet_geom [private]

Definition at line 103 of file SurfProHarmonicMap.hpp.

vector<Face> tgt_facet_tri [private]

Definition at line 96 of file SurfProHarmonicMap.hpp.

vector<Vertex> tgt_facet_v [private]

Definition at line 94 of file SurfProHarmonicMap.hpp.

std::vector<std::list<int> > tgt_geom_facet [private]

Definition at line 104 of file SurfProHarmonicMap.hpp.

vector<Vertex> vertices [private]

Definition at line 82 of file SurfProHarmonicMap.hpp.

iBase_EntityHandle volume [private]

Definition at line 79 of file SurfProHarmonicMap.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines