1 #ifndef SPHEREBVH_OBJECT_DATA_H
2 #define SPHEREBVH_OBJECT_DATA_H
9 #include <osg/Geometry>
11 using namespace vrecko;
13 namespace APSpacePartitioning {
44 virtual bool destroyHierarchy(STNodeSphere *subTreeToDestroy = NULL);
51 virtual bool constructCacheDataName(
char *pOutDataName,
int* version);
54 virtual bool saveDataToPersistentCache_Init();
60 virtual bool loadDataFromPersistentCache_Init();
65 virtual bool createTreeFromGeometry(osg::Node *pNode);
66 bool constructTree(
void *pSTNode,
unsigned long left_pos,
unsigned long right_pos,
int last_sort);
68 virtual int processNotification(
BaseClass *sender,
unsigned long notificationType,
void *notificationData);
70 virtual bool coreHierarchyCreation(
void);