Open3D (C++ API)
|
A utility class to store picked points of a pointcloud. More...
#include <PointCloudPicker.h>
Public Member Functions | |
PointCloudPicker () | |
~PointCloudPicker () override | |
PointCloudPicker & | Clear () override |
bool | IsEmpty () const override |
Eigen::Vector3d | GetMinBound () const final |
Eigen::Vector3d | GetMaxBound () const final |
Eigen::Vector3d | GetCenter () const final |
geometry::AxisAlignedBoundingBox | GetAxisAlignedBoundingBox () const final |
geometry::OrientedBoundingBox | GetOrientedBoundingBox () const final |
PointCloudPicker & | Transform (const Eigen::Matrix4d &transformation) override |
PointCloudPicker & | Translate (const Eigen::Vector3d &translation, bool relative=true) override |
PointCloudPicker & | Scale (const double scale, bool center=true) override |
PointCloudPicker & | Rotate (const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ) override |
bool | SetPointCloud (std::shared_ptr< const geometry::Geometry > ptr) |
![]() | |
~Geometry3D () override | |
![]() | |
virtual | ~Geometry () |
GeometryType | GetGeometryType () const |
int | Dimension () const |
Data Fields | |
std::shared_ptr< const geometry::Geometry > | pointcloud_ptr_ |
std::vector< size_t > | picked_indices_ |
Additional Inherited Members | |
![]() | |
enum | RotationType { RotationType::XYZ, RotationType::YZX, RotationType::ZXY, RotationType::XZY, RotationType::ZYX, RotationType::YXZ, RotationType::AxisAngle } |
![]() | |
enum | GeometryType { GeometryType::Unspecified = 0, GeometryType::PointCloud = 1, GeometryType::VoxelGrid = 2, GeometryType::Octree = 3, GeometryType::LineSet = 4, GeometryType::TriangleMesh = 5, GeometryType::HalfEdgeTriangleMesh = 6, GeometryType::Image = 7, GeometryType::RGBDImage = 8, GeometryType::TetraMesh = 9, GeometryType::OrientedBoundingBox = 10, GeometryType::AxisAlignedBoundingBox = 11 } |
![]() | |
Geometry3D (GeometryType type) | |
Eigen::Vector3d | ComputeMinBound (const std::vector< Eigen::Vector3d > &points) const |
Eigen::Vector3d | ComputeMaxBound (const std::vector< Eigen::Vector3d > &points) const |
Eigen::Vector3d | ComputeCenter (const std::vector< Eigen::Vector3d > &points) const |
void | ResizeAndPaintUniformColor (std::vector< Eigen::Vector3d > &colors, const size_t size, const Eigen::Vector3d &color) const |
void | TransformPoints (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &points) const |
void | TransformNormals (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &normals) const |
void | TranslatePoints (const Eigen::Vector3d &translation, std::vector< Eigen::Vector3d > &points, bool relative) const |
void | ScalePoints (const double scale, std::vector< Eigen::Vector3d > &points, bool center) const |
void | RotatePoints (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &points, bool center, RotationType type) const |
void | RotateNormals (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &normals, bool center, RotationType type) const |
Eigen::Matrix3d | GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const |
![]() | |
Geometry (GeometryType type, int dimension) | |
A utility class to store picked points of a pointcloud.
|
inline |
|
inlineoverride |
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
|
finalvirtual |
Implements open3d::geometry::Geometry3D.
|
finalvirtual |
Implements open3d::geometry::Geometry3D.
|
finalvirtual |
Implements open3d::geometry::Geometry3D.
|
finalvirtual |
Implements open3d::geometry::Geometry3D.
|
finalvirtual |
Implements open3d::geometry::Geometry3D.
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
bool open3d::visualization::PointCloudPicker::SetPointCloud | ( | std::shared_ptr< const geometry::Geometry > | ptr | ) |
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
|
overridevirtual |
Implements open3d::geometry::Geometry3D.
std::vector<size_t> open3d::visualization::PointCloudPicker::picked_indices_ |
std::shared_ptr<const geometry::Geometry> open3d::visualization::PointCloudPicker::pointcloud_ptr_ |