Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Friends | List of all members
gtsam::TriangulationResult Class Reference

#include <triangulation.h>

Inheritance diagram for gtsam::TriangulationResult:
Inheritance graph
[legend]

Public Types

enum  Status {
  VALID, DEGENERATE, BEHIND_CAMERA, OUTLIER,
  FAR_POINT
}
 

Public Member Functions

bool behindCamera () const
 
bool degenerate () const
 
bool farPoint () const
 
const gtsam::Point3get () const
 
bool outlier () const
 
 TriangulationResult ()
 
 TriangulationResult (const Point3 &p)
 
bool valid () const
 

Static Public Member Functions

static TriangulationResult BehindCamera ()
 
static TriangulationResult Degenerate ()
 
static TriangulationResult FarPoint ()
 
static TriangulationResult Outlier ()
 

Public Attributes

Status status
 

Private Member Functions

 TriangulationResult (Status s)
 

Friends

GTSAM_EXPORT friend std::ostream & operator<< (std::ostream &os, const TriangulationResult &result)
 

Detailed Description

TriangulationResult is an optional point, along with the reasons why it is invalid.

Definition at line 642 of file triangulation.h.

Member Enumeration Documentation

◆ Status

Enumerator
VALID 
DEGENERATE 
BEHIND_CAMERA 
OUTLIER 
FAR_POINT 

Definition at line 644 of file triangulation.h.

Constructor & Destructor Documentation

◆ TriangulationResult() [1/3]

gtsam::TriangulationResult::TriangulationResult ( Status  s)
inlineprivate

Definition at line 648 of file triangulation.h.

◆ TriangulationResult() [2/3]

gtsam::TriangulationResult::TriangulationResult ( )
inline

Default constructor, only for serialization

Definition at line 654 of file triangulation.h.

◆ TriangulationResult() [3/3]

gtsam::TriangulationResult::TriangulationResult ( const Point3 p)
inline

Constructor

Definition at line 659 of file triangulation.h.

Member Function Documentation

◆ BehindCamera()

static TriangulationResult gtsam::TriangulationResult::BehindCamera ( )
inlinestatic

Definition at line 667 of file triangulation.h.

◆ behindCamera()

bool gtsam::TriangulationResult::behindCamera ( ) const
inline

Definition at line 674 of file triangulation.h.

◆ Degenerate()

static TriangulationResult gtsam::TriangulationResult::Degenerate ( )
inlinestatic

Definition at line 660 of file triangulation.h.

◆ degenerate()

bool gtsam::TriangulationResult::degenerate ( ) const
inline

Definition at line 671 of file triangulation.h.

◆ FarPoint()

static TriangulationResult gtsam::TriangulationResult::FarPoint ( )
inlinestatic

Definition at line 664 of file triangulation.h.

◆ farPoint()

bool gtsam::TriangulationResult::farPoint ( ) const
inline

Definition at line 673 of file triangulation.h.

◆ get()

const gtsam::Point3& gtsam::TriangulationResult::get ( ) const
inline

Definition at line 675 of file triangulation.h.

◆ Outlier()

static TriangulationResult gtsam::TriangulationResult::Outlier ( )
inlinestatic

Definition at line 663 of file triangulation.h.

◆ outlier()

bool gtsam::TriangulationResult::outlier ( ) const
inline

Definition at line 672 of file triangulation.h.

◆ valid()

bool gtsam::TriangulationResult::valid ( ) const
inline

Definition at line 670 of file triangulation.h.

Friends And Related Function Documentation

◆ operator<<

GTSAM_EXPORT friend std::ostream& operator<< ( std::ostream &  os,
const TriangulationResult result 
)
friend

Definition at line 680 of file triangulation.h.

Member Data Documentation

◆ status

Status gtsam::TriangulationResult::status

Definition at line 645 of file triangulation.h.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:24:49