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

Select a polygon volume for cropping. More...

#include <SelectionPolygonVolume.h>

Inheritance diagram for open3d::visualization::SelectionPolygonVolume:
open3d::utility::IJsonConvertible

Public Member Functions

 ~SelectionPolygonVolume () override
 
bool ConvertToJsonValue (Json::Value &value) const override
 
bool ConvertFromJsonValue (const Json::Value &value) override
 
std::shared_ptr< geometry::PointCloudCropPointCloud (const geometry::PointCloud &input) const
 
std::shared_ptr< geometry::TriangleMeshCropTriangleMesh (const geometry::TriangleMesh &input) const
 
std::vector< size_t > CropInPolygon (const geometry::PointCloud &input) const
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 
virtual std::string ToString () const
 Convert to a styled string representation of JSON data for display. More...
 

Data Fields

std::string orthogonal_axis_ = ""
 One of {x, y, z}. More...
 
std::vector< Eigen::Vector3d > bounding_polygon_
 Bounding polygon boundary. More...
 
double axis_min_ = 0.0
 Minimum axis value. More...
 
double axis_max_ = 0.0
 Maximum axis value. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from open3d::utility::IJsonConvertible
static bool EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value)
 
static bool EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value)
 
static bool EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value)
 
static bool EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value)
 
static bool EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value)
 
static bool EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value)
 
static bool EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value)
 
static bool EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value)
 
static bool EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value)
 
static bool EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value)
 

Detailed Description

Select a polygon volume for cropping.

Constructor & Destructor Documentation

◆ ~SelectionPolygonVolume()

open3d::visualization::SelectionPolygonVolume::~SelectionPolygonVolume ( )
inlineoverride

Member Function Documentation

◆ ConvertFromJsonValue()

bool open3d::visualization::SelectionPolygonVolume::ConvertFromJsonValue ( const Json::Value &  value)
overridevirtual

◆ ConvertToJsonValue()

bool open3d::visualization::SelectionPolygonVolume::ConvertToJsonValue ( Json::Value &  value) const
overridevirtual

◆ CropInPolygon()

std::vector< size_t > open3d::visualization::SelectionPolygonVolume::CropInPolygon ( const geometry::PointCloud input) const

Function to crop point cloud with polygon boundaries

Parameters
inputThe input point Cloud.

◆ CropPointCloud()

std::shared_ptr< geometry::PointCloud > open3d::visualization::SelectionPolygonVolume::CropPointCloud ( const geometry::PointCloud input) const

Function to crop point cloud.

Parameters
inputThe input point cloud.

◆ CropTriangleMesh()

std::shared_ptr< geometry::TriangleMesh > open3d::visualization::SelectionPolygonVolume::CropTriangleMesh ( const geometry::TriangleMesh input) const

Function to crop crop triangle mesh.

Parameters
inputThe input triangle mesh.

Field Documentation

◆ axis_max_

double open3d::visualization::SelectionPolygonVolume::axis_max_ = 0.0

Maximum axis value.

◆ axis_min_

double open3d::visualization::SelectionPolygonVolume::axis_min_ = 0.0

Minimum axis value.

◆ bounding_polygon_

std::vector<Eigen::Vector3d> open3d::visualization::SelectionPolygonVolume::bounding_polygon_

Bounding polygon boundary.

◆ orthogonal_axis_

std::string open3d::visualization::SelectionPolygonVolume::orthogonal_axis_ = ""

One of {x, y, z}.


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