Toast++  1.0.2 (r.539)
Forward and inverse modelling in optical tomography
Public Member Functions | Protected Attributes | List of all members
GLProjector Class Reference
Inheritance diagram for GLProjector:
Projector

Public Member Functions

 GLProjector (Camera *cam, QMMesh *mesh, int nBndElems_, int *bndellist_, int *bndsdlist_)
 
 GLProjector (Camera *cam, QMMesh *mesh)
 
void init (Camera *cam, QMMesh *mesh)
 
void setupMesaGL ()
 
void constructMatrix ()
 
void constructMatrix_SF ()
 
RVector getImageBuffer ()
 
void renderImage ()
 
void renderImageElem ()
 
- Public Member Functions inherited from Projector
 Projector (Camera *cam, QMMesh *mesh)
 
void init (Camera *cam, QMMesh *mesh)
 
void projectFieldToImage (const RVector &field, RVector &image, RCompRowMatrix &mask)
 
void projectImageToField (const RVector &image, RVector &field, RCompRowMatrix &maskT)
 
void projectFieldToImage (const RVector &field, RVector &image)
 
void projectImageToField (const RVector &image, RVector &field)
 
void mapToData (const RVector &field, RVector &data)
 
void getBoundaryNodes ()
 
int getImageWidth ()
 
int getImageHeight ()
 
IVector getImageDim ()
 
int getImageSize ()
 

Protected Attributes

OSMesaContext mesaGLContext
 
GLubyte * imageBuffer
 
int * bndellist
 
int * bndsdlist
 
int nBndElems
 
- Protected Attributes inherited from Projector
QMMeshFEMMesh
 
Cameracamera
 
int * bndNodes
 
int w
 
int h
 
int nImagePts
 
int nBndNodes
 
int nNodes
 
RCompRowMatrix toImage
 
RCompRowMatrix toField
 

Additional Inherited Members


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