puma::VertexOctree Class Reference
#include <rtcVertexOctree.h>
List of all members.
Public Member Functions |
| Vec3f | center () |
| void | getCubeCenters (std::vector< Vec3f > ¢ers) |
| void | getCubes (std::vector< Vec3f > &points, std::vector< int > &edges) |
| void | getLeaves (std::vector< VertexOctree * > &leafes) |
| void | getPoints (std::vector< Vec3f > &points) |
| void | getVertices (std::vector< VertexHandle > &vertices) |
| bool | isLeaf () |
| float | radius () |
| void | refineTree () |
| bool | searchNearest (const Vec3f &p, VertexHandle &vertex, float &distance) |
| | VertexOctree (const TriMesh *mesh, Vec3f center, float radius, unsigned int current_depth, std::vector< VertexHandle > &vertices, unsigned int maximum_depth, unsigned int min_entries, int parentIndex=0, VertexOctree *parentTree=NULL) |
| | VertexOctree (const TriMesh *mesh, Vec3f center, float radius, unsigned int maximum_depth, unsigned int min_entries) |
| | VertexOctree (const TriMesh *mesh, unsigned int maximum_depth, unsigned int min_entries) |
| | ~VertexOctree (void) |
Private Member Functions |
| bool | closerToVertex (const Vec3f &p, const VertexHandle &vertex_handle, float &distance) |
| void | initialize (std::vector< VertexHandle > &faces) |
Private Attributes |
| Vec3f | m_center |
| VertexOctree * | m_child [8] |
| unsigned int | m_current_depth |
| bool | m_isLeaf |
| unsigned int | m_maximum_depth |
| const TriMesh * | m_mesh |
| unsigned int | m_min_entries |
| int | m_parentIndex |
| VertexOctree * | m_parentTree |
| float | m_radius |
| std::vector< VertexHandle > | m_vertices |
Detailed Description
Definition at line 31 of file rtcVertexOctree.h.
Constructor & Destructor Documentation
| puma::VertexOctree::VertexOctree |
( |
const TriMesh * |
mesh, |
|
|
unsigned int |
maximum_depth, |
|
|
unsigned int |
min_entries | |
|
) |
| | |
| puma::VertexOctree::VertexOctree |
( |
const TriMesh * |
mesh, |
|
|
Vec3f |
center, |
|
|
float |
radius, |
|
|
unsigned int |
maximum_depth, |
|
|
unsigned int |
min_entries | |
|
) |
| | |
| puma::VertexOctree::VertexOctree |
( |
const TriMesh * |
mesh, |
|
|
Vec3f |
center, |
|
|
float |
radius, |
|
|
unsigned int |
current_depth, |
|
|
std::vector< VertexHandle > & |
vertices, |
|
|
unsigned int |
maximum_depth, |
|
|
unsigned int |
min_entries, |
|
|
int |
parentIndex = 0, |
|
|
VertexOctree * |
parentTree = NULL | |
|
) |
| | |
| puma::VertexOctree::~VertexOctree |
( |
void |
|
) |
[inline] |
Member Function Documentation
| Vec3f puma::VertexOctree::center |
( |
|
) |
[inline] |
| bool puma::VertexOctree::closerToVertex |
( |
const Vec3f & |
p, |
|
|
const VertexHandle & |
vertex_handle, |
|
|
float & |
distance | |
|
) |
| | [private] |
| void puma::VertexOctree::getCubeCenters |
( |
std::vector< Vec3f > & |
centers |
) |
|
| void puma::VertexOctree::getCubes |
( |
std::vector< Vec3f > & |
points, |
|
|
std::vector< int > & |
edges | |
|
) |
| | |
| void puma::VertexOctree::getLeaves |
( |
std::vector< VertexOctree * > & |
leafes |
) |
|
| void puma::VertexOctree::getPoints |
( |
std::vector< Vec3f > & |
points |
) |
|
| void puma::VertexOctree::getVertices |
( |
std::vector< VertexHandle > & |
vertices |
) |
|
| void puma::VertexOctree::initialize |
( |
std::vector< VertexHandle > & |
faces |
) |
[private] |
| bool puma::VertexOctree::isLeaf |
( |
|
) |
[inline] |
| float puma::VertexOctree::radius |
( |
|
) |
[inline] |
| void puma::VertexOctree::refineTree |
( |
|
) |
|
| bool puma::VertexOctree::searchNearest |
( |
const Vec3f & |
p, |
|
|
VertexHandle & |
vertex, |
|
|
float & |
distance | |
|
) |
| | |
Member Data Documentation
The documentation for this class was generated from the following files: