Open3D (C++ API)  0.12.0
Namespaces | Functions
GLHelper.cpp File Reference

(313315d (Wed Dec 23 23:39:47 2020 -0800))

#include "open3d/visualization/utility/GLHelper.h"
#include <Eigen/Dense>
#include <cmath>

Namespaces

 open3d
 
 open3d::visualization
 
 open3d::visualization::gl_util
 

Functions

GLMatrix4f open3d::visualization::gl_util::LookAt (const Eigen::Vector3d &eye, const Eigen::Vector3d &lookat, const Eigen::Vector3d &up)
 
GLMatrix4f open3d::visualization::gl_util::Perspective (double field_of_view_, double aspect, double z_near, double z_far)
 
GLMatrix4f open3d::visualization::gl_util::Ortho (double left, double right, double bottom, double top, double z_near, double z_far)
 
Eigen::Vector3d open3d::visualization::gl_util::Project (const Eigen::Vector3d &point, const GLMatrix4f &mvp_matrix, const int width, const int height)
 
Eigen::Vector3d open3d::visualization::gl_util::Unproject (const Eigen::Vector3d &screen_point, const GLMatrix4f &mvp_matrix, const int width, const int height)
 
int open3d::visualization::gl_util::ColorCodeToPickIndex (const Eigen::Vector4i &color)