Corentin Chauvin-Hameau – 2019-2020
Coverage Path Planning for an underwater robot surveying a marine farm
Public Member Functions | Public Attributes | Private Attributes | List of all members
mfcpp::CameraNodelet::RaycastCallback Class Reference

Callback class for raycasting. More...

Inheritance diagram for mfcpp::CameraNodelet::RaycastCallback:
Inheritance graph
[legend]
Collaboration diagram for mfcpp::CameraNodelet::RaycastCallback:
Collaboration graph
[legend]

Public Member Functions

 RaycastCallback (CameraNodelet *parent)
 
virtual rp3d::decimal notifyRaycastHit (const rp3d::RaycastInfo &info)
 

Public Attributes

bool alga_hit_
 Whether an alga has been hit. More...
 
tf2::Vector3 hit_pt_
 Hit point. More...
 
int alga_idx_
 Index of the hit alga in the ray_bodies_ vector. More...
 

Private Attributes

CameraNodeletparent_
 Parent CameraNodelet instance. More...
 

Detailed Description

Callback class for raycasting.

Definition at line 64 of file camera_nodelet.hpp.

Constructor & Destructor Documentation

mfcpp::CameraNodelet::RaycastCallback::RaycastCallback ( CameraNodelet parent)

Definition at line 28 of file collision.cpp.

Member Function Documentation

rp3d::decimal mfcpp::CameraNodelet::RaycastCallback::notifyRaycastHit ( const rp3d::RaycastInfo &  info)
virtual

Definition at line 59 of file collision.cpp.

Member Data Documentation

bool mfcpp::CameraNodelet::RaycastCallback::alga_hit_

Whether an alga has been hit.

Definition at line 70 of file camera_nodelet.hpp.

int mfcpp::CameraNodelet::RaycastCallback::alga_idx_

Index of the hit alga in the ray_bodies_ vector.

Definition at line 72 of file camera_nodelet.hpp.

tf2::Vector3 mfcpp::CameraNodelet::RaycastCallback::hit_pt_

Hit point.

Definition at line 71 of file camera_nodelet.hpp.

CameraNodelet* mfcpp::CameraNodelet::RaycastCallback::parent_
private

Parent CameraNodelet instance.

Definition at line 74 of file camera_nodelet.hpp.


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