- Timestamp:
- 01/03/08 15:53:44 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/IntersectableWrapper.h
r2569 r2575 40 40 41 41 int CastRay(Ray &ray); 42 int CastSimpleRay(const SimpleRay &ray) { return 0;} 43 int CastSimpleRay(const SimpleRay &ray, int RayIndex) { return 0;} 44 42 45 43 46 bool IsConvex() const; … … 193 196 194 197 int CastRay(Ray &ray); 198 199 int CastSimpleRay(const SimpleRay &ray); 200 int CastSimpleRay(const SimpleRay &ray, int rayIndex); 201 195 202 AxisAlignedBox3 GetBox() const; 196 203 int NumberOfFaces() const; 197 204 Vector3 GetNormal(const int idx) const; 205 Vector3 GetNormal() const { return mItem.GetNormal();} 198 206 199 207 float GetArea() const {return mItem.GetArea();} … … 207 215 208 216 int GetRandomSurfacePoint(const float u, 209 210 217 const float v, 218 Vector3 &point, Vector3 &normal); 211 219 212 220 213 221 int GetRandomVisibleSurfacePoint(Vector3 &point, 214 215 216 222 Vector3 &normal, 223 const Vector3 &viewpoint, 224 const int maxTries); 217 225 218 226 int GetRandomEdgePoint(Vector3 &point, Vector3 &normal); … … 244 252 245 253 // hack 246 ContainerIntersectable::~ContainerIntersectable()254 ~ContainerIntersectable() 247 255 { 248 256 delete mItem;
Note: See TracChangeset
for help on using the changeset viewer.