cpt_c.h File Reference

The C interface to the cpt library. More...

Go to the source code of this file.

Functions

void cptSetParameters3 (const double *domain, const double maximumDistance)
 Wrapper for State<3,double>::setParameters().
void cptSetParameters2 (const double *domain, const double maximumDistance, const bool localClipping, const int globalClipping, const int decimationFactor)
 Wrapper for State<2,double>::setParameters().
void cptSetLattice3 (const int *extents, const double *domain)
 Wrapper for State<3,double>::setLattice().
void cptSetLattice2 (const int *extents, const double *domain)
 Wrapper for State<2,double>::setLattice().
void cptInsertGrid3 (const int *indexLowerBounds, const int *indexUpperBounds, double *distance, double *gradientOfDistance, double *closestPoint, int *closestFace)
 Wrapper for State<3,double>::insertGrid().
void cptInsertGrid2 (const int *indexLowerBounds, const int *indexUpperBounds, double *distance, double *gradientOfDistance, double *closestPoint, int *closestFace)
 Wrapper for State<2,double>::insertGrid().
void cptClearGrids3 ()
 Wrapper for State<3,double>::clearGrids().
void cptClearGrids2 ()
 Wrapper for State<2,double>::clearGrids().
void cptSetBRepWithNoClipping3 (const int verticesSize, const double *vertices, const int facesSize, const int *faces)
 Wrapper for State<3,double>::setBRepWithNoClipping().
void cptSetBRepWithNoClipping2 (const int verticesSize, const double *vertices, const int facesSize, const int *faces)
 Wrapper for State<2,double>::setBRepWithNoClipping().
void cptSetBRep3 (const int verticesSize, const double *vertices, const int facesSize, const int *faces)
 Wrapper for State<3,double>::setBRep().
void cptSetBRep2 (const int verticesSize, const double *vertices, const int facesSize, const int *faces)
 Wrapper for State<2,double>::setBRep().
void cptComputeClosestPointTransform3 ()
 Wrapper for State<3,double>::computeClosestPointTransform().
void cptComputeClosestPointTransformUnsigned3 ()
 Wrapper for State<3,double>::computeClosestPointTransformUnsigned().
void cptComputeClosestPointTransformUsingBBox3 ()
 Wrapper for State<3,double>::computeClosestPointTransformUsingBBox().
void cptComputeClosestPointTransformUnsignedUsingBBox3 ()
 Wrapper for State<3,double>::computeClosestPointTransformUnsignedUsingBBox().
void cptComputeClosestPointTransformUsingBruteForce3 ()
 Wrapper for State<3,double>::computeClosestPointTransformUsingBruteForce().
void cptComputeClosestPointTransformUnsignedUsingBruteForce3 ()
 Wrapper for State<3,double>::computeClosestPointTransformUnsignedUsingBruteForce().
void cptComputeClosestPointTransform2 ()
 Wrapper for State<2,double>::computeClosestPointTransform().
void cptComputeClosestPointTransformUnsigned2 ()
 Wrapper for State<2,double>::computeClosestPointTransformUnsigned().
void cptComputeClosestPointTransformUsingBBox2 ()
 Wrapper for State<2,double>::computeClosestPointTransformUsingBBox().
void cptComputeClosestPointTransformUnsignedUsingBBox2 ()
 Wrapper for State<2,double>::computeClosestPointTransformUnsignedUsingBBox().
void cptComputeClosestPointTransformUsingBruteForce2 ()
 Wrapper for State<2,double>::computeClosestPointTransformUsingBruteForce().
void cptComputeClosestPointTransformUnsignedUsingBruteForce2 ()
 Wrapper for State<2,double>::computeClosestPointTransformUnsignedUsingBruteForce().
void cptFloodFillAtBoundary3 (double farAway)
 Wrapper for State<3,double>::floodFillAtBoundary().
void cptFloodFillDetermineSign3 (double farAway)
 Wrapper for State<3,double>::floodFillDetermineSign().
void cptFloodFillUnsigned3 (double farAway)
 Wrapper for State<3,double>::floodFillUnsigned().
void cptFloodFillAtBoundary2 (double farAway)
 Wrapper for State<3,double>::floodFillAtBoundary().
void cptFloodFillDetermineSign2 (double farAway)
 Wrapper for State<3,double>::floodFillDetermineSign().
void cptFloodFillUnsigned2 (double farAway)
 Wrapper for State<3,double>::floodFillUnsigned().
int cptAreGridsValid3 ()
 Wrapper for State<3,double>::areGridsValid().
int cptAreGridsValidUnsigned3 ()
 Wrapper for State<3,double>::areGridsValidUnsigned().
int cptAreGridsValid2 ()
 Wrapper for State<2,double>::areGridsValid().
int cptAreGridsValidUnsigned2 ()
 Wrapper for State<2,double>::areGridsValidUnsigned().
void cptDisplayInformation3 ()
 Wrapper for State<3,double>::displayInformation().
void cptDisplayInformation2 ()
 Wrapper for State<2,double>::displayInformation().

Detailed Description

The C interface to the cpt library.


Function Documentation

void cptSetBRep2 ( const int  verticesSize,
const double *  vertices,
const int  facesSize,
const int *  faces 
)

Wrapper for State<2,double>::setBRep().

Parameters:
verticesSize is the number of vertices.
vertices is the beginning of the cartesian coordinates of the vertices in the surface. The coordinates are in the order: $ \{ x_0, y_0, x_1, y_1, \ldots \} $
facesSize is the number of faces.
faces is the beginning of the vertex indices. Two indices describe a face. The indices have positive orientation. The indices are in the order: $ \{ face_0index_0, face_0index_1, face_1index_0, face_1index_1, \ldots \} $
void cptSetBRep3 ( const int  verticesSize,
const double *  vertices,
const int  facesSize,
const int *  faces 
)

Wrapper for State<3,double>::setBRep().

Parameters:
verticesSize is the number of vertices.
vertices is the beginning of the cartesian coordinates of the vertices in the surface. The coordinates are in the order: $ \{ x_0, y_0, z_0, x_1, y_1, z_1, \ldots \} $
facesSize is the number of faces.
faces is the beginning of the vertex indices. Three indices describe a face. The indices have positive orientation. The indices are in the order: $ \{ face_0index_0, face_0index_1, face_0index2, face_1index_0, face_1index_1, face_1index2, \ldots \} $
void cptSetBRepWithNoClipping2 ( const int  verticesSize,
const double *  vertices,
const int  facesSize,
const int *  faces 
)

Wrapper for State<2,double>::setBRepWithNoClipping().

Parameters:
verticesSize is the number of vertices.
vertices is the beginning of the cartesian coordinates of the vertices in the surface. The coordinates are in the order: $ \{ x_0, y_0, x_1, y_1, \ldots \} $
facesSize is the number of faces.
faces is the beginning of the vertex indices. Two indices describe a face. The indices have positive orientation. The indices are in the order: $ \{ face_0index_0, face_0index_1, face_1index_0, face_1index_1, \ldots \} $
void cptSetBRepWithNoClipping3 ( const int  verticesSize,
const double *  vertices,
const int  facesSize,
const int *  faces 
)

Wrapper for State<3,double>::setBRepWithNoClipping().

Parameters:
verticesSize is the number of vertices.
vertices is the beginning of the cartesian coordinates of the vertices in the surface. The coordinates are in the order: $ \{ x_0, y_0, z_0, x_1, y_1, z_1, \ldots \} $
facesSize is the number of faces.
faces is the beginning of the vertex indices. Three indices describe a face. The indices have positive orientation. The indices are in the order: $ \{ face_0index_0, face_0index_1, face_0index2, face_1index_0, face_1index_1, face_1index2, \ldots \} $
Generated on Thu Jun 30 02:14:53 2016 for Closest Point Transform by  doxygen 1.6.3