Public Member Functions | Private Attributes | List of all members
mcl_3dl::RaycastUsingKDTree< POINT_TYPE > Class Template Reference

#include <raycast_using_kdtree.h>

Inheritance diagram for mcl_3dl::RaycastUsingKDTree< POINT_TYPE >:
Inheritance graph
[legend]

Public Member Functions

bool getNextCastResult (CastResult &result) final
 
 RaycastUsingKDTree (const float map_grid_size_x, const float map_grid_size_y, const float map_grid_size_z, const float hit_tolerance)
 
void setRay (typename ChunkedKdtree< POINT_TYPE >::Ptr kdtree, const Vec3 ray_begin, const Vec3 ray_end) final
 
- Public Member Functions inherited from mcl_3dl::Raycast< POINT_TYPE >
 Raycast ()
 

Private Attributes

int count_
 
const float hit_tolerance_
 
Vec3 inc_
 
ChunkedKdtree< POINT_TYPE >::Ptr kdtree_
 
int length_
 
const float map_grid_max_
 
const float map_grid_min_
 
Vec3 pos_
 

Detailed Description

template<typename POINT_TYPE>
class mcl_3dl::RaycastUsingKDTree< POINT_TYPE >

Definition at line 44 of file raycast_using_kdtree.h.

Constructor & Destructor Documentation

template<typename POINT_TYPE>
mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::RaycastUsingKDTree ( const float  map_grid_size_x,
const float  map_grid_size_y,
const float  map_grid_size_z,
const float  hit_tolerance 
)
inline

Definition at line 49 of file raycast_using_kdtree.h.

Member Function Documentation

template<typename POINT_TYPE>
bool mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::getNextCastResult ( CastResult result)
inlinefinalvirtual

Implements mcl_3dl::Raycast< POINT_TYPE >.

Definition at line 68 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
void mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::setRay ( typename ChunkedKdtree< POINT_TYPE >::Ptr  kdtree,
const Vec3  ray_begin,
const Vec3  ray_end 
)
inlinefinalvirtual

Implements mcl_3dl::Raycast< POINT_TYPE >.

Definition at line 59 of file raycast_using_kdtree.h.

Member Data Documentation

template<typename POINT_TYPE>
int mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::count_
private

Definition at line 117 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
const float mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::hit_tolerance_
private

Definition at line 120 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
Vec3 mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::inc_
private

Definition at line 115 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
ChunkedKdtree<POINT_TYPE>::Ptr mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::kdtree_
private

Definition at line 113 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
int mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::length_
private

Definition at line 116 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
const float mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::map_grid_max_
private

Definition at line 119 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
const float mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::map_grid_min_
private

Definition at line 118 of file raycast_using_kdtree.h.

template<typename POINT_TYPE>
Vec3 mcl_3dl::RaycastUsingKDTree< POINT_TYPE >::pos_
private

Definition at line 114 of file raycast_using_kdtree.h.


The documentation for this class was generated from the following file:


mcl_3dl
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:16:29