AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
TriaxialSpectralGaussianNoise.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{
22
28 {
29 public:
36 TriaxialSpectralGaussianNoise( const agx::Vec3& noiseDensity = agx::Vec3( 2.943 * 1e-3 ),
37 agx::UInt32 seed = 3565u );
38
44 void setNoiseDensity( const agx::Vec3& noiseDensity );
45
49 const agx::Vec3& getNoiseDensity() const;
50
52
53 public:
54 virtual void result( SystemNodeProxy& proxy, const CallbackData& data ) override;
55 virtual void cleanup( SystemNodeProxy& proxy ) override;
56
58
60
61 private:
62 agx::Vec3 m_noiseDensity;
63 };
64}
#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 for implementation details for triaxial signal system nodes carrying a random noise generat...
Proxy system node, representing an instance of an ISystemNodeProxy in the system graph.
Applies Gaussian noise to the triaxial signal based on a specified noise spectral density and the sam...
void setNoiseDensity(const agx::Vec3 &noiseDensity)
Set the sensor noise spectral density.
TriaxialSpectralGaussianNoise(const agx::Vec3 &noiseDensity=agx::Vec3(2.943 *1e-3), agx::UInt32 seed=3565u)
Construct this sample frequency dependent Gaussian noise based on the given noiseDensity.
const agx::Vec3 & getNoiseDensity() const
#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.
uint32_t UInt32
Definition: Integer.h:32