ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PCVContext.cpp File Reference
#include "PCVContext.h"
#include <CVMiscTools.h>
#include <GenericTriangle.h>
#include <QGLPixelBuffer>
#include <GL/glu.h>
#include <assert.h>
Include dependency graph for PCVContext.cpp:

Go to the source code of this file.

Macros

#define ZTWIST   1e-3f
 

Functions

static void glVertex3v (const float *v)
 
static void glVertex3v (const double *v)
 
static void glTranslate (float x, float y, float z)
 
static void glTranslate (double x, double y, double z)
 
static void glScale (float x, float y, float z)
 
static void glScale (double x, double y, double z)
 
void openGLSnapshot (GLenum format, GLenum type, void *buffer)
 

Macro Definition Documentation

◆ ZTWIST

#define ZTWIST   1e-3f

Definition at line 46 of file PCVContext.cpp.

Function Documentation

◆ glScale() [1/2]

static void glScale ( double  x,
double  y,
double  z 
)
inlinestatic

Definition at line 41 of file PCVContext.cpp.

◆ glScale() [2/2]

static void glScale ( float  x,
float  y,
float  z 
)
inlinestatic

Definition at line 40 of file PCVContext.cpp.

◆ glTranslate() [1/2]

static void glTranslate ( double  x,
double  y,
double  z 
)
inlinestatic

Definition at line 35 of file PCVContext.cpp.

◆ glTranslate() [2/2]

static void glTranslate ( float  x,
float  y,
float  z 
)
inlinestatic

Definition at line 32 of file PCVContext.cpp.

◆ glVertex3v() [1/2]

static void glVertex3v ( const double *  v)
inlinestatic

Definition at line 29 of file PCVContext.cpp.

◆ glVertex3v() [2/2]

static void glVertex3v ( const float *  v)
inlinestatic

Definition at line 28 of file PCVContext.cpp.

◆ openGLSnapshot()

void openGLSnapshot ( GLenum  format,
GLenum  type,
void *  buffer 
)

Definition at line 224 of file PCVContext.cpp.

Referenced by PCVContext::GLAccumPixel().