147 virtual
void resetSynchronizationState() override;
#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...
A rectangular CMOS sensor for common digital cameras.
bool hasAutoExposureEnabled() const
void setSize(const agx::Vec2 &size)
Set the sensor rectangular (physical) size.
void setShutterSpeed(agx::Real shutterSpeed)
Set the shutter speed of the sensor electronic shutter.
void setManualExposureCompensation(agx::Real exposureCompensation)
Set the exposure compensation value for manual exposure control.
agx::Real getShutterSpeed() const
void setResolution(const agx::Vec2i &resolution)
Set the sensor resolution.
CameraCMOSSensor(const agx::Vec2 &size=agx::Vec2(2728.8e-6, 1549.8e-6), const agx::Vec2i &resolution=agx::Vec2i(1920, 1080), agx::Real iso=100, agx::Real shutterSpeed=5.6e-3, agx::Real dynamicRange=11.3)
Constructs a CMOS digital camera sensor with auto-exposure.
agx::Vec2i getResolution() const
agx::Vec2 getSize() const
OptionalDynamicRange getDynamicRange() const
CameraCMOSSensor(CameraCMOSSensorManualExposureFlag, const agx::Vec2 &size=agx::Vec2(2728.8e-6, 1549.8e-6), const agx::Vec2i &resolution=agx::Vec2i(1920, 1080), agx::Real iso=100, agx::Real shutterSpeed=5.6e-3, agx::Real exposureCompensation=0.0)
Constructs a CMOS digital camera sensor with manual exposure control.
virtual agx::Vec2 getExtents() const override
OptionalExposureCompensation getExposureCompensation() const
void setAutoExposure(agx::Real dynamicRange)
Set the sensor to use automatic exposure control.
void setISO(agx::Real iso)
Set the amplifier ISO value for the sensor.
Base type for a photodetector (digital sensor or film) attached to a camera.
Camera instance class defined by a frame/transform and a model.
Type for triggering effects at a later point in time.
#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 > OptionalDynamicRange
std::optional< agx::Real > OptionalExposureCompensation