106 virtual
void resetSynchronizationState() = 0;
116 template <
typename Type,
size_t Size>
117 struct CameraOutputValue
121 inline CameraOutputValue() =
default;
122 inline CameraOutputValue(
const CameraOutputValue&) =
default;
124 inline Type operator[](
size_t i)
const noexcept {
return channels[i]; }
126 inline Type& operator[](
size_t i)
noexcept {
return channels[i]; }
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
Buffer used for sensor output of a wide range of output element types.
Camera instance class defined by a frame/transform and a model.
Common interface for camera outputs containing the basics that can be assumed about a frame-based cam...
virtual void setResolution(const agx::Vec2i &resolution)=0
Set the horizontal and vertical resolution of the camera output.
virtual const BinaryOutputBuffer & getData() override=0
Returns access to the sensor output data.
virtual void capture()=0
Tell the output to capture a frame.
virtual size_t getElementSize() const override=0
"Element size" is the summed data size of the currently added sensor output fields.
virtual void setConstantCapture(agx::Real framerate)=0
Set the output to constantly capture at the specified framerate.
virtual OptionalFramerate getFramerate() const =0
virtual agx::Vec2i getResolution() const =0
virtual bool isConstantlyCapturing() const =0
ICameraOutput()=default
Default constructor.
virtual void setManualCapture()=0
Set the output to use manual capture.
virtual bool hasUnreadData(bool markAsRead=true) override=0
Common interface for sensor output data.
System node is a separate step/operation in an execution tree representing a sensor (or such) in a se...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
std::optional< agx::Real > OptionalFramerate