00001 00002 // bcal_camera_node.h: interface for the bcal_camera_node class. 00003 // 00004 ////////////////////////////////////////////////////////////////////// 00005 00006 #ifndef AFX_CAMERANODE_H__72E24F49_51C3_4792_A5E8_A670182B472F__INCLUDED_ 00007 #define AFX_CAMERANODE_H__72E24F49_51C3_4792_A5E8_A670182B472F__INCLUDED_ 00008 00009 #if defined(_MSC_VER) && ( _MSC_VER > 1000 ) 00010 #pragma once 00011 #endif // _MSC_VER > 1000 00012 00013 #include <vcl_vector.h> 00014 #include <vcsl/vcsl_spatial.h> 00015 #include <vnl/vnl_double_3x3.h> 00016 class bcal_camera; 00017 00018 class bcal_camera_node : public vcsl_spatial 00019 { 00020 protected: 00021 bcal_camera* cam_; 00022 int num_views_; 00023 public: 00024 bcal_camera_node(int id=0); 00025 virtual ~bcal_camera_node(); 00026 00027 virtual void set_beat(vcl_vector<double> const & new_beat); 00028 vnl_double_3x3 get_intrinsic() const; 00029 void set_intrinsic(vnl_double_3x3 k); 00030 int get_id() const; 00031 int num_views() { return num_views_; } 00032 }; 00033 00034 #endif // AFX_CAMERANODE_H__72E24F49_51C3_4792_A5E8_A670182B472F__INCLUDED_
1.5.1