AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
LidarProperties.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#pragma once
18
19#include <agxSensor/export.h>
20
21#include <agx/Referenced.h>
22
24
25namespace agxSensor
26{
28
33 {
34 public:
40 LidarProperties( agx::Real beamDivergence = 1.0E-3,
41 agx::Real beamExitRadius = 5.0E-3 );
42
50
54 void setBeamDivergence( agx::Real divergence );
55
62
66 void setBeamExitRadius( agx::Real exitRadius );
67
69
70 public:
72
74
75 private:
76 struct Beam
77 {
78 agx::Real divergence;
79 agx::Real exitRadius;
80 };
81
82 private:
83 Beam m_beam;
84 };
85}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
#define AGXSENSOR_EXPORT
Properties/parameters of a lidar model.
void setBeamExitRadius(agx::Real exitRadius)
Set exit radius.
LidarProperties(agx::Real beamDivergence=1.0E-3, agx::Real beamExitRadius=5.0E-3)
Construct a properties configuration for a lidar.
void setBeamDivergence(agx::Real divergence)
Set beam divergence.
agx::Real getBeamExitRadius() const
The radius of the lidar laser light beam as it exits the lidar, in meters.
agx::Real getBeamDivergence() const
Divergence of the lidar laser light beam, in radians.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Definition: Serializable.h:44
Base class providing referencing counted objects.
Definition: Referenced.h:120
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition: macros.h:89
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition: macros.h:88
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
double Real
Definition: Real.h:41