![]() |
Tesseract 0.28.4
|
Classes | |
| class | IUserCallback |
| class | IUserLogger |
| class | IUserTaskRunner |
| class | ConvexHull |
| class | Parameters |
Public Member Functions | |
| virtual void | Cancel ()=0 |
| virtual bool | Compute (const float *const points, const uint32_t countPoints, const uint32_t *const triangles, const uint32_t countTriangles, const Parameters ¶ms)=0 |
| virtual bool | Compute (const double *const points, const uint32_t countPoints, const uint32_t *const triangles, const uint32_t countTriangles, const Parameters ¶ms)=0 |
| virtual uint32_t | GetNConvexHulls () const =0 |
| virtual bool | GetConvexHull (const uint32_t index, ConvexHull &ch) const =0 |
| virtual void | Clean ()=0 |
| virtual void | Release ()=0 |
| virtual bool | ComputeCenterOfMass (double centerOfMass[3]) const =0 |
| virtual bool | IsReady () const |
| virtual uint32_t | findNearestConvexHull (const double pos[3], double &distanceToHull)=0 |
|
pure virtual |
Will cause the convex decomposition operation to be canceled early. No results will be produced but the background operation will end as soon as it can.
|
pure virtual |
Compute a convex decomposition of a triangle mesh using float vertices and the provided user parameters.
| points | : The vertices of the source mesh as floats in the form of X1,Y1,Z1, X2,Y2,Z2,.. etc. |
| countPoints | : The number of vertices in the source mesh. |
| triangles | : The indices of triangles in the source mesh in the form of I1,I2,I3, .... |
| countTriangles | : The number of triangles in the source mesh |
| params | : The convex decomposition parameters to apply |
|
pure virtual |
Compute a convex decomposition of a triangle mesh using double vertices and the provided user parameters.
| points | : The vertices of the source mesh as floats in the form of X1,Y1,Z1, X2,Y2,Z2,.. etc. |
| countPoints | : The number of vertices in the source mesh. |
| triangles | : The indices of triangles in the source mesh in the form of I1,I2,I3, .... |
| countTriangles | : The number of triangles in the source mesh |
| params | : The convex decomposition parameters to apply |
|
pure virtual |
Returns the number of convex hulls that were produced.
|
pure virtual |
Retrieves one of the convex hulls in the solution set
| index | : Which convex hull to retrieve |
| ch | : The convex hull descriptor to return |
|
pure virtual |
Releases any memory allocated by the V-HACD class
|
pure virtual |
Releases this instance of the V-HACD class
|
pure virtual |
At the request of LegionFu : out_l.nosp@m.ook@.nosp@m.foxma.nosp@m.il.c.nosp@m.om This method will return which convex hull is closest to the source position. You can use this method to figure out, for example, which vertices in the original source mesh are best associated with which convex hull.
| pos | : The input 3d position to test against |