Helios++
Helios software for LiDAR simulations
|
Class representing a time aware laser pulse. More...
#include <TimedPulse.h>
Public Member Functions | |
TimedPulse (glm::dvec3 const &origin, Rotation const &attitude, double const time_ns) | |
Time laser pulse constructor. More... | |
double | getTime () const |
Obtain the start time of the pulse (in nanoseconds) More... | |
void | setTime (double const time_ns) |
Set the start time of the pulse. More... | |
![]() | |
Pulse (glm::dvec3 const &origin, Rotation const &attitude) | |
Laser pulse constructor. More... | |
glm::dvec3 | getOrigin () const |
Obtain the origin of the pulse. More... | |
glm::dvec3 & | getOriginRef () |
Obtain the origin of the pulse by reference. More... | |
void | setOrigin (glm::dvec3 const &origin) |
Set the origin of the pulse. More... | |
Rotation | getAttitude () const |
Obtain the attitude of the ray. More... | |
Rotation & | getAttitudeRef () |
Obtain the attitude of the ray by reference. More... | |
void | setAttitude (Rotation const &attitude) |
Set the attitude of the ray. More... | |
glm::dvec3 | computeDirection () |
Compute the director vector of the ray/beam. More... | |
Protected Attributes | |
double | time_ns |
The start time of the pulse (in nanoseconds). Typically in real world applications it is the GPS time. | |
![]() | |
glm::dvec3 | origin |
The origin of the pulse, typically named as the point \(o\). | |
Rotation | attitude |
The attitude of the ray. | |
Class representing a time aware laser pulse.
|
inline |
Time laser pulse constructor.
|
inline |
Obtain the start time of the pulse (in nanoseconds)
|
inline |
Set the start time of the pulse.
time_ns | The new start time for the pulse (in nanoseconds) |