|
TexGen
|
Class which holds the information related to each intersection point, used for adjusting the mesh. More...
#include <AdjustMeshInterference.h>
Public Member Functions | |
| CMeshIntersectionData (void) | |
| virtual | ~CMeshIntersectionData (void) |
| void | SetIndex (int index) |
| void | SetDepth (double Depth) |
| void | SetPoint (XYZ Point) |
| void | SetYarn (int Yarn) |
| void | SetBoundaryPairIndex (int index) |
| void | SetStartPoint (XYZ Point) |
| void | SetInterpIndex (int index) |
| int | GetYarn () |
| const vector< ELEMENT_INDICES > & | GetElements () const |
| double | GetDepth () |
| XYZ | GetPoint () |
| XYZ | GetInterpPoint () |
| int | GetIndex () |
| XYZ | GetDisplacement () |
| int | GetInterpIndex () |
| bool | FindInterpolationNode (CMesh &YarnMesh) |
| Finds the appropriate node in the elements to interpolate towards. More... | |
| void | FindElements (vector< int > &IndexArray, CMesh::ELEMENT_TYPE ElementType) |
| Given node index, find all elements containing that node. More... | |
| bool | MoveNode (CMesh &YarnMesh) |
| Move node by 0.5 * intersection depth towards the interpolation node. More... | |
| void | AdjustInterpolationNode (CMesh &YarnMesh) |
| Make final adjustments to interpolation nodes to even out elements. More... | |
| void | FindPolygonPoints (list< int > &Polygons) |
| Find surface point in polygon & points on either side. More... | |
Protected Attributes | |
| double | m_Depth |
| XYZ | m_StartPoint |
| XYZ | m_Point |
| XYZ | m_InterpPoint |
| int | m_Yarn |
| int | m_Index |
| int | m_BoundaryPairIndex |
| int | m_InterpIndex |
| bool | m_Wedge |
| vector< ELEMENT_INDICES > | m_Elements |
| int | m_PolygonPoints [3] |
Class which holds the information related to each intersection point, used for adjusting the mesh.
Definition at line 34 of file AdjustMeshInterference.h.
| CMeshIntersectionData::CMeshIntersectionData | ( | void | ) |
Definition at line 561 of file AdjustMeshInterference.cpp.
References m_InterpIndex, and m_Wedge.
|
virtual |
Definition at line 567 of file AdjustMeshInterference.cpp.
| void CMeshIntersectionData::AdjustInterpolationNode | ( | CMesh & | YarnMesh | ) |
Make final adjustments to interpolation nodes to even out elements.
Definition at line 802 of file AdjustMeshInterference.cpp.
References TexGen::CMesh::GetNode(), m_InterpIndex, m_Point, m_StartPoint, and TexGen::CMesh::SetNode().
| void CMeshIntersectionData::FindElements | ( | vector< int > & | IndexArray, |
| CMesh::ELEMENT_TYPE | ElementType | ||
| ) |
Given node index, find all elements containing that node.
Definition at line 743 of file AdjustMeshInterference.cpp.
References TexGen::ELEMENT_INDICES::ElementType, TexGen::CMesh::GetNumNodes(), TexGen::ELEMENT_INDICES::Index, m_Elements, m_Index, m_Wedge, and TexGen::CMesh::WEDGE.
| bool CMeshIntersectionData::FindInterpolationNode | ( | CMesh & | YarnMesh | ) |
Finds the appropriate node in the elements to interpolate towards.
Definition at line 571 of file AdjustMeshInterference.cpp.
References FIRST_HALF, TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), m_Elements, m_Index, m_InterpPoint, m_PolygonPoints, m_Wedge, SECOND_HALF, SetInterpIndex(), TGERROR, and TGLOG.
| void CMeshIntersectionData::FindPolygonPoints | ( | list< int > & | Polygons | ) |
Find surface point in polygon & points on either side.
Definition at line 768 of file AdjustMeshInterference.cpp.
References m_Index, and m_PolygonPoints.
|
inline |
Definition at line 50 of file AdjustMeshInterference.h.
|
inline |
Definition at line 54 of file AdjustMeshInterference.h.
|
inline |
Definition at line 49 of file AdjustMeshInterference.h.
|
inline |
Definition at line 53 of file AdjustMeshInterference.h.
|
inline |
Definition at line 55 of file AdjustMeshInterference.h.
|
inline |
Definition at line 52 of file AdjustMeshInterference.h.
|
inline |
Definition at line 51 of file AdjustMeshInterference.h.
|
inline |
Definition at line 48 of file AdjustMeshInterference.h.
| bool CMeshIntersectionData::MoveNode | ( | CMesh & | YarnMesh | ) |
Move node by 0.5 * intersection depth towards the interpolation node.
Definition at line 706 of file AdjustMeshInterference.cpp.
References TexGen::GetLength(), TexGen::CMesh::GetNode(), m_BoundaryPairIndex, m_Depth, m_Index, m_InterpPoint, m_Point, m_StartPoint, m_Wedge, m_Yarn, TexGen::CMesh::SetNode(), TGERROR, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.
|
inline |
Definition at line 44 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
inline |
Definition at line 41 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
inline |
Definition at line 40 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
inline |
Definition at line 46 of file AdjustMeshInterference.h.
Referenced by FindInterpolationNode().
|
inline |
Definition at line 42 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
inline |
Definition at line 45 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
inline |
Definition at line 43 of file AdjustMeshInterference.h.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections().
|
protected |
Definition at line 80 of file AdjustMeshInterference.h.
Referenced by MoveNode().
|
protected |
Definition at line 74 of file AdjustMeshInterference.h.
Referenced by MoveNode().
|
protected |
Definition at line 83 of file AdjustMeshInterference.h.
Referenced by FindElements(), and FindInterpolationNode().
|
protected |
Definition at line 79 of file AdjustMeshInterference.h.
Referenced by FindElements(), FindInterpolationNode(), FindPolygonPoints(), and MoveNode().
|
protected |
Definition at line 81 of file AdjustMeshInterference.h.
Referenced by AdjustInterpolationNode(), and CMeshIntersectionData().
|
protected |
Definition at line 77 of file AdjustMeshInterference.h.
Referenced by FindInterpolationNode(), and MoveNode().
|
protected |
Definition at line 76 of file AdjustMeshInterference.h.
Referenced by AdjustInterpolationNode(), and MoveNode().
|
protected |
Definition at line 84 of file AdjustMeshInterference.h.
Referenced by FindInterpolationNode(), and FindPolygonPoints().
|
protected |
Definition at line 75 of file AdjustMeshInterference.h.
Referenced by AdjustInterpolationNode(), and MoveNode().
|
protected |
Definition at line 82 of file AdjustMeshInterference.h.
Referenced by CMeshIntersectionData(), FindElements(), FindInterpolationNode(), and MoveNode().
|
protected |
Definition at line 78 of file AdjustMeshInterference.h.
Referenced by MoveNode().