Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Main Page
Related Pages
Modules
Classes
Files
File List
libstoast
GLProjector.h
1
#ifndef GLPROJECTOR_H
2
#define GLPROJECTOR_H
3
4
#include "projector.h"
5
6
class
STOASTLIB
GLProjector
:
public
Projector
7
{
8
public
:
9
GLProjector
() {}
10
GLProjector
(
Camera
* cam,
QMMesh
* mesh,
int
nBndElems_,
int
* bndellist_,
int
* bndsdlist_);
11
GLProjector
(
Camera
* cam,
QMMesh
* mesh);
12
~
GLProjector
();
13
void
init(
Camera
* cam,
QMMesh
* mesh);
14
void
setupMesaGL();
15
void
constructMatrix();
16
void
constructMatrix_SF();
17
RVector
getImageBuffer();
18
void
renderImage();
19
void
renderImageElem();
20
protected
:
21
OSMesaContext mesaGLContext;
22
GLubyte * imageBuffer;
23
int
* bndellist, * bndsdlist;
24
int
nBndElems;
25
};
26
27
#endif
TVector< double >
Projector
Definition:
projector.h:16
QMMesh
Definition:
qmmesh.h:22
Camera
Definition:
camera.h:6
GLProjector
Definition:
GLProjector.h:6
Generated on Tue Sep 2 2014 17:14:26 for Toast++ by
1.8.6