Changeset 1370 for GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
- Timestamp:
- 09/14/06 18:55:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/HierarchyManager.h
r1329 r1370 166 166 }; 167 167 168 enum 169 { 170 NO_VIEWSPACE_SUBDIV, 171 KD_BASED_VIEWSPACE_SUBDIV 172 }; 173 168 174 /** The type of object space subdivison 169 175 */ 170 int GetObjectSpaceSubdivisionType() const 171 { 172 return mObjectSpaceSubdivisionType; 173 } 174 176 int GetObjectSpaceSubdivisionType() const; 177 /** The type of view space space subdivison 178 */ 179 int GetViewSpaceSubdivisionType() const; 180 /** Sets a pointer to the view cells manager. 181 */ 175 182 void SetViewCellsManager(ViewCellsManager *vcm); 176 183 /** Sets a pointer to the view cells tree. 184 */ 177 185 void SetViewCellsTree(ViewCellsTree *vcTree); 178 186 /** Exports the object hierarchy to disc. 187 */ 179 188 void ExportObjectSpaceHierarchy(OUT_STREAM &stream); 180 189 /** Adds a sample to the pvs of the specified view cell. 190 */ 181 191 bool AddSampleToPvs( 182 192 Intersectable *obj, … … 264 274 void ResetQueue(); 265 275 276 void FinishObjectSpaceSubdivision() const; 277 278 int GetObjectSpaceSubdivisionDepth() const; 266 279 267 280 protected: … … 299 312 300 313 int mMinDepthForObjectSpaceSubdivion; 314 int mMinDepthForViewSpaceSubdivion; 301 315 302 316 int mTermMaxLeaves; … … 304 318 305 319 bool mRepairQueue; 320 321 bool mStartWithObjectSpace; 306 322 }; 307 323
Note: See TracChangeset
for help on using the changeset viewer.