3Depict
|
Enumerations | |
enum | { RDF_ERR_NEGATIVE_SCALE_FACT =1, RDF_ERR_INSUFFICIENT_INPUT_POINTS, RDF_FILE_OPEN_FAIL, RDF_ABORT_FAIL } |
Functions | |
unsigned int | generateNNHist (const std::vector< Point3D > &pointList, const K3DTree &tree, unsigned int nnMax, unsigned int numBins, std::vector< std::vector< size_t > > &histogram, float *binWidth, unsigned int *progressPtr, ATOMIC_BOOL &wantAbort) |
Generate the NN histogram specified up to a given NN. More... | |
unsigned int | generateDistHist (const std::vector< Point3D > &pointList, const K3DTree &tree, unsigned int *histogram, float distMax, unsigned int numBins, unsigned int &warnBiasCount, unsigned int *progressPtr, ATOMIC_BOOL &wantAbort) |
Generate an NN histogram using distance max cutoffs. Input histogram must be zeroed,. More... | |
unsigned int | GetReducedHullPts (const std::vector< Point3D > &pts, float reductionDim, unsigned int *progress, ATOMIC_BOOL &wantAbort, std::vector< Point3D > &returnIons) |
Returns a subset of points guaranteed to lie at least reductionDim inside hull of input points. More... | |
unsigned int | generate1DAxialDistHist (const std::vector< Point3D > &pointList, const K3DTreeMk2 &tree, const Point3D &axisDir, unsigned int *histogram, float distMax, unsigned int numBins, unsigned int *progressPtr, ATOMIC_BOOL &wantAbort) |
unsigned int | generate1DAxialNNHist (const std::vector< Point3D > &pointList, const K3DTreeMk2 &tree, const Point3D &axisDir, unsigned int *histogram, float &binWidth, unsigned int nnMax, unsigned int numBins, unsigned int *progressPtr, ATOMIC_BOOL &wantAbort) |
void | generateKnnTheoreticalDist (const std::vector< float > &radii, float density, unsigned int nn, std::vector< float > &nnDist) |
unsigned int | generate1DAxialDistHistSweep (const std::vector< Point3D > &pointList, K3DTreeMk2 &tree, float distMax, float dTheta, float dPhi, unsigned int &prog, std::vector< std::vector< std::vector< unsigned int > > > &histogram) |
anonymous enum |
unsigned int generate1DAxialDistHist | ( | const std::vector< Point3D > & | pointList, |
const K3DTreeMk2 & | tree, | ||
const Point3D & | axisDir, | ||
unsigned int * | histogram, | ||
float | distMax, | ||
unsigned int | numBins, | ||
unsigned int * | progressPtr, | ||
ATOMIC_BOOL & | wantAbort | ||
) |
References ASSERT, CALLBACK_REDUCE, Point3D::dotProd(), EQ_TOL, K3DTreeMk2::getPtRef(), K3DTreeMk2::ptsInSphere(), RDF_ABORT_FAIL, and Point3D::sqrMag().
Referenced by SpatialAnalysisFilter::setPropFromBinding().
unsigned int generate1DAxialDistHistSweep | ( | const std::vector< Point3D > & | pointList, |
K3DTreeMk2 & | tree, | ||
float | distMax, | ||
float | dTheta, | ||
float | dPhi, | ||
unsigned int & | prog, | ||
std::vector< std::vector< std::vector< unsigned int > > > & | histogram | ||
) |
unsigned int generate1DAxialNNHist | ( | const std::vector< Point3D > & | pointList, |
const K3DTreeMk2 & | tree, | ||
const Point3D & | axisDir, | ||
unsigned int * | histogram, | ||
float & | binWidth, | ||
unsigned int | nnMax, | ||
unsigned int | numBins, | ||
unsigned int * | progressPtr, | ||
ATOMIC_BOOL & | wantAbort | ||
) |
References ASSERT, CALLBACK_REDUCE, Point3D::dotProd(), EQ_TOL, K3DTreeMk2::findNearestWithSkip(), K3DTreeMk2::getPtRef(), RDF_ABORT_FAIL, RDF_ERR_INSUFFICIENT_INPUT_POINTS, BoundCube::setBounds(), and Point3D::sqrMag().
Referenced by SpatialAnalysisFilter::setPropFromBinding().
unsigned int generateDistHist | ( | const std::vector< Point3D > & | pointList, |
const K3DTree & | tree, | ||
unsigned int * | histogram, | ||
float | distMax, | ||
unsigned int | numBins, | ||
unsigned int & | warnBiasCount, | ||
unsigned int * | progressPtr, | ||
ATOMIC_BOOL & | wantAbort | ||
) |
Generate an NN histogram using distance max cutoffs. Input histogram must be zeroed,.
References ASSERT, CALLBACK_REDUCE, K3DTree::findNearest(), RDF_ABORT_FAIL, BoundCube::setBounds(), and Point3D::sqrDist().
Referenced by SpatialAnalysisFilter::setPropFromBinding().
void generateKnnTheoreticalDist | ( | const std::vector< float > & | radii, |
float | density, | ||
unsigned int | nn, | ||
std::vector< float > & | nnDist | ||
) |
Referenced by SpatialAnalysisFilter::setPropFromBinding().
unsigned int generateNNHist | ( | const vector< Point3D > & | pointList, |
const K3DTree & | tree, | ||
unsigned int | nnMax, | ||
unsigned int | numBins, | ||
vector< vector< size_t > > & | histogram, | ||
float * | binWidth, | ||
unsigned int * | progressPtr, | ||
ATOMIC_BOOL & | wantAbort | ||
) |
Generate the NN histogram specified up to a given NN.
Generate the NN histogram specified up to a given NN.
References ASSERT, CALLBACK_REDUCE, K3DTree::findKNearest(), RDF_ABORT_FAIL, RDF_ERR_INSUFFICIENT_INPUT_POINTS, and BoundCube::setBounds().
Referenced by SpatialAnalysisFilter::setPropFromBinding().
unsigned int GetReducedHullPts | ( | const std::vector< Point3D > & | pts, |
float | reductionDim, | ||
unsigned int * | progress, | ||
ATOMIC_BOOL & | wantAbort, | ||
std::vector< Point3D > & | returnIons | ||
) |
Returns a subset of points guaranteed to lie at least reductionDim inside hull of input points.
Calculates the hull of the input ions and then scales the hull such that the smallest distance between the scaled hull and the original hull is exactly reductionDim
References ASSERT, computeConvexHull(), distanceToFacet(), dotProduct(), freeConvexHull(), pyramidVol(), and RDF_ERR_NEGATIVE_SCALE_FACT.
Referenced by SpatialAnalysisFilter::setPropFromBinding().