File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
1 #ifndef BulletAllHitsRayCallback_h
2 #define BulletAllHitsRayCallback_h
10 #include <QScopedPointer>
15 #include "BulletClosestRayCallback.h"
16 #include "Constants.h"
17 #include "IException.h"
18 #include "SurfacePoint.h"
34 const bool cullBackfacers =
true);
48 virtual btScalar
addSingleResult(btCollisionWorld::LocalRayResult &rayResult,
49 bool normalInWorldSpace);
bool isValid() const
Checks if the callback is valid/has a valid intersection.
Bullet ray tracing callback to return all intersections along a ray's path.
int size() const
Returns the number of intersections found.
btVector3 lookdir() const
Return the end of the ray.
BulletAllHitsRayCallback()
Default constructor.
const BulletClosestRayCallback & hit(const int &index=0) const
Return a callback for the intersection at a given index.
virtual btScalar addSingleResult(btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
Add a local intersection result to this callback during ray casting.
QVector< BulletClosestRayCallback > m_rayHits
List of ray hits.
This is free and unencumbered software released into the public domain.
btVector3 observer() const
Return the beginning of the ray.
Bullet ray tracing callback for closest hit on target surface.
This is free and unencumbered software released into the public domain.
virtual ~BulletAllHitsRayCallback()
Destroy this callback.