|
C3D Toolkit
Kernel - 118060, Vision - 2.15.0.1825
|
Collaboration diagram for Triangulation:Functions | |
| void | CalculateBoundsSltFast (const MbFloatGrid &grid, const MbMatrix3D &matrix, bool perspective, RPArray< MbFloatPoint3D > &points) |
| Construct silhouette lines by a triangular mesh. More... | |
| void | CalculateBoundsSlt (const MbGrid &grid, const MbMatrix3D &matrix, bool perspective, SArray< MbFloatPoint3D > &points) |
| Construct silhouette lines by a triangular mesh. More... | |
| void | CalculateSections (const MbGrid &grid, const MbMatrix3D &matrix, SArray< MbFloatPoint3D > &points) |
| Construct section lines by a triangular mesh. More... | |
| bool | PolygonTubeGrid (const MbPolygon3D &poly, double radius, double sag, MbGrid &grid) |
| Construct triangulations in the form of a tube of given radius around the polygon. More... | |
| bool | PolygonToGrid (const MbPolygon &poly, MbGrid &grid) |
| Convert two-dimensional polygon to triangulation. More... | |
| void | CalculateGrid (const MbFace &face, const MbStepData &stepData, MbGrid &grid, bool dualSeams=true, bool quad=false, bool fair=false, bool mere=true) |
| Approximation of face. More... | |
| bool | StepDataTune (const MbCube &cube, size_t count, MbStepData &stepData) |
| Configuring step data for triangulation. More... | |
| void CalculateBoundsSltFast | ( | const MbFloatGrid & | grid, |
| const MbMatrix3D & | matrix, | ||
| bool | perspective, | ||
| RPArray< MbFloatPoint3D > & | points | ||
| ) |
Construct silhouette lines by a triangular mesh.
Get silhouette lines as pairs of pointers to the existed points in the array of triangulation.
| [in] | grid | - A triangular mesh. |
| [in] | matrix | - A matrix for setting of view vector. |
| [in] | perspective | - An attribute of perspective mapping. |
| [out] | points | - The result - the set of points. |
| void CalculateBoundsSlt | ( | const MbGrid & | grid, |
| const MbMatrix3D & | matrix, | ||
| bool | perspective, | ||
| SArray< MbFloatPoint3D > & | points | ||
| ) |
Construct silhouette lines by a triangular mesh.
Get silhouette lines as pairs of points.
| [in] | grid | - A triangular mesh. |
| [in] | matrix | - A matrix for setting of view vector. |
| [in] | perspective | - An attribute of perspective mapping. |
| [out] | points | - The result - the set of points. |
| void CalculateSections | ( | const MbGrid & | grid, |
| const MbMatrix3D & | matrix, | ||
| SArray< MbFloatPoint3D > & | points | ||
| ) |
Construct section lines by a triangular mesh.
Get section lines as pairs of points.
| [in] | grid | - A triangular mesh. |
| [in] | matrix | - A matrix for setting of section plane. |
| [out] | points | - The result - the set of points. |
| bool PolygonTubeGrid | ( | const MbPolygon3D & | poly, |
| double | radius, | ||
| double | sag, | ||
| MbGrid & | grid | ||
| ) |
Construct triangulations in the form of a tube of given radius around the polygon.
Construct triangulations in the form of a tube of given radius around the polygon.
| [in] | poly | - A polygon. |
| [in] | radius | - Radius of a tube. |
| [in] | sag | - Maximum deviation of triangulation from a circle (sag). |
| [out] | grid | - Triangulation - the result. |
Convert two-dimensional polygon to triangulation.
Convert two-dimensional polygon to triangulation.
| [in] | poly | - A two-dimensional polygon. |
| [out] | grid | - Constructed triangulation. |
| void CalculateGrid | ( | const MbFace & | face, |
| const MbStepData & | stepData, | ||
| MbGrid & | grid, | ||
| bool | dualSeams = true, |
||
| bool | quad = false, |
||
| bool | fair = false, |
||
| bool | mere = true |
||
| ) |
Approximation of face.
Approximation of face by array of triangular and quadrangular plates.
| [in] | face | - A face. |
| [in] | stepData | - Data for step calculation during triangulation. |
| [out] | grid | - Triangulations as a result: for visualization arrays 'params', 'points' and 'normals' are filled; for calculation of the mass-inertial properties an array 'params' is filled; for solids collision detection arrays 'params' and 'points' are filled; for splitting into finite elements arrays 'points' and 'normals' are filled. |
| [in] | dualSeams | - Whether to keep seam edges polygons and their coincident points. |
| [in] | quad | - Whether to build quadrangles (true) in triangulations of surfaces (if possible). |
| [in] | fair | - Degenerate triangles removing (if surface has pole). |
| [in] | mere | - Use a special algorithm for a flat surface. |
| bool StepDataTune | ( | const MbCube & | cube, |
| size_t | count, | ||
| MbStepData & | stepData | ||
| ) |
Configuring step data for triangulation.
Checking and Correction step data for triangulation so that the number of points does not exceed a predetermined count on the order of magnitude of.
| [in] | cube | - A dimensional cube. |
| [in] | count | - Proposed limit on the number of triangulation points for one face. |
| [in] | stepData | - Data for step calculation during triangulation. |