35 #ifndef IE_CORE_SWEEPANDPRUNE_H
36 #define IE_CORE_SWEEPANDPRUNE_H
40 #include "boost/static_assert.hpp"
42 #include "IECore/RadixSort.h"
48 template<
typename BoundIterator,
template<
typename>
class CB>
52 typedef BoundIterator Iterator;
53 typedef typename std::iterator_traits<BoundIterator>::value_type Bound;
55 typedef CB<BoundIterator> Callback;
68 virtual ~SweepAndPrune();
70 void intersectingBounds( BoundIterator first, BoundIterator last, Callback &cb, AxisOrder axisOrder = XZY );
74 inline bool axisIntersects(
const Bound &b1,
const Bound &b2,
char axis );
76 RadixSort m_radixSort;
81 #include "IECore/SweepAndPrune.inl"
83 #endif // IE_CORE_SWEEPANDPRUNE_H
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43