Changeset 511 for trunk/VUT/GtpVisibilityPreprocessor/src/Beam.h
- Timestamp:
- 01/10/06 11:59:58 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/Beam.h
r507 r511 3 3 4 4 #include <vector> 5 #include "AxisAlignedBox3.h" 6 5 7 using namespace std; 6 8 7 9 class KdNode; 8 10 class Intersectable; 9 #include "AxisAlignedBox3.h"10 11 11 class Beam {12 class MyBeam { 12 13 13 14 public: … … 28 29 vector<Plane3> mPlanes; 29 30 31 32 void Construct(const AxisAlignedBox3 &box, 33 const AxisAlignedBox3 &dBox); 34 35 36 int 37 ComputeIntersection(const AxisAlignedBox3 &box); 38 30 39 bool IsValid() { return mFlags & VALID; } 31 40 bool SetValid() { return mFlags |= VALID; } 32 41 33 Beam():mFlags(STORE_KD_NODES+STORE_OBJECTS),mKdNodes(0), mObjects(0)42 MyBeam():mFlags(STORE_KD_NODES+STORE_OBJECTS), mKdNodes(0), mObjects(0) 34 43 { 35 44 } 36 37 void Construct(const AxisAlignedBox3 &box,38 const AxisAlignedBox3 &dBox);39 40 41 int42 ComputeIntersection(const AxisAlignedBox3 &box);43 44 45 45 46 };
Note: See TracChangeset
for help on using the changeset viewer.