The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::RenderAble::SensorView Struct Reference

Extended information as provided by a sensor on the screen such as the mouse cursor. More...

#include <ocean/Anemonia/VRenderAble.hpp>

Inheritance diagram for Wizt::RenderAble::SensorView:
Wizt::View Wizt::SensorArea< 1 > Wizt::ProjectionParameters

Public Member Functions

 SensorView ()
 default constructor
 
 SensorView (const View &theView, int theSensorX, int theSensorY)
 construct with view and sensor information
 
- Public Member Functions inherited from Wizt::View
void computeFrustum (double H, double W, const Eagle::PhysicalSpace::Viewport &theViewport)
 Compute the frustum from the current camera settings, near and far value, plus the given viewport and height/width information.
 
void computeModelViewMatrix ()
 Compute the model view matrix from the camera settings.
 
void resetModelView ()
 Reset the model view matrix to the identity matrix, also resetting the CameraSettings to their respective default values.
 
bool WorldToScreen_minus1_to_plus1 (const Eagle::point3 &world, OverlayCoordinate &screen) const
 Perform projection from world coordinates to screen coordinates, with screen coordinates in [-1,+1]x[-1,+1]x[0,1].
 
bool WorldToScreen_zero_to_one (const Eagle::point3 &world, MouseCoordinate &screen) const
 Perform projection from world coordinates to screen coordinates, with screen coordinates in [0,1]x[0,1].
 
OverlayCoordinate WorldToScreenOverlay (const Eagle::point3 &world, bool *success=nullptr) const
 z coordinate is in range [0.0, 1.0]
 
- Public Member Functions inherited from Wizt::ProjectionParameters
void setFrustum (double left, double right, double bottom, double top, double nearVal, double farVal)
 Set a perspectivic projection.
 
void setInfiniteFrustum (double Left, double Right, double Bottom, double Top, double NearVal)
 Define a perspective projection that reaches into infinity.
 
void setOrthographic (double left, double right, double bottom, double top, double nearVal, double farVal)
 Set an orthographic projection.
 

Additional Inherited Members

- Public Attributes inherited from Wizt::View
VCamera CameraSettings
 Properties of the camera.
 
MatrixOrArray FullModelView
 The full model view mapping as matrix or flat array.
 
std::array< double, 16 > inv_FullModelViewMatrix
 Inverse matrices.
 
Eagle::PhysicalSpace::Frustum myFrustum
 The view frustum related to the current CameraSettings.
 
MatrixOrArray PixelCalibration
 A matrix for final pixel operations.
 
Eagle::PhysicalSpace::Viewport port
 Viewport settings.
 
Eagle::tvector3 Translation
 The translational component of the FullModelViewMatrix.
 
MatrixOrArray UntranslatedModelView
 The model view mapping without translation.
 
- Public Attributes inherited from Wizt::ProjectionParameters
MatrixOrArray Projection
 A 4x4 projection matrix as required by OpenGL in column-major order.
 
- Public Attributes inherited from Wizt::SensorArea< 1 >
Eagle::point3 Area [SensorElements][SensorElements]
 World coordinate information.
 
rgba_float_t Colors [SensorElements][SensorElements]
 Color information.
 
float ScreenDepths [SensorElements][SensorElements]
 Screen depth information, i.e.
 
- Static Public Attributes inherited from Wizt::SensorArea< 1 >
static constexpr int SensorElements
 The actual number of elements of the sensor in each direction.
 
static constexpr int SensorKernelSize
 The size of the sensor kernel, i.e the points beyond its center.
 

Detailed Description

Extended information as provided by a sensor on the screen such as the mouse cursor.