Helios++
Helios software for LiDAR simulations
KDGroveRaycaster Class Reference

Class representing a KDGrove ray caster. More...

#include <KDGroveRaycaster.h>

Inheritance diagram for KDGroveRaycaster:
Collaboration diagram for KDGroveRaycaster:

Public Member Functions

 KDGroveRaycaster (std::shared_ptr< KDGrove > grove)
 
std::map< double, Primitive * > searchAll (glm::dvec3 rayOrigin, glm::dvec3 rayDir, double tmin, double tmax, bool groundOnly) override
 
RaySceneIntersectionsearch (glm::dvec3 rayOrigin, glm::dvec3 rayDir, double tmin, double tmax, bool groundOnly) override
 
virtual std::shared_ptr< KDGroveRaycastermakeTemporalClone () const
 Make a temporal clone of the KDGroveRaycaster. More...
 
std::shared_ptr< KDGrovegetGrove ()
 Obtain the KDGrove associated to the KDGroveRaycaster. More...
 

Protected Attributes

std::shared_ptr< KDGrovegrove
 The KDGrove for the ray casting.
 

Detailed Description

Class representing a KDGrove ray caster.

Author
Alberto M. Esmoris Pena
Version
1.0
See also
Raycaster
KDTreeRaycaster
GroveKDTreeRaycaster
KDGrove

Constructor & Destructor Documentation

◆ KDGroveRaycaster()

KDGroveRaycaster::KDGroveRaycaster ( std::shared_ptr< KDGrove grove)
inline

@bried KDGrove ray caster constructor

Parameters
groveThe KDGrove for the ray casting

Member Function Documentation

◆ getGrove()

std::shared_ptr<KDGrove> KDGroveRaycaster::getGrove ( )
inline

Obtain the KDGrove associated to the KDGroveRaycaster.

Returns
KDGrove associated to the KDGroveRaycaster
See also
KDGroveRaycaster::grove

◆ makeTemporalClone()

std::shared_ptr< KDGroveRaycaster > KDGroveRaycaster::makeTemporalClone ( ) const
virtual

Make a temporal clone of the KDGroveRaycaster.

The temporal clone is meant to produce a temporal copy of the raycaster. If the original raycaster is updated, then the temporal copy should not be updated.

Returns
Temporal clone of the KDGroveRaycaster
See also
KDGrove::makeTemporalClone

◆ search()

RaySceneIntersection * KDGroveRaycaster::search ( glm::dvec3  rayOrigin,
glm::dvec3  rayDir,
double  tmin,
double  tmax,
bool  groundOnly 
)
overridevirtual
See also
Raycaster::search

Implements Raycaster.

◆ searchAll()

std::map< double, Primitive * > KDGroveRaycaster::searchAll ( glm::dvec3  rayOrigin,
glm::dvec3  rayDir,
double  tmin,
double  tmax,
bool  groundOnly 
)
overridevirtual
See also
Raycaster::searchAll

Implements Raycaster.


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