Ignore:
Timestamp:
01/23/08 00:21:50 (16 years ago)
Author:
bittner
Message:

commit after merge with vlastimil

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Camera.h

    r2575 r2629  
    44#include "Vector3.h" 
    55#include "AxisAlignedBox3.h" 
     6#include "ktbconf.h" 
    67 
    78namespace GtpVisibilityPreprocessor { 
     
    3132  } 
    3233 
    33   Camera(int width, int height) { 
     34  Camera(int width, int height, float fieldOfView = 90.f) { 
    3435    mWidth = width; 
    3536    mHeight = height; 
    36     mFovy = 90.0f*(float)M_PI/180.0f; 
     37    mFovy = fieldOfView*(float)M_PI/180.0f; 
    3738  } 
    38  
    3939   
    4040  void Precompute() { 
     
    8787 
    8888  bool 
     89  SnapImage2(std::string filename, 
     90             RayCaster *raycaster, 
     91             AxisAlignedBox3 &bbox, 
     92             SceneGraph *sceneGraph 
     93             ); 
     94   
     95  bool 
    8996  SnapImagePacket(std::string filename, 
    9097                  RayCaster *raycaster, 
     
    9299                  SceneGraph *sceneGraph 
    93100                  ); 
    94    
     101 
     102  bool 
     103  SnapImagePacket2(std::string filename, 
     104                  RayCaster *raycaster, 
     105                  AxisAlignedBox3 &bbox, 
     106                  SceneGraph *sceneGraph 
     107                  ); 
     108 
    95109  void SetupRay(Ray &ray, const int x, const int y); 
    96110 
Note: See TracChangeset for help on using the changeset viewer.