10 #include <geometry/sphere.h>
11 #include <boost/shared_ptr.hpp>
12 #include <boost/unordered_map.hpp>
18 : myBoundingSphere(boundingSphere)
19 , myFilename(filename)
20 , myNumTimesRequested(0)
24 virtual void expandExtent(DtExtent& extent)
const
26 extent.expandToInclude(extentOfSphere(DtSphere(
27 myTopoCenter, myBoundingSphere.radius())));
30 virtual DtExtent extent()
const
32 return DtExtent(extentOfSphere(DtSphere(myTopoCenter, myBoundingSphere.radius())));
35 virtual std::string filename()
const
51 unsigned int numTriangles,
53 : myBoundingInfo(boundingInfo)
54 , myNumTriangles(numTriangles)
55 , myLastUsed(lastUsed)
56 , myPendingRemoval(false)