|
Berkeley SfM
|
#include <point_3d.h>
Public Types | |
| typedef std::shared_ptr< Point3D > | Ptr |
| typedef std::shared_ptr< const Point3D > | ConstPtr |
Public Member Functions | |
| Point3D () | |
| Point3D (double x, double y, double z) | |
| Point3D (const Point3D &in) | |
| Point3D (const Vector3d &in) | |
| ~Point3D () | |
| void | SetX (double x) |
| void | SetY (double x) |
| void | SetZ (double x) |
| void | Set (double x, double y, double z) |
| void | Set (const Point3D &in) |
| void | Set (const Vector3d &in) |
| double & | operator() (int index) |
| const double & | operator() (int index) const |
| double | X () const |
| double | Y () const |
| double | Z () const |
| Vector3d & | Get () |
| const Vector3d & | Get () const |
| void | Print (const std::string &prefix=std::string()) const |
| void | Normalize () |
| Point3D | Normalized () const |
| double | Dot (const Point3D &other) const |
Private Attributes | |
| Vector3d | data_ |
Definition at line 56 of file point_3d.h.
| typedef std::shared_ptr<const Point3D> bsfm::Point3D::ConstPtr |
Definition at line 59 of file point_3d.h.
| typedef std::shared_ptr<Point3D> bsfm::Point3D::Ptr |
Definition at line 58 of file point_3d.h.
| bsfm::Point3D::Point3D | ( | ) |
Definition at line 45 of file point_3d.cpp.
| bsfm::Point3D::Point3D | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Definition at line 48 of file point_3d.cpp.
| bsfm::Point3D::Point3D | ( | const Point3D & | in | ) |
Definition at line 52 of file point_3d.cpp.
| bsfm::Point3D::Point3D | ( | const Vector3d & | in | ) |
Definition at line 55 of file point_3d.cpp.
| bsfm::Point3D::~Point3D | ( | ) |
Definition at line 58 of file point_3d.cpp.
| double bsfm::Point3D::Dot | ( | const Point3D & | other | ) | const |
Definition at line 126 of file point_3d.cpp.
| Vector3d & bsfm::Point3D::Get | ( | ) |
Definition at line 98 of file point_3d.cpp.
| const Vector3d & bsfm::Point3D::Get | ( | ) | const |
Definition at line 102 of file point_3d.cpp.
| void bsfm::Point3D::Normalize | ( | ) |
Definition at line 116 of file point_3d.cpp.
| Point3D bsfm::Point3D::Normalized | ( | ) | const |
Definition at line 120 of file point_3d.cpp.
| double & bsfm::Point3D::operator() | ( | int | index | ) |
Definition at line 82 of file point_3d.cpp.
| const double & bsfm::Point3D::operator() | ( | int | index | ) | const |
Definition at line 87 of file point_3d.cpp.
| void bsfm::Point3D::Print | ( | const std::string & | prefix = std::string() | ) | const |
Definition at line 107 of file point_3d.cpp.
| void bsfm::Point3D::Set | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Definition at line 67 of file point_3d.cpp.
| void bsfm::Point3D::Set | ( | const Point3D & | in | ) |
Definition at line 73 of file point_3d.cpp.
| void bsfm::Point3D::Set | ( | const Vector3d & | in | ) |
Definition at line 77 of file point_3d.cpp.
| void bsfm::Point3D::SetX | ( | double | x | ) |
Definition at line 61 of file point_3d.cpp.
| void bsfm::Point3D::SetY | ( | double | x | ) |
Definition at line 63 of file point_3d.cpp.
| void bsfm::Point3D::SetZ | ( | double | x | ) |
Definition at line 65 of file point_3d.cpp.
| double bsfm::Point3D::X | ( | ) | const |
Definition at line 92 of file point_3d.cpp.
| double bsfm::Point3D::Y | ( | ) | const |
Definition at line 94 of file point_3d.cpp.
| double bsfm::Point3D::Z | ( | ) | const |
Definition at line 96 of file point_3d.cpp.
|
private |
Definition at line 96 of file point_3d.h.
1.8.10