Open3D (C++ API)
Public Member Functions | Data Fields
open3d::visualization::PointCloudPicker Class Reference

A utility class to store picked points of a pointcloud. More...

#include <PointCloudPicker.h>

Inheritance diagram for open3d::visualization::PointCloudPicker:
open3d::geometry::Geometry3D open3d::geometry::Geometry

Public Member Functions

 PointCloudPicker ()
 
 ~PointCloudPicker () override
 
void Clear () override
 
bool IsEmpty () const override
 
Eigen::Vector3d GetMinBound () const final
 
Eigen::Vector3d GetMaxBound () const final
 
PointCloudPickerTransform (const Eigen::Matrix4d &transformation) override
 
PointCloudPickerTranslate (const Eigen::Vector3d &translation) override
 
PointCloudPickerScale (const double scale, bool center=true) override
 
PointCloudPickerRotate (const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ) override
 
bool SetPointCloud (std::shared_ptr< const geometry::Geometry > ptr)
 
- Public Member Functions inherited from open3d::geometry::Geometry3D
 ~Geometry3D () override
 
- Public Member Functions inherited from open3d::geometry::Geometry
virtual ~Geometry ()
 
GeometryType GetGeometryType () const
 
int Dimension () const
 

Data Fields

std::shared_ptr< const geometry::Geometrypointcloud_ptr_
 
std::vector< size_t > picked_indices_
 

Additional Inherited Members

- Public Types inherited from open3d::geometry::Geometry3D
enum  RotationType {
  RotationType::XYZ, RotationType::YZX, RotationType::ZXY, RotationType::XZY,
  RotationType::ZYX, RotationType::YXZ, RotationType::AxisAngle
}
 
- Public Types inherited from open3d::geometry::Geometry
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
}
 
- Protected Member Functions inherited from open3d::geometry::Geometry3D
 Geometry3D (GeometryType type)
 
Eigen::Matrix3d GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const
 
- Protected Member Functions inherited from open3d::geometry::Geometry
 Geometry (GeometryType type, int dimension)
 

Detailed Description

A utility class to store picked points of a pointcloud.

Constructor & Destructor Documentation

◆ PointCloudPicker()

open3d::visualization::PointCloudPicker::PointCloudPicker ( )
inline

◆ ~PointCloudPicker()

open3d::visualization::PointCloudPicker::~PointCloudPicker ( )
inlineoverride

Member Function Documentation

◆ Clear()

void open3d::visualization::PointCloudPicker::Clear ( )
overridevirtual

◆ GetMaxBound()

Eigen::Vector3d open3d::visualization::PointCloudPicker::GetMaxBound ( ) const
finalvirtual

◆ GetMinBound()

Eigen::Vector3d open3d::visualization::PointCloudPicker::GetMinBound ( ) const
finalvirtual

◆ IsEmpty()

bool open3d::visualization::PointCloudPicker::IsEmpty ( ) const
overridevirtual

◆ Rotate()

PointCloudPicker & open3d::visualization::PointCloudPicker::Rotate ( const Eigen::Vector3d &  rotation,
bool  center = true,
RotationType  type = RotationType::XYZ 
)
overridevirtual

◆ Scale()

PointCloudPicker & open3d::visualization::PointCloudPicker::Scale ( const double  scale,
bool  center = true 
)
overridevirtual

◆ SetPointCloud()

bool open3d::visualization::PointCloudPicker::SetPointCloud ( std::shared_ptr< const geometry::Geometry ptr)

◆ Transform()

PointCloudPicker & open3d::visualization::PointCloudPicker::Transform ( const Eigen::Matrix4d &  transformation)
overridevirtual

◆ Translate()

PointCloudPicker & open3d::visualization::PointCloudPicker::Translate ( const Eigen::Vector3d &  translation)
overridevirtual

Field Documentation

◆ picked_indices_

std::vector<size_t> open3d::visualization::PointCloudPicker::picked_indices_

◆ pointcloud_ptr_

std::shared_ptr<const geometry::Geometry> open3d::visualization::PointCloudPicker::pointcloud_ptr_

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