Changeset 2629 for GTP/trunk/Lib/Vis/Preprocessing/src/Camera.h
- Timestamp:
- 01/23/08 00:21:50 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/Camera.h
r2575 r2629 4 4 #include "Vector3.h" 5 5 #include "AxisAlignedBox3.h" 6 #include "ktbconf.h" 6 7 7 8 namespace GtpVisibilityPreprocessor { … … 31 32 } 32 33 33 Camera(int width, int height ) {34 Camera(int width, int height, float fieldOfView = 90.f) { 34 35 mWidth = width; 35 36 mHeight = height; 36 mFovy = 90.0f*(float)M_PI/180.0f;37 mFovy = fieldOfView*(float)M_PI/180.0f; 37 38 } 38 39 39 40 40 void Precompute() { … … 87 87 88 88 bool 89 SnapImage2(std::string filename, 90 RayCaster *raycaster, 91 AxisAlignedBox3 &bbox, 92 SceneGraph *sceneGraph 93 ); 94 95 bool 89 96 SnapImagePacket(std::string filename, 90 97 RayCaster *raycaster, … … 92 99 SceneGraph *sceneGraph 93 100 ); 94 101 102 bool 103 SnapImagePacket2(std::string filename, 104 RayCaster *raycaster, 105 AxisAlignedBox3 &bbox, 106 SceneGraph *sceneGraph 107 ); 108 95 109 void SetupRay(Ray &ray, const int x, const int y); 96 110
Note: See TracChangeset
for help on using the changeset viewer.