RaycasterBase interface.  
 More...
#include <RaycasterBase.hpp>
|  | 
| virtual bool | castRay (const Vector3f &origin, const Vector3f &direction, IntT &intersection)=0 | 
|  | Cast a single ray onto the mesh.  More... 
 | 
|  | 
| virtual void | castRays (const std::vector< Vector3f > &origins, const std::vector< std::vector< Vector3f > > &directions, std::vector< std::vector< IntT > > &intersections, std::vector< std::vector< uint8_t > > &hits) | 
|  | Cast rays with multiples origins. Each origin has multiples directions.  More... 
 | 
|  | 
| virtual void | castRays (const std::vector< Vector3f > &origins, const std::vector< Vector3f > &directions, std::vector< IntT > &intersections, std::vector< uint8_t > &hits) | 
|  | Cast from multiple ray origin/direction pairs onto the mesh.  More... 
 | 
|  | 
| virtual void | castRays (const Vector3f &origin, const std::vector< std::vector< Vector3f > > &directions, std::vector< std::vector< IntT > > &intersections, std::vector< std::vector< uint8_t > > &hits) | 
|  | Cast a ray from a single origin with multiple directions (in matrix form) onto the mesh.  More... 
 | 
|  | 
| virtual void | castRays (const Vector3f &origin, const std::vector< Vector3f > &directions, std::vector< IntT > &intersections, std::vector< uint8_t > &hits) | 
|  | Cast a ray from single origin with multiple directions onto the mesh.  More... 
 | 
|  | 
|  | RaycasterBase (const MeshBufferPtr mesh) | 
|  | Constructor: Stores mesh as member.  More... 
 | 
|  | 
template<typename IntT>
class lvr2::RaycasterBase< IntT >
RaycasterBase interface. 
Definition at line 53 of file RaycasterBase.hpp.
◆ RaycasterBase()
Constructor: Stores mesh as member. 
 
 
◆ castRay()
◆ castRays() [1/4]
template<typename IntT > 
  
  | 
        
          | virtual void lvr2::RaycasterBase< IntT >::castRays | ( | const std::vector< Vector3f > & | origins, |  
          |  |  | const std::vector< std::vector< Vector3f > > & | directions, |  
          |  |  | std::vector< std::vector< IntT > > & | intersections, |  
          |  |  | std::vector< std::vector< uint8_t > > & | hits |  
          |  | ) |  |  |  | virtual | 
 
Cast rays with multiples origins. Each origin has multiples directions. 
- Parameters
- 
  
    | [in] | origins | Origins of the rays |  | [in] | directions | Directions for each origin |  | [out] | intersections | Resulting intersections output |  | [out] | hits | Intersection found or not |  
 
 
 
◆ castRays() [2/4]
template<typename IntT > 
  
  | 
        
          | virtual void lvr2::RaycasterBase< IntT >::castRays | ( | const std::vector< Vector3f > & | origins, |  
          |  |  | const std::vector< Vector3f > & | directions, |  
          |  |  | std::vector< IntT > & | intersections, |  
          |  |  | std::vector< uint8_t > & | hits |  
          |  | ) |  |  |  | virtual | 
 
Cast from multiple ray origin/direction pairs onto the mesh. 
- Parameters
- 
  
    | [in] | origin | Origin of the ray |  | [in] | directions | Directions of the ray |  | [out] | intersections | User defined intersections output |  | [out] | hits | Intersection found or not |  
 
Reimplemented in lvr2::CLRaycaster< IntT >.
 
 
◆ castRays() [3/4]
template<typename IntT > 
  
  | 
        
          | virtual void lvr2::RaycasterBase< IntT >::castRays | ( | const Vector3f & | origin, |  
          |  |  | const std::vector< std::vector< Vector3f > > & | directions, |  
          |  |  | std::vector< std::vector< IntT > > & | intersections, |  
          |  |  | std::vector< std::vector< uint8_t > > & | hits |  
          |  | ) |  |  |  | virtual | 
 
Cast a ray from a single origin with multiple directions (in matrix form) onto the mesh. 
- Parameters
- 
  
    | [in] | origin | Origin of the ray |  | [in] | directions | Directions of the ray |  | [out] | intersections | User defined intersections output |  | [out] | hits | Intersection found or not |  
 
 
 
◆ castRays() [4/4]
template<typename IntT > 
  
  | 
        
          | virtual void lvr2::RaycasterBase< IntT >::castRays | ( | const Vector3f & | origin, |  
          |  |  | const std::vector< Vector3f > & | directions, |  
          |  |  | std::vector< IntT > & | intersections, |  
          |  |  | std::vector< uint8_t > & | hits |  
          |  | ) |  |  |  | virtual | 
 
Cast a ray from single origin with multiple directions onto the mesh. 
- Parameters
- 
  
    | [in] | origin | Origin of the ray |  | [in] | directions | Directions of the ray |  | [out] | intersections | User defined intersections output |  | [out] | hits | Intersection found or not |  
 
Reimplemented in lvr2::CLRaycaster< IntT >.
 
 
◆ m_mesh
The documentation for this class was generated from the following file: