#include <GU_PrimRTree.h>
|
| GU_PrimRTree (const GEO_Detail &gdp, const GA_PrimitiveGroup *prim_grp=0, fpreal relative_padding=SYS_FTOLERANCE_D, fpreal absolute_padding=0) |
|
| GU_PrimRTree (const GEO_Detail &gdp, const GA_Range &prim_range, fpreal relative_padding=SYS_FTOLERANCE_D, fpreal absolute_padding=0) |
|
UT_Box | boundingBox () const |
| Returns the bounding box of this tree. More...
|
|
void | getIntersectingPrimOffsetsUnsafe (const UT_Box &query_box, GA_OffsetArray &intersecting_prims) const |
|
void | getIntersectingPrimIndicesUnsafe (const UT_Box &query_box, GA_IndexArray &intersecting_prims) const |
|
void | getIntersectingPrimOffsets (const UT_Box &query_box, UT_ValArray< GA_Size > &box_set, GA_OffsetArray &intersecting_prims) const |
|
void | getIntersectingPrimIndices (const UT_Box &query_box, UT_ValArray< GA_Size > &box_set, GA_IndexArray &intersecting_prims) const |
|
void | getIntersectingBoxIndices (const UT_Box &query_box, GA_IndexArray &box_set) const |
|
const UT_RTree & | getTree () const |
|
const UT_RTreeConfiguration & | getConfiguration () const |
|
const UT_Array< UT_Box > & | getBoxArray () const |
|
const GA_OffsetArray & | getBoxOffsetMap () const |
|
const UT_Box & | getBox (GA_Size i) const |
|
GA_Offset | boxOffset (GA_Size i) const |
|
GA_Index | boxIndex (GA_Size i) const |
|
|
static UT_Box | getPrimBoundingBox (const GEO_Detail &gdp, GA_Offset prim_off, fpreal relative_padding=SYS_FTOLERANCE_D, fpreal absolute_padding=0) |
|
static UT_Box | getSegmentBoundingBox (const UT_Vector3F &a, const UT_Vector3F &b, fpreal relative_padding=SYS_FTOLERANCE_D, fpreal absolute_padding=0) |
|
static UT_Box | getTriangleBoundingBox (const UT_Vector3F &a, const UT_Vector3F &b, const UT_Vector3F &c, fpreal relative_padding=SYS_FTOLERANCE_D, fpreal absolute_padding=0) |
|
Definition at line 20 of file GU_PrimRTree.h.
Construct an RTree of primiotives in the given group. padding is relative to the bounding box radius of each box in the rtree to ensure there is always enough precision to represent a non-zero padding even for large models
UT_Box GU_PrimRTree::boundingBox |
( |
| ) |
const |
Returns the bounding box of this tree.
void GU_PrimRTree::getIntersectingPrimIndicesUnsafe |
( |
const UT_Box & |
query_box, |
|
|
GA_IndexArray & |
intersecting_prims |
|
) |
| const |
void GU_PrimRTree::getIntersectingPrimOffsetsUnsafe |
( |
const UT_Box & |
query_box, |
|
|
GA_OffsetArray & |
intersecting_prims |
|
) |
| const |
Returns the bounding box of a given segment with some padding. This method is exposed for convenience
const UT_RTree& GU_PrimRTree::getTree |
( |
| ) |
const |
|
inline |
Returns the bounding box of a given segment with some padding. This method is exposed for convenience
The documentation for this class was generated from the following file: