|
Berkeley SfM
|
#include <view.h>
Public Types | |
| typedef std::shared_ptr< View > | Ptr |
| typedef std::shared_ptr< const View > | ConstPtr |
Public Member Functions | |
| ~View () | |
| void | SetCamera (const ::bsfm::Camera &camera) |
| ::bsfm::Camera & | MutableCamera () |
| const ::bsfm::Camera & | Camera () const |
| ViewIndex | Index () const |
| const std::vector< Observation::Ptr > & | Observations () const |
| bool | HasObservedLandmark (LandmarkIndex landmark_index) const |
| void | UpdateObservedLandmarks () |
| const std::unordered_set< LandmarkIndex > & | ObservedLandmarks () const |
Static Public Member Functions | |
| static View::Ptr | Create (const ::bsfm::Camera &camera) |
| static View::Ptr | GetView (ViewIndex view_index) |
| static ViewIndex | NumExistingViews () |
| static bool | IsValidView (ViewIndex view_index) |
| static void | ResetViews () |
| static bool | SortByIndex (const View::Ptr &lhs, const View::Ptr &rhs) |
Private Member Functions | |
| View (const ::bsfm::Camera &camera) | |
| void | AddObservation (const Observation::Ptr &observation) |
Static Private Member Functions | |
| static ViewIndex | NextViewIndex () |
Private Attributes | |
| ::bsfm::Camera | camera_ |
| ViewIndex | view_index_ |
| std::vector< Observation::Ptr > | observations_ |
| std::unordered_set< LandmarkIndex > | landmarks_ |
Static Private Attributes | |
| static std::unordered_map< ViewIndex, View::Ptr > | view_registry_ |
| static ViewIndex | current_view_index_ = 0 |
Friends | |
| class | Observation |
| typedef std::shared_ptr<const View> bsfm::View::ConstPtr |
| typedef std::shared_ptr<View> bsfm::View::Ptr |
|
private |
|
private |
| const ::bsfm::Camera & bsfm::View::Camera | ( | ) | const |
|
static |
Definition at line 51 of file view.cpp.
Definition at line 60 of file view.cpp.
| bool bsfm::View::HasObservedLandmark | ( | LandmarkIndex | landmark_index | ) | const |
| bsfm::Camera & bsfm::View::MutableCamera | ( | ) |
|
static |
Definition at line 72 of file view.cpp.
| const std::vector< Observation::Ptr > & bsfm::View::Observations | ( | ) | const |
| const std::unordered_set< LandmarkIndex > & bsfm::View::ObservedLandmarks | ( | ) | const |
|
static |
Definition at line 83 of file view.cpp.
| void bsfm::View::SetCamera | ( | const ::bsfm::Camera & | camera | ) |
|
friend |
|
private |
|
private |
|
private |
1.8.10