#include <OpenGLVisualizer.h>
|  | 
|  | COpenGLVisualizer () | 
|  | 
|  | ~COpenGLVisualizer () | 
|  | 
| bool | Init (int width=640, int height=480, bool bActivateShading=true) | 
|  | 
| bool | InitByCalibration (const CCalibration *pCalibration, bool bActivateShading=true) | 
|  | 
| void | ActivateShading (bool bActivateShading) | 
|  | 
| void | SetProjectionMatrix (const CCalibration *pCalibration) | 
|  | 
| bool | GetImage (CByteImage *pDestinationImage) | 
|  | 
| bool | GetDepthMatrix (CFloatMatrix *pDestinationMatrix) | 
|  | 
| void | SetViewMatrix (const Transformation3d &transformation) | 
|  | 
| void | Clear () | 
|  | 
| void | DrawPoint (float x, float y, float z, const float *pColor=0) | 
|  | 
| void | DrawPoints (Vec3dList &points, const float *pColor=0) | 
|  | 
| void | DrawSphere (const Vec3d &point, float radius, const float *pColor=0) | 
|  | 
| void | DrawCylinder (const Vec3d &point1, const Vec3d &point2, float radius1, float radius2, const float color[3]) | 
|  | 
| void | DrawObject (const CFloatMatrix *pMatrix, const Transformation3d &transformation) | 
|  | 
|  | 
| static void | ConvertToOpenGLMatrix (const Transformation3d &transformation, float resultMatrix[16]) | 
|  | 
| static void | CalculateOpenGLProjectionMatrix (const Mat3d &K, int width, int height, float gnear, float gfar, float *m) | 
|  | 
| static void | CalculateOpenGLProjectionMatrixDefaultPrincipalPoint (const Mat3d &K, int width, int height, float gnear, float gfar, float *m) | 
|  | 
|  | 
| static const float | red [3] = { 0.75f, 0, 0 } | 
|  | 
| static const float | green [3] = { 0, 0.75f, 0 } | 
|  | 
| static const float | blue [3] = { 0, 0, 0.75f } | 
|  | 
| static const float | yellow [3] = { 0.65f, 0.5f, 0.49f } | 
|  | 
Definition at line 70 of file OpenGLVisualizer.h.
 
      
        
          | COpenGLVisualizer::COpenGLVisualizer | ( |  | ) |  | 
      
 
 
      
        
          | COpenGLVisualizer::~COpenGLVisualizer | ( |  | ) |  | 
      
 
 
      
        
          | void COpenGLVisualizer::ActivateShading | ( | bool | bActivateShading | ) |  | 
      
 
 
  
  | 
        
          | void COpenGLVisualizer::CalculateOpenGLProjectionMatrix | ( | const Mat3d & | K, |  
          |  |  | int | width, |  
          |  |  | int | height, |  
          |  |  | float | gnear, |  
          |  |  | float | gfar, |  
          |  |  | float * | m |  
          |  | ) |  |  |  | static | 
 
 
  
  | 
        
          | void COpenGLVisualizer::CalculateOpenGLProjectionMatrixDefaultPrincipalPoint | ( | const Mat3d & | K, |  
          |  |  | int | width, |  
          |  |  | int | height, |  
          |  |  | float | gnear, |  
          |  |  | float | gfar, |  
          |  |  | float * | m |  
          |  | ) |  |  |  | static | 
 
 
      
        
          | void COpenGLVisualizer::Clear | ( |  | ) |  | 
      
 
 
  
  | 
        
          | void COpenGLVisualizer::ConvertToOpenGLMatrix | ( | const Transformation3d & | transformation, |  
          |  |  | float | resultMatrix[16] |  
          |  | ) |  |  |  | static | 
 
 
      
        
          | void COpenGLVisualizer::DrawCylinder | ( | const Vec3d & | point1, | 
        
          |  |  | const Vec3d & | point2, | 
        
          |  |  | float | radius1, | 
        
          |  |  | float | radius2, | 
        
          |  |  | const float | color[3] | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void COpenGLVisualizer::DrawPoint | ( | float | x, | 
        
          |  |  | float | y, | 
        
          |  |  | float | z, | 
        
          |  |  | const float * | pColor = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void COpenGLVisualizer::DrawPoints | ( | Vec3dList & | points, | 
        
          |  |  | const float * | pColor = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void COpenGLVisualizer::DrawSphere | ( | const Vec3d & | point, | 
        
          |  |  | float | radius, | 
        
          |  |  | const float * | pColor = 0 | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | bool COpenGLVisualizer::GetDepthMatrix | ( | CFloatMatrix * | pDestinationMatrix | ) |  | 
      
 
 
      
        
          | bool COpenGLVisualizer::GetImage | ( | CByteImage * | pDestinationImage | ) |  | 
      
 
 
      
        
          | bool COpenGLVisualizer::Init | ( | int | width = 640, | 
        
          |  |  | int | height = 480, | 
        
          |  |  | bool | bActivateShading = true | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | bool COpenGLVisualizer::InitByCalibration | ( | const CCalibration * | pCalibration, | 
        
          |  |  | bool | bActivateShading = true | 
        
          |  | ) |  |  | 
      
 
 
      
        
          | void COpenGLVisualizer::SetProjectionMatrix | ( | const CCalibration * | pCalibration | ) |  | 
      
 
 
  
  | 
        
          | void COpenGLVisualizer::SetViewMatrix | ( | const Transformation3d & | transformation | ) |  |  | inline | 
 
 
  
  | 
        
          | const float COpenGLVisualizer::blue = { 0, 0, 0.75f } |  | static | 
 
 
  
  | 
        
          | const float COpenGLVisualizer::green = { 0, 0.75f, 0 } |  | static | 
 
 
  
  | 
        
          | const float COpenGLVisualizer::red = { 0.75f, 0, 0 } |  | static | 
 
 
  
  | 
        
          | const float COpenGLVisualizer::yellow = { 0.65f, 0.5f, 0.49f } |  | static | 
 
 
The documentation for this class was generated from the following files: