AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
FrameAttachedSensor.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
17#include <agxSensor/Sensor.h>
18
19#include <agx/Frame.h>
20
21namespace agxSensor
22{
25
30 {
31 public:
36
42 virtual void setFrame( agx::Frame* frame ) = 0;
43
47 virtual agx::Frame* getFrame() const = 0;
48
50
51 public:
53
55 };
56}
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
Definition: Serializable.h:221
#define AGXSENSOR_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
Definition: agx/Vector.h:34
Common base type for all sensors attached to a frame of reference, such as that of a rigid body.
FrameAttachedSensor()=default
Default constructor.
virtual void setFrame(agx::Frame *frame)=0
Assign a new parent frame to attach this sensor to.
virtual agx::Frame * getFrame() const =0
Common base type for all sensors sharing the same general agxSensor layout.
Definition: Sensor.h:29
The object defining a frame of reference and providing transformations operations.
Definition: agx/Frame.h:68
#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...