|
| | SfMData (const SfMData &other, bool unused) |
| | Copy constructor. More...
|
| |
|
| SfMData (const SfMData &other, const Eigen::Vector3d &bbMin, const Eigen::Vector3d &bbMax) |
| | Copy constructor Use a bounding box to restrict the copied landmarks to the selected region.
|
| |
|
bool | operator== (const SfMData &other) const |
| |
|
bool | operator!= (const SfMData &other) const |
| |
| const Views & | getViews () const |
| | Get views. More...
|
| |
|
Views & | getViews () |
| |
| const ImageInfos & | getAncestors () const |
| | Get ancestors. More...
|
| |
|
ImageInfos & | getAncestors () |
| |
| const Poses & | getPoses () const |
| | Get poses. More...
|
| |
|
Poses & | getPoses () |
| |
| const Rigs & | getRigs () const |
| | Get rigs. More...
|
| |
|
Rigs & | getRigs () |
| |
| const Intrinsics & | getIntrinsics () const |
| | Get intrinsics. More...
|
| |
|
Intrinsics & | getIntrinsics () |
| |
| const Landmarks & | getLandmarks () const |
| | Get landmarks. More...
|
| |
|
Landmarks & | getLandmarks () |
| |
| const Constraints2D & | getConstraints2D () const |
| | Get Constraints2D. More...
|
| |
|
Constraints2D & | getConstraints2D () |
| |
| const ConstraintsPoint & | getConstraintsPoint () const |
| | Get ConstraintsPoints. More...
|
| |
|
ConstraintsPoint & | getConstraintsPoint () |
| |
| const SurveyPoints & | getSurveyPoints () const |
| | Get SurveyPoints. More...
|
| |
|
SurveyPoints & | getSurveyPoints () |
| |
| const RotationPriors & | getRotationPriors () const |
| | Get RotationPriors. More...
|
| |
|
RotationPriors & | getRotationPriors () |
| |
| const ImageGroups & | getImageGroups () const |
| | Get ImageGroups. More...
|
| |
|
ImageGroups & | getImageGroups () |
| |
| const std::vector< std::string > & | getRelativeFeaturesFolders () const |
| | Get relative features folder paths. More...
|
| |
| const std::vector< std::string > & | getRelativeMatchesFolders () const |
| | Get relative matches folder paths. More...
|
| |
| std::vector< std::string > | getFeaturesFolders () const |
| | Get absolute features folder paths. More...
|
| |
| std::vector< std::string > | getMatchesFolders () const |
| | Get absolute matches folder paths. More...
|
| |
| std::set< IndexT > | getValidViews () const |
| | List the view indexes that have valid camera intrinsic and pose. More...
|
| |
| std::set< IndexT > | getReconstructedIntrinsics () const |
| | List the intrinsic indexes that have valid camera intrinsic and pose. More...
|
| |
| const camera::IntrinsicBase * | getIntrinsicPtr (IndexT intrinsicId) const |
| | Return a pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| camera::IntrinsicBase * | getIntrinsicPtr (IndexT intrinsicId) |
| | Return a pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| std::shared_ptr< camera::IntrinsicBase > | getIntrinsicSharedPtr (IndexT intrinsicId) |
| | Return a shared pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| std::shared_ptr< camera::IntrinsicBase > | getIntrinsicSharedPtr (const View &v) |
| | Return a shared pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| const std::shared_ptr< camera::IntrinsicBase > | getIntrinsicSharedPtr (IndexT intrinsicId) const |
| | Return a shared pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| const std::shared_ptr< camera::IntrinsicBase > | getIntrinsicSharedPtr (const View &v) const |
| | Return a shared pointer to an intrinsic if available or nullptr otherwise. More...
|
| |
| const camera::IntrinsicBase & | getIntrinsic (IndexT intrinsicId) const |
| | Gives the intrinsic of the input intrinsic id. More...
|
| |
| camera::IntrinsicBase & | getIntrinsic (IndexT intrinsicId) |
| | Gives the intrinsic of the input intrinsic id. More...
|
| |
| std::set< IndexT > | getViewsKeys () const |
| | Get a set of views keys. More...
|
| |
| bool | isIntrinsicDefined (const View &view) const |
| | Check if the given view has defined intrinsic and pose. More...
|
| |
| bool | isIntrinsicDefined (IndexT viewId) const |
| | Check if the given view has defined intrinsic and pose. More...
|
| |
| bool | isPoseDefined (const View &view) const |
| | Check if the given view has a valid pose. More...
|
| |
| bool | isPoseDefined (IndexT viewId) const |
| | Check if the given view has a defined pose. More...
|
| |
| bool | isPoseAndIntrinsicDefined (const View &view) const |
| | Check if the given view has defined intrinsic. More...
|
| |
| bool | isPoseAndIntrinsicDefined (const View *view) const |
| | Check if the given view has defined intrinsic. More...
|
| |
| bool | isPoseAndIntrinsicDefined (IndexT viewId) const |
| | Check if the given view has defined intrinsic and pose. More...
|
| |
| bool | existsPose (const View &view) const |
| | Check if the given view has an existing pose. More...
|
| |
| const View & | getView (IndexT viewId) const |
| | Gives the view of the input view id. More...
|
| |
| View & | getView (IndexT viewId) |
| | Gives the view of the input view id. More...
|
| |
| const View::ptr | getViewPtr (IndexT viewId) const |
| | Gives the view of the input view id. More...
|
| |
| View::ptr | getViewPtr (IndexT viewId) |
| | Gives the view of the input view id. More...
|
| |
| View::sptr | getViewSharedPtr (IndexT viewId) |
| | Gives the view of the input view id. More...
|
| |
| const View::sptr | getViewSharedPtr (IndexT viewId) const |
| | Gives the view of the input view id. More...
|
| |
| IndexT | findView (const std::string &imageName) const |
| | Retrieve the view id in the sfmData from the image filename. More...
|
| |
| CameraPose | getPose (const View &view) const |
| | Gives the pose of the input view. If this view is part of a rig, it returns rigPose + rigSubPose. More...
|
| |
| const CameraPose & | getAbsolutePose (IndexT poseId) const |
| | Gives the pose with the given pose id. More...
|
| |
| CameraPose & | getAbsolutePose (IndexT poseId) |
| | Gives the pose with the given pose id. More...
|
| |
| const Rig & | getRig (const View &view) const |
| | Get the rig of the given view. More...
|
| |
|
std::set< feature::EImageDescriberType > | getLandmarkDescTypes () const |
| |
|
std::map< feature::EImageDescriberType, int > | getLandmarkDescTypesUsages () const |
| |
| ExposureSetting | getMedianCameraExposureSetting () const |
| | Get the median Camera Exposure Setting. More...
|
| |
| void | addFeaturesFolder (const std::string &folder) |
| | Add the given folder to features folders. More...
|
| |
| void | addFeaturesFolders (const std::vector< std::string > &folders) |
| | Add the given folders to features folders. More...
|
| |
| void | addMatchesFolder (const std::string &folder) |
| | Add the given folder to matches folders. More...
|
| |
| void | addMatchesFolders (const std::vector< std::string > &folders) |
| | Add the given folders to matches folders. More...
|
| |
| void | setFeaturesFolders (const std::vector< std::string > &folders) |
| | Replace the current features folders by the given ones. More...
|
| |
| void | setMatchesFolders (const std::vector< std::string > &folders) |
| | Replace the current matches folders by the given ones. More...
|
| |
| void | setAbsolutePath (const std::string &path) |
| | Set the SfMData file absolute path. More...
|
| |
| void | setPose (const View &view, const CameraPose &pose) |
| | Set the given pose for the given view if the view is part of a rig, this method update rig pose/sub-pose. More...
|
| |
| void | setAbsolutePose (IndexT poseId, const CameraPose &pose) |
| | Set the given pose for the given poseId. More...
|
| |
| void | erasePose (IndexT poseId, bool noThrow=false) |
| | Erase the pose for the given poseId. More...
|
| |
|
void | resetRigs () |
| | Reset rigs sub-poses parameters.
|
| |
| void | addAncestor (IndexT ancestorId, std::shared_ptr< ImageInfo > image) |
| | Add an ancestor image. More...
|
| |
| void | combine (const SfMData &sfmData) |
| | Insert data from the given sfmData if possible. note: This operation doesn't override existing data. More...
|
| |
|
void | clear () |
| | Remove everything in this sfmData.
|
| |
|
void | removeUnusedImageGroups () |
| | Remove image groups which are unused.
|
| |
|
void | removeUnusedIntrinsics () |
| | Remove intrinsics which are unused.
|
| |
|
void | removeUnusedCameraPoses () |
| | Remove poses which are unused.
|
| |
|
void | removeInvalidObservations () |
| | Remove observations pointing to invalid views.
|
| |
|
void | removeUnusedLandmarks () |
| | Remove landmarks without any observations.
|
| |
|
void | repair () |
| | repair the sfmData by removing everything that is unused or invalid
|
| |
| void | resetParameterStates () |
| |
| void | getBoundingBox (Eigen::Vector3d &bbMin, Eigen::Vector3d &bbMax) |
| |
| bool | isFullyReconstructed () const |
| |
SfMData container Store structure and camera properties.