Public Member Functions | |
RayIntersectSets (OrientedBoxTreeTool *tool_ptr, const double *ray_point, const double *unit_ray_dir, const double tolerance, OrientedBoxTreeTool::IntersectSearchWindow &win, unsigned int *ray_tri_test_count, OrientedBoxTreeTool::IntRegCtxt &intRegCallback) | |
virtual ErrorCode | visit (EntityHandle node, int depth, bool &descend) |
Visit a node in the tree during a traversal. More... | |
virtual ErrorCode | leaf (EntityHandle node) |
Process a leaf node during tree traversal. More... | |
Public Member Functions inherited from moab::OrientedBoxTreeTool::Op | |
virtual | ~Op () |
Private Attributes | |
OrientedBoxTreeTool * | tool |
const CartVect | ray_origin |
const CartVect | ray_direction |
OrientedBoxTreeTool::IntersectSearchWindow & | search_win |
const double | tol |
OrientedBoxTreeTool::IntRegCtxt & | int_reg_callback |
int * | surfTriOrient |
int | surfTriOrient_val |
unsigned int * | raytri_test_count |
EntityHandle | lastSet |
int | lastSetDepth |
Definition at line 888 of file OrientedBoxTreeTool.cpp.
|
inline |
Definition at line 911 of file OrientedBoxTreeTool.cpp.
References moab::OrientedBoxTreeTool::IntRegCtxt::getDesiredOrient().
|
virtual |
Process a leaf node during tree traversal.
Implements moab::OrientedBoxTreeTool::Op.
Definition at line 981 of file OrientedBoxTreeTool.cpp.
References moab::Range::begin(), moab::Range::end(), ErrorCode, MB_SUCCESS, MBTRI, moab::GeomUtil::NONE, moab::GeomUtil::plucker_ray_tri_intersect(), and moab::TYPE_FROM_HANDLE().
|
virtual |
Visit a node in the tree during a traversal.
This method is called for each node in the tree visited during a pre-order traversal.
node | The EntityHandle for the entity set for the tree node. |
depth | The current depth in the tree. |
descend | Output: if false, traversal will skip children of the current node, or if the current node is a leaf, the 'leaf' method will not be called. |
Implements moab::OrientedBoxTreeTool::Op.
Definition at line 949 of file OrientedBoxTreeTool.cpp.
References moab::Range::begin(), moab::OrientedBoxTreeTool::box(), moab::Range::empty(), ErrorCode, MB_SUCCESS, MBENTITYSET, and moab::Range::size().
|
private |
Definition at line 899 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 907 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 908 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 894 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 893 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 906 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 895 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 902 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 903 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 896 of file OrientedBoxTreeTool.cpp.
|
private |
Definition at line 892 of file OrientedBoxTreeTool.cpp.