AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
LidarRayRange.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#pragma once
18
19#include <agx/Range.h>
20
21namespace agxSensor
22{
24
29 {
30 public:
34 LidarRayRange() = default;
35
41
47
52
54
55 public:
56 virtual RtNode* createNode() override;
57 virtual void synchronize(RtSystemNodeProxy& node, const CallbackData& data) override;
58
60
61 private:
62 RtNode* updateRange(RtNode* node);
63
65
66 private:
67 agx::RangeReal32 m_range {0.f, agx::Real32Max};
68 };
69}
#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
Interface as RtSystemNode for model specific implementations that is part of the system tree of lidar...
Start and end range of each lidar ray, default [0, "infinity").
Definition: LidarRayRange.h:29
LidarRayRange()=default
Default constructor with default range [0, infinity).
void setRange(agx::RangeReal32 range)
Set new range [start, end].
agx::RangeReal32 getRange() const
LidarRayRange(agx::RangeReal32 range)
Construct given range [start, end].
Raytrace system node acting as a clone of model specific implementations.
A range object has a min and max value of a given type and provides services to tell whether a value ...
Definition: Range.h:80
#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...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
AGXCORE_EXPORT const Real32 Real32Max
A node performs a single operation, e.g., raycast, gaussian blur, merging etc.