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

Public Member Functions

 Camera (int w_, int h_, const RVector &pos_, const RVector &x_, const RVector &y_, const RVector &z_, double pixSize=1.0)
 
void init (int w_, int h_, double f_, const RVector &pos_, const RVector &x_, const RVector &y_, const RVector &z_)
 
virtual void getRayVector (const double ix, const double iy, RVector &rayStart, RVector &rayDir) const =0
 
virtual void getPixelCoords (const RVector &p, double &ix, double &iy) const =0
 
RVector getPos () const
 
RVector getUp () const
 
RVector getViewDir () const
 
int getImageWidth () const
 
int getImageHeight () const
 
double getAspect () const
 
virtual double getFoVy () const
 
double getPixelSize ()
 

Protected Attributes

int w
 
int h
 
RVector pos
 
RVector x
 
RVector y
 
RVector z
 
double pixelSize
 

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