class
#include <esp/sensor/CubeMapSensorBase.h>
CubeMapSensorBase
Base classes
- class VisualSensor
Derived classes
- class EquirectangularSensor
- class FisheyeSensor
Constructors, destructors, conversion operators
- ~CubeMapSensorBase() defaulted override
- destructor
-
CubeMapSensorBase(scene::
SceneNode& cameraNode, const CubeMapSensorBaseSpec::ptr& spec) protected explicit - constructor NOTE: the status of the camera sensor is "valid" after construction, and user can use them immediately
Public functions
-
auto getRenderCamera() const -> gfx::
RenderCamera* override -
auto getProjectionMatrix() const -> Mn::
Matrix4 override - Return this sensor's projection matrix.
Protected functions
-
auto getShaderKey() -> Magnum::
ResourceKey pure virtual -
template<typename T>auto getShader() -> Magnum::
Resource<gfx:: CubeMapShaderBase, T> -
auto renderToCubemapTexture(sim::
Simulator& sim) -> bool - render the sense into cubemap textures
-
void drawWith(gfx::
CubeMapShaderBase& shader) - draw the observation with the shader NOTE: assume the cubemap texture is already generated
Protected variables
Function documentation
bool esp:: sensor:: CubeMapSensorBase:: renderToCubemapTexture(sim:: Simulator& sim) protected
render the sense into cubemap textures
Parameters | |
---|---|
sim in | th simulator instance |