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

Public Member Functions

 PinholeCamera (int w_, int h_, double f_, const RVector &pos_, const RVector &x_, const RVector &y_, const RVector &z_, double pixSize=1.0)
 
void getRayVector (const double ix, const double iy, RVector &rayStart, RVector &rayDir) const
 
void getPixelCoords (const RVector &p, double &ix, double &iy) const
 
double getFoVy () const
 
- Public Member Functions inherited from Camera
 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_)
 
RVector getPos () const
 
RVector getUp () const
 
RVector getViewDir () const
 
int getImageWidth () const
 
int getImageHeight () const
 
double getAspect () const
 
double getPixelSize ()
 

Protected Attributes

double f
 
- Protected Attributes inherited from Camera
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: