Changeset 366 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
- Timestamp:
- 11/01/05 20:02:22 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCell.h
r362 r366 11 11 class BspPvs; 12 12 struct Triangle3; 13 class BspLeaf; 13 14 14 15 /** … … 54 55 static ViewCell *Merge(ViewCell &front, ViewCell &back); 55 56 56 57 57 /// Ray set description of the rays passing through this node. 58 58 PassingRaySet mPassingRays; … … 60 60 /// Rays piercing this view cell. 61 61 RayContainer mPiercingRays; 62 63 /// view cells types 64 enum HierarchyType {BSP, KD}; 65 66 /** Generates view cells of type specified by view cells type. 67 */ 68 static ViewCell *Generate(Mesh *mesh = NULL); 69 70 /// type of view cells hierarchy (KD, BSP) 71 static HierarchyType sHierarchy; 62 72 63 73 protected: … … 67 77 }; 68 78 69 //}; // GtpVisibilityPreprocessor 79 class BspViewCell: public ViewCell 80 { 81 public: 82 BspViewCell(): mBspLeaves(0) {} 83 BspViewCell(Mesh *mesh): 84 ViewCell(mesh), mBspLeaves(0) {} 85 86 /// Leaves which hold this view cell. 87 vector<BspLeaf *> mBspLeaves; 88 }; 70 89 71 90 #endif
Note: See TracChangeset
for help on using the changeset viewer.