Information about the rendering process being issued.
Definition at line 156 of file CRenderizable.h.
#include <mrpt/opengl/CRenderizable.h>
Public Member Functions | |
| void | projectPoint (float x, float y, float z, float &proj_x, float &proj_y, float &proj_z_depth) const |
| Computes the normalized coordinates (range=[0,1]) on the current rendering viewport of a point with local coordinates (wrt to the current model matrix) of (x,y,z). | |
| void | projectPointPixels (float x, float y, float z, float &proj_x_px, float &proj_y_px, float &proj_z_depth) const |
| Exactly like projectPoint but the (x,y) projected coordinates are given in pixels instead of normalized coordinates. | |
Public Attributes | |
| int | vp_x |
| int | vp_y |
| int | vp_width |
| int | vp_height |
| Rendering viewport geometry (in pixels) | |
| Eigen::Matrix< float, 4, 4, Eigen::ColMajor > | proj_matrix |
| The 4x4 projection matrix. | |
| Eigen::Matrix< float, 4, 4, Eigen::ColMajor > | model_matrix |
| The 4x4 model transformation matrix. | |
| Eigen::Matrix< float, 4, 4, Eigen::ColMajor > | full_matrix |
| PROJ * MODEL. | |
| mrpt::math::TPoint3Df | camera_position |
| The 3D location of the camera. | |
| void mrpt::opengl::CRenderizable::TRenderInfo::projectPoint | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float & | proj_x, | ||
| float & | proj_y, | ||
| float & | proj_z_depth | ||
| ) | const [inline] |
Computes the normalized coordinates (range=[0,1]) on the current rendering viewport of a point with local coordinates (wrt to the current model matrix) of (x,y,z).
The output proj_z_depth is the real distance from the eye to the point.
Definition at line 168 of file CRenderizable.h.
References internal::y.
| void mrpt::opengl::CRenderizable::TRenderInfo::projectPointPixels | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float & | proj_x_px, | ||
| float & | proj_y_px, | ||
| float & | proj_z_depth | ||
| ) | const [inline] |
Exactly like projectPoint but the (x,y) projected coordinates are given in pixels instead of normalized coordinates.
Definition at line 177 of file CRenderizable.h.
Referenced by mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render().
The 3D location of the camera.
Definition at line 162 of file CRenderizable.h.
| Eigen::Matrix<float,4,4,Eigen::ColMajor> mrpt::opengl::CRenderizable::TRenderInfo::full_matrix |
PROJ * MODEL.
Definition at line 161 of file CRenderizable.h.
| Eigen::Matrix<float,4,4,Eigen::ColMajor> mrpt::opengl::CRenderizable::TRenderInfo::model_matrix |
The 4x4 model transformation matrix.
Definition at line 160 of file CRenderizable.h.
| Eigen::Matrix<float,4,4,Eigen::ColMajor> mrpt::opengl::CRenderizable::TRenderInfo::proj_matrix |
The 4x4 projection matrix.
Definition at line 159 of file CRenderizable.h.
Rendering viewport geometry (in pixels)
Definition at line 158 of file CRenderizable.h.
Referenced by mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render().
Definition at line 158 of file CRenderizable.h.
Referenced by mrpt::opengl::COctreePointRenderer< CPointCloudColoured >::octree_recursive_render().
Definition at line 158 of file CRenderizable.h.
Definition at line 158 of file CRenderizable.h.
| Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |