AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
RaytraceOutputNoise.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
19namespace agxSensor
20{
23
28 {
29 public:
33 bool isDirty() const;
34
39 void setDirty(bool dirty);
40
41 public:
46 virtual void update(RtSystemNodeProxy& node, const CallbackData& data);
47
52 virtual void synchronize(RtSystemNodeProxy& node, const CallbackData& data) final override;
53
55
56 public:
57 virtual void store(agxStream::OutputArchive& out) const override;
58 virtual void restore(agxStream::InputArchive& in) override;
59
61
62 private:
63 bool m_dirty {false};
64 };
65}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXSENSOR_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition: agx/Vector.h:34
Interface as RtSystemNode for model specific implementations that is part of the system tree of lidar...
Defines a noise that is applied to Lidar output data.
virtual void synchronize(RtSystemNodeProxy &node, const CallbackData &data) final override
Checks dirty flag before calling update(const CallbackData&) and resets the dirty flag after that.
virtual void update(RtSystemNodeProxy &node, const CallbackData &data)
Called one time when getDirty() == true during synchronization.
void setDirty(bool dirty)
True to trigger synchronization of data.
Raytrace system node acting as a clone of model specific implementations.
#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...
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...