OpenCV  2.4.13
Open Source Computer Vision
cv::GlCamera Class Reference

OpenGL camera. More...

#include <opengl_interop_deprecated.hpp>

Public Member Functions

 GlCamera ()
 
void lookAt (Point3d eye, Point3d center, Point3d up)
 
void setCameraPos (Point3d pos, double yaw, double pitch, double roll)
 
void setScale (Point3d scale)
 
void setProjectionMatrix (const Mat &projectionMatrix, bool transpose=true)
 
void setPerspectiveProjection (double fov, double aspect, double zNear, double zFar)
 
void setOrthoProjection (double left, double right, double bottom, double top, double zNear, double zFar)
 
void setupProjectionMatrix () const
 
void setupModelViewMatrix () const
 

Detailed Description

OpenGL camera.

Constructor & Destructor Documentation

cv::GlCamera::GlCamera ( )

Member Function Documentation

void cv::GlCamera::lookAt ( Point3d  eye,
Point3d  center,
Point3d  up 
)
void cv::GlCamera::setCameraPos ( Point3d  pos,
double  yaw,
double  pitch,
double  roll 
)
void cv::GlCamera::setOrthoProjection ( double  left,
double  right,
double  bottom,
double  top,
double  zNear,
double  zFar 
)
void cv::GlCamera::setPerspectiveProjection ( double  fov,
double  aspect,
double  zNear,
double  zFar 
)
void cv::GlCamera::setProjectionMatrix ( const Mat projectionMatrix,
bool  transpose = true 
)
void cv::GlCamera::setScale ( Point3d  scale)
void cv::GlCamera::setupModelViewMatrix ( ) const
void cv::GlCamera::setupProjectionMatrix ( ) const

The documentation for this class was generated from the following file: