|
Public Member Functions | |
Candidate () | |
Candidate (PrimitiveShape *shape, size_t level) | |
void | Clone (Candidate *c) const |
size_t | ComputedSubsets () const |
void | ConnectedComponent (const PointCloud &pc, float bitmapEpsilon, float *borderRatio=0) |
float | ExpectedValue () const |
template<class ScoreVisitorT > | |
void | GlobalScore (ScoreVisitorT &scoreVisitor, const IndexedOctreeType &oct) |
template<class ScoreVisitorT > | |
float | GlobalWeightedScore (ScoreVisitorT &scoreVisitor, const IndexedOctreeType &oct, const PointCloud &pc, float epsilon, float normalThresh, float bitmapEpsilon) |
template<class ScoreVisitorT > | |
bool | ImproveBounds (const MiscLib::Vector< ImmediateOctreeType * > &octrees, const PointCloud &pc, ScoreVisitorT &scoreVisitor, size_t currentSize, float bitmapEpsilon, size_t maxSubset, size_t minPoints=500) |
MiscLib::RefCounted< MiscLib::Vector< size_t > > * | Indices () |
void | Indices (MiscLib::RefCounted< MiscLib::Vector< size_t > > *indices) |
bool | IsEquivalent (const Candidate &c, const PointCloud &pc, float epsilon, float normalThresh) const |
size_t | Level () const |
float | LowerBound () const |
bool | operator< (const Candidate &c) const |
bool | operator<= (const Candidate &c) const |
bool | operator> (const Candidate &c) const |
bool | operator>= (const Candidate &c) const |
template<class ScoreVisitorT > | |
void | RecomputeBounds (const MiscLib::Vector< ImmediateOctreeType * > &octrees, const PointCloud &pc, ScoreVisitorT &scoreVisitor, size_t currentSize, float epsilon, float normalThresh, float bitmapEpsilon) |
void | Reindex (const MiscLib::Vector< int > &newIndices, int minInvalidIndex, size_t mergedSubsets, const MiscLib::Vector< size_t > &subsetSizes, const PointCloud &pc, size_t currentSize, float epsilon, float normalThresh, float bitmapEpsilon) |
void | Reindex (const MiscLib::Vector< size_t > &reindex) |
void | Reset () |
void | SetSubset (size_t subset) |
PrimitiveShape * | Shape () |
void | Shape (PrimitiveShape *shape) |
size_t | Size () const |
float | UpperBound () const |
float | WeightedScore (const PointCloud &pc, float epsilon, float normalThresh) const |
Definition at line 18 of file Candidate.h.
Candidate | ( | ) |
Definition at line 3 of file Candidate.cpp.
Candidate | ( | PrimitiveShape * | shape, |
size_t | level | ||
) |
Definition at line 11 of file Candidate.cpp.
|
inline |
Definition at line 145 of file Candidate.h.
|
inline |
Definition at line 47 of file Candidate.h.
void ConnectedComponent | ( | const PointCloud & | pc, |
float | bitmapEpsilon, | ||
float * | borderRatio = 0 |
||
) |
Definition at line 93 of file Candidate.cpp.
|
inline |
void GlobalScore | ( | ScoreVisitorT & | scoreVisitor, |
const IndexedOctreeType & | oct | ||
) |
Definition at line 329 of file Candidate.h.
float GlobalWeightedScore | ( | ScoreVisitorT & | scoreVisitor, |
const IndexedOctreeType & | oct, | ||
const PointCloud & | pc, | ||
float | epsilon, | ||
float | normalThresh, | ||
float | bitmapEpsilon | ||
) |
Definition at line 340 of file Candidate.h.
bool ImproveBounds | ( | const MiscLib::Vector< ImmediateOctreeType * > & | octrees, |
const PointCloud & | pc, | ||
ScoreVisitorT & | scoreVisitor, | ||
size_t | currentSize, | ||
float | bitmapEpsilon, | ||
size_t | maxSubset, | ||
size_t | minPoints = 500 |
||
) |
Definition at line 188 of file Candidate.h.
|
inline |
|
inline |
bool IsEquivalent | ( | const Candidate & | c, |
const PointCloud & | pc, | ||
float | epsilon, | ||
float | normalThresh | ||
) | const |
|
inline |
Definition at line 59 of file Candidate.h.
|
inline |
Definition at line 31 of file Candidate.h.
|
inline |
|
inline |
|
inline |
|
inline |
void RecomputeBounds | ( | const MiscLib::Vector< ImmediateOctreeType * > & | octrees, |
const PointCloud & | pc, | ||
ScoreVisitorT & | scoreVisitor, | ||
size_t | currentSize, | ||
float | epsilon, | ||
float | normalThresh, | ||
float | bitmapEpsilon | ||
) |
void Reindex | ( | const MiscLib::Vector< int > & | newIndices, |
int | minInvalidIndex, | ||
size_t | mergedSubsets, | ||
const MiscLib::Vector< size_t > & | subsetSizes, | ||
const PointCloud & | pc, | ||
size_t | currentSize, | ||
float | epsilon, | ||
float | normalThresh, | ||
float | bitmapEpsilon | ||
) |
void Reindex | ( | const MiscLib::Vector< size_t > & | reindex | ) |
void Reset | ( | ) |
|
inline |
Definition at line 55 of file Candidate.h.
|
inline |
|
inline |
Definition at line 27 of file Candidate.h.
|
inline |
|
inline |
Definition at line 35 of file Candidate.h.
float WeightedScore | ( | const PointCloud & | pc, |
float | epsilon, | ||
float | normalThresh | ||
) | const |
Definition at line 81 of file Candidate.cpp.