Changeset 1279 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
- Timestamp:
- 08/24/06 18:05:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1259 r1279 89 89 friend OspTree; 90 90 friend BvHierarchy; 91 friend ViewCellsParseHandlers; 91 92 92 93 public: 93 /** Constructor taking an object space partition and a view space partition tree. 94 */ 95 HierarchyManager(VspTree &vspTree, OspTree &ospTree); 94 /** Constructor with the object space hierarchy type as argument. 95 */ 96 HierarchyManager(VspTree *vspTree, const int objectSpaceHierarchyType); 97 /** Hack: OspTree will copy the content from this kd tree. 98 Only view space hierarchy will be constructed. 99 */ 100 HierarchyManager(VspTree *vspTree, KdTree *kdTree); 96 101 97 102 /** Constructs the view space and object space subdivision from a given set of rays … … 130 135 } 131 136 137 void SetViewCellsManager(ViewCellsManager *vcm); 138 139 void SetViewCellsTree(ViewCellsTree *vcTree); 140 141 void ExportObjectSpaceHierarchy(OUT_STREAM &stream); 142 143 bool AddSampleToPvs( 144 Intersectable *obj, 145 const Vector3 &hitPoint, 146 ViewCell *vc, 147 const float pdf, 148 float &contribution) const; 149 150 void PrintObjectSpaceHierarchyStatistics(ofstream &stream) const; 151 152 VspTree *GetVspTree() { return mVspTree; } 153 154 void ExportObjectSpaceHierarchyForViz(const ObjectContainer &objects) const; 155 132 156 protected: 133 157
Note: See TracChangeset
for help on using the changeset viewer.