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

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 630 of file triangulation.h.

Member Enumeration Documentation

◆ Status

Enumerator
VALID 
DEGENERATE 
BEHIND_CAMERA 
OUTLIER 
FAR_POINT 

Definition at line 632 of file triangulation.h.

Constructor & Destructor Documentation

◆ TriangulationResult() [1/3]

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

Definition at line 636 of file triangulation.h.

◆ TriangulationResult() [2/3]

gtsam::TriangulationResult::TriangulationResult ( )
inline

Default constructor, only for serialization

Definition at line 642 of file triangulation.h.

◆ TriangulationResult() [3/3]

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

Constructor

Definition at line 647 of file triangulation.h.

Member Function Documentation

◆ BehindCamera()

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

Definition at line 655 of file triangulation.h.

◆ behindCamera()

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

Definition at line 662 of file triangulation.h.

◆ Degenerate()

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

Definition at line 648 of file triangulation.h.

◆ degenerate()

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

Definition at line 659 of file triangulation.h.

◆ FarPoint()

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

Definition at line 652 of file triangulation.h.

◆ farPoint()

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

Definition at line 661 of file triangulation.h.

◆ get()

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

Definition at line 663 of file triangulation.h.

◆ Outlier()

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

Definition at line 651 of file triangulation.h.

◆ outlier()

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

Definition at line 660 of file triangulation.h.

◆ valid()

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

Definition at line 658 of file triangulation.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 668 of file triangulation.h.

Member Data Documentation

◆ status

Status gtsam::TriangulationResult::status

Definition at line 633 of file triangulation.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:15