MRPT  1.9.9
mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo Struct Reference

Detailed Description

Definition at line 385 of file COpenGLViewport.h.

#include <mrpt/opengl/COpenGLViewport.h>

Public Member Functions

 TLastProjectiveMatrixInfo ()
 

Public Attributes

mrpt::math::TPoint3D eye
 The camera is here. More...
 
mrpt::math::TPoint3D pointing
 The camera points to here. More...
 
mrpt::math::TPoint3D up
 Up vector of the camera. More...
 
size_t viewport_width {640}
 In pixels. More...
 
size_t viewport_height {480}
 
float FOV {30}
 FOV in degrees. More...
 
float azimuth {0}
 Camera elev & azimuth, in radians. More...
 
float elev {0}
 
float zoom {1}
 
bool is_projective {true}
 

Constructor & Destructor Documentation

◆ TLastProjectiveMatrixInfo()

mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::TLastProjectiveMatrixInfo ( )
inline

Definition at line 387 of file COpenGLViewport.h.

Member Data Documentation

◆ azimuth

float mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::azimuth {0}

Camera elev & azimuth, in radians.

Definition at line 403 of file COpenGLViewport.h.

Referenced by mrpt::opengl::COpenGLViewport::get3DRayForPixelCoord(), and mrpt::opengl::COpenGLViewport::render().

◆ elev

float mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::elev {0}

◆ eye

mrpt::math::TPoint3D mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::eye

◆ FOV

float mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::FOV {30}

◆ is_projective

bool mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::is_projective {true}

◆ pointing

mrpt::math::TPoint3D mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::pointing

The camera points to here.

Definition at line 395 of file COpenGLViewport.h.

Referenced by mrpt::opengl::COpenGLViewport::render().

◆ up

mrpt::math::TPoint3D mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::up

Up vector of the camera.

Definition at line 397 of file COpenGLViewport.h.

Referenced by mrpt::opengl::COpenGLViewport::render().

◆ viewport_height

size_t mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::viewport_height {480}

◆ viewport_width

size_t mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::viewport_width {640}

In pixels.

This may be smaller than the total render window.

Definition at line 399 of file COpenGLViewport.h.

Referenced by mrpt::opengl::COpenGLViewport::get3DRayForPixelCoord(), and mrpt::opengl::COpenGLViewport::render().

◆ zoom

float mrpt::opengl::COpenGLViewport::TLastProjectiveMatrixInfo::zoom {1}



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 034c2ee2a Tue Aug 20 02:15:02 2019 +0200 at mar ago 20 02:20:10 CEST 2019