142 virtual
void synchronize(const
CallbackData& data) override;
143 virtual
void execute(const
CallbackData& data) override;
144 virtual
void complete() override;
146 virtual
void synchronizeGraphics(const
agxRender::RenderManager& renderManager) override;
147 virtual
void cleanup() override;
160 agx::FrameRef m_frame;
163 bool m_useDefaultBackend;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGX_DECLARE_VECTOR_TYPES(type)
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Base camera model describing the fundamental components, such as the lens and the sensor of the camer...
Handler responsible for how the camera readings are assembled and provided to the user.
Camera instance class defined by a frame/transform and a model.
virtual agx::Frame * getFrame() const override
virtual ISensorOutputHandler * getOutputHandlerBase() const override
static CameraPtrVector findAll(const Environment *environment)
Find all cameras.
CameraModel * getModel() const
static Camera * find(const Environment *environment, const agx::Name &name)
Find camera given name.
static CameraPtrVector findAll(const agxSDK::Simulation *simulation, const agx::Name &name)
Find all cameras, given name.
void capture()
Tell the camera to capture a frame for all outputs.
CameraOutputHandler * getOutputHandler() const
virtual void setFrame(agx::Frame *frame) override
Assign a new parent frame to attach this camera to.
const CameraBackend & getCameraBackend() const
static Camera * find(const agxSDK::Simulation *simulation, const agx::Name &name)
Find camera given name.
static CameraPtrVector findAll(const Environment *environment, const agx::Name &name)
Find all cameras, given name.
static void setDefaultCameraBackend(const CameraBackend &backend)
Set the render backend connection to use as default for all cameras, if no explicit one is assigned.
static CameraPtrVector findAll(const agxSDK::Simulation *simulation)
Find all cameras.
Camera(agx::Frame *frame, CameraModel *model, const CameraBackend &backend=defaultBackend())
Construct this camera attached to the given frame and configured by the model.
Sensor environment implementation where different sensors collects data given a set of added objects,...
Common base type for all sensors attached to a frame of reference, such as that of a rigid body.
Common interface for sensor output handlers.
The object defining a frame of reference and providing transformations operations.
Representation of a name string.
Vector containing 'raw' data.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
Namespace containing classes for handling debug rendering of collision geometries,...
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.