|
Berkeley SfM
|
#include <landmark.h>
Public Types | |
| typedef std::shared_ptr< Landmark > | Ptr |
| typedef std::shared_ptr< const Landmark > | ConstPtr |
Public Member Functions | |
| ~Landmark () | |
| LandmarkIndex | Index () const |
| void | SetPosition (const Point3D &position) |
| void | SetDescriptor (const ::bsfm::Descriptor &descriptor) |
| void | ClearObservations () |
| const Point3D & | Position () const |
| const ::bsfm::Descriptor & | Descriptor () const |
| const std::vector< Observation::Ptr > & | Observations () const |
| double * | PositionData () |
| bool | IncorporateObservation (const Observation::Ptr &observation, bool retriangulate=true) |
| std::shared_ptr< View > | SourceView () const |
| bool | SeenByAtLeastTwoViews (const std::vector< ViewIndex > &view_indices) |
Static Public Member Functions | |
| static Landmark::Ptr | Create () |
| static Landmark::Ptr | GetLandmark (LandmarkIndex landmark_index) |
| static LandmarkIndex | NumExistingLandmarks () |
| static bool | IsValidLandmark (LandmarkIndex landmark_index) |
| static void | ResetLandmarks () |
Private Member Functions | |
| Landmark () | |
Static Private Member Functions | |
| static LandmarkIndex | NextLandmarkIndex () |
Private Attributes | |
| Point3D | position_ |
| LandmarkIndex | landmark_index_ |
| std::vector< Observation::Ptr > | observations_ |
| ::bsfm::Descriptor | descriptor_ |
Static Private Attributes | |
| static std::unordered_map< LandmarkIndex, Landmark::Ptr > | landmark_registry_ |
| static LandmarkIndex | current_landmark_index_ = 0 |
Definition at line 64 of file landmark.h.
| typedef std::shared_ptr<const Landmark> bsfm::Landmark::ConstPtr |
Definition at line 67 of file landmark.h.
| typedef std::shared_ptr<Landmark> bsfm::Landmark::Ptr |
Definition at line 66 of file landmark.h.
|
inline |
Definition at line 74 of file landmark.h.
|
private |
Definition at line 222 of file landmark.cpp.
| void bsfm::Landmark::ClearObservations | ( | ) |
Definition at line 104 of file landmark.cpp.
|
static |
Definition at line 50 of file landmark.cpp.
| const ::bsfm::Descriptor & bsfm::Landmark::Descriptor | ( | ) | const |
Definition at line 114 of file landmark.cpp.
|
static |
Definition at line 59 of file landmark.cpp.
| bool bsfm::Landmark::IncorporateObservation | ( | const Observation::Ptr & | observation, |
| bool | retriangulate = true |
||
| ) |
Definition at line 132 of file landmark.cpp.
| LandmarkIndex bsfm::Landmark::Index | ( | ) | const |
Definition at line 89 of file landmark.cpp.
|
static |
Definition at line 77 of file landmark.cpp.
|
staticprivate |
Definition at line 227 of file landmark.cpp.
|
static |
Definition at line 71 of file landmark.cpp.
| const std::vector< Observation::Ptr > & bsfm::Landmark::Observations | ( | ) | const |
Definition at line 119 of file landmark.cpp.
| const Point3D & bsfm::Landmark::Position | ( | ) | const |
Definition at line 109 of file landmark.cpp.
| double * bsfm::Landmark::PositionData | ( | ) |
Definition at line 126 of file landmark.cpp.
|
static |
Definition at line 83 of file landmark.cpp.
| bool bsfm::Landmark::SeenByAtLeastTwoViews | ( | const std::vector< ViewIndex > & | view_indices | ) |
Definition at line 198 of file landmark.cpp.
| void bsfm::Landmark::SetDescriptor | ( | const ::bsfm::Descriptor & | descriptor | ) |
Definition at line 99 of file landmark.cpp.
| void bsfm::Landmark::SetPosition | ( | const Point3D & | position | ) |
Definition at line 94 of file landmark.cpp.
| View::Ptr bsfm::Landmark::SourceView | ( | ) | const |
Definition at line 186 of file landmark.cpp.
|
staticprivate |
Definition at line 157 of file landmark.h.
|
private |
Definition at line 154 of file landmark.h.
|
private |
Definition at line 142 of file landmark.h.
|
staticprivate |
Definition at line 146 of file landmark.h.
|
private |
Definition at line 150 of file landmark.h.
|
private |
Definition at line 139 of file landmark.h.
1.8.10