esp::sensor::FisheyeSensor class

Base classes

class CubeMapSensorBase

Public static variables

static const char* FISH_EYE_SHADER_KEY_TEMPLATE constexpr

Constructors, destructors, conversion operators

FisheyeSensor(scene::SceneNode& cameraNode, const FisheyeSensorSpec::ptr& spec) explicit
constructor NOTE: the status of the camera sensor is "valid" after construction, and user can use them immediately
~FisheyeSensor() defaulted override
destructor

Public functions

auto drawObservation(sim::Simulator& sim) -> bool override
Draw an observation to the frame buffer.
auto specification() const -> FisheyeSensorSpec::ptr
Return a pointer to this fisheye sensor's SensorSpec.

Protected functions

auto getShaderKey() -> Magnum::ResourceKey override

Protected variables

FisheyeSensorSpec::ptr fisheyeSensorSpec_

Function documentation

bool esp::sensor::FisheyeSensor::drawObservation(sim::Simulator& sim) override

Draw an observation to the frame buffer.

Parameters
sim in Instance of Simulator class for which the observation needs to be drawn
Returns true if success, otherwise false (e.g., frame buffer is not set)