|
#include <StvFile.h>
Collaboration diagram for StvFile:
Public Methods | |
StvFile (const char *filename, Viewpoint &photo) | |
Constructor. | |
double | calculateWidthOverHeight () const |
Get the aspect ratio. | |
Vertex | calculateLookatPoint () const |
Get a lookat point. More... | |
ColVector3 | calculateUpVector () const |
Get a vector which indicates the "up" direction. | |
double | calculateVerticalFOV () const |
Get the vertical field of view, in degrees. | |
Vertex | getCenterOfProjection () const |
Get the center of projection, which is the position that the camera would be at if it were a pinhole camera. | |
void | print () const |
prints some info to the debugging window. |
An STV file gives information on intrinsic and extrinsic camera parameters.
Definition at line 26 of file StvFile.h.
|
Get a lookat point.
Definition at line 144 of file StvFile.cpp. |