|
| KdTreeAccel (Mesh *_mesh, unsigned int numThreads, unsigned int max_depth=4) |
|
void | build () |
|
KdTreeNode * | buildTree_boxEdges (const AtomsMath::Box3f &nodeExtent, vv_BoxEdge &boxEdgeList, int maxDepth) |
|
| KdTreeAccel_base (Mesh *mesh, unsigned int numThreads, unsigned int max_depth, float Ct=Ct_DEFAULT, float Ci=Ci_DEFAULT, float emptyBonus=emptyBonus_DEFAULT) |
|
bool | intersect (const AtomsMath::Vector3f &orig, const AtomsMath::Vector3f &dir, float ¶m, unsigned int &outFaceId, float &outU, float &outV) |
|
AtomsMath::Vector3f | closestPoint (const AtomsMath::Vector3f &orig, unsigned int &outFaceId, float &outU, float &outV, float &distance) |
|
void | searchInSiblings (const AtomsMath::Vector3f &orig, KdTreeNode *closestNode, AtomsMath::Vector3f &closetsPoint, int &outFaceId, float &outU, float &outV, float &minDistance, std::set< KdTreeNode * > &nodeVisited) |
|
KdTreeNode * | root () |
|
std::vector< KdTreeNode * > & | nodes () |
|
bool | intersectsBoxLine (const AtomsMath::Box3f &b, const AtomsMath::Line3f &r, AtomsMath::Vector3f &ip) const |
|
|
const SAH | sah |
|
KdTreeNode * | m_root |
|
const Mesh * | m_mesh |
|
unsigned int | m_numThreads |
|
unsigned int | m_maxDepth |
|
std::vector< Triangle > | m_triangleList |
|
std::vector< KdTreeNode * > | m_nodes |
|
The documentation for this class was generated from the following file:
- C:/projects/AtomsVFX/Atoms/Public/AtomsUtils/KdTree/KdTreeAccel.h