1 #ifndef SimTK_SIMMATH_OBB_TREE_H_
2 #define SimTK_SIMMATH_OBB_TREE_H_
59 delete contents; contents=0;
64 bool isLeaf()
const {
return children.empty();}
Defines geometric primitive shapes and algorthms.
Provides primitive operations for a single bicubic Bezier patch using either single or double precisi...
Defines primitive operations involving 3d rectangular boxes.
Includes internal headers providing declarations for the basic SimTK Core classes,...
This is the header file that every Simmath compilation unit should include first.
#define SimTK_SIMMATH_EXPORT
Definition: SimTKmath/include/simmath/internal/common.h:64
The Array_<T> container class is a plug-compatible replacement for the C++ standard template library ...
Definition: Array.h:1520
A primitive useful for computations involving a single bicubic Bezier patch.
Definition: Geo_BicubicBezierPatch.h:101
TODO: A 3d box oriented and positioned with respect to an unspecified frame F.
Definition: Geo_Box.h:528
TODO.
Definition: OBBTree.h:44
virtual ~OBBLeaf()
Definition: OBBTree.h:46
TODO.
Definition: OBBTree.h:53
UnitVec3 normal
Definition: OBBTree.h:75
bool isLeaf() const
Definition: OBBTree.h:64
~OBBNode()
Definition: OBBTree.h:56
void clear()
Definition: OBBTree.h:58
OBBNode()
Definition: OBBTree.h:55
OBBNode & updChild(int i)
Definition: OBBTree.h:67
Geo::OrientedBox box
Definition: OBBTree.h:70
const OBBNode & getChild(int i) const
Definition: OBBTree.h:66
Array_< OBBNode > children
Definition: OBBTree.h:86
Real coneHalfAngle
Definition: OBBTree.h:76
int height
Definition: OBBTree.h:72
int nx
Definition: OBBTree.h:84
Vec2 centerUW
Definition: OBBTree.h:90
int x0
Definition: OBBTree.h:83
Vec2 dims
Definition: OBBTree.h:91
int depth
Definition: OBBTree.h:71
OBBLeaf * contents
Definition: OBBTree.h:89
int getNumChildren() const
Definition: OBBTree.h:65
Geo::BicubicBezierPatch patch
Definition: OBBTree.h:92
Vec3 pointOnSurface
Definition: OBBTree.h:81
TODO.
Definition: OBBTree.h:100
const OBBNode & getRoot() const
Definition: OBBTree.h:102
OBBNode & updRoot()
Definition: OBBTree.h:103
This is the top-level SimTK namespace into which all SimTK names are placed to avoid collision with o...
Definition: Assembler.h:37
SimTK_Real Real
This is the default compiled-in floating point type for SimTK, either float or double.
Definition: SimTKcommon/include/SimTKcommon/internal/common.h:607