#include <simplecamera.h>
Public Member Functions | |
SimpleCamera (int, int) | |
void | setVPWindow (float, float, float, float) |
void | setResolution (int, int) |
int & | xResolution () |
int & | yResolution () |
float & | xmin () |
float & | xmax () |
float & | ymin () |
float & | ymax () |
float & | zcop () |
Ray | ray (int, int) const |
Private Attributes | |
float | Xmin |
float | Xmax |
float | Ymin |
float | Ymax |
float | Width |
float | Height |
float | Wo2 |
float | Ho2 |
int | Nx |
int | Ny |
float | Zcop |
Friends | |
ostream & | operator<< (ostream &, SimpleCamera) |
istream & | operator>> (istream &, SimpleCamera &) |
SimpleCamera::SimpleCamera | ( | int | , | |
int | ||||
) |
void SimpleCamera::setVPWindow | ( | float | , | |
float | , | |||
float | , | |||
float | ||||
) |
void SimpleCamera::setResolution | ( | int | , | |
int | ||||
) |
int& SimpleCamera::xResolution | ( | ) | [inline] |
int& SimpleCamera::yResolution | ( | ) | [inline] |
float& SimpleCamera::xmin | ( | ) | [inline] |
float& SimpleCamera::xmax | ( | ) | [inline] |
float& SimpleCamera::ymin | ( | ) | [inline] |
float& SimpleCamera::ymax | ( | ) | [inline] |
float& SimpleCamera::zcop | ( | ) | [inline] |
Ray SimpleCamera::ray | ( | int | , | |
int | ||||
) | const |
ostream& operator<< | ( | ostream & | s, | |
SimpleCamera | camera | |||
) | [friend] |
istream& operator>> | ( | istream & | s, | |
SimpleCamera & | camera | |||
) | [friend] |
float SimpleCamera::Xmin [private] |
float SimpleCamera::Xmax [private] |
float SimpleCamera::Ymin [private] |
float SimpleCamera::Ymax [private] |
float SimpleCamera::Width [private] |
float SimpleCamera::Height [private] |
float SimpleCamera::Wo2 [private] |
float SimpleCamera::Ho2 [private] |
int SimpleCamera::Nx [private] |
int SimpleCamera::Ny [private] |
float SimpleCamera::Zcop [private] |