Open3D (C++ API)  0.11.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
 
- Public Member Functions inherited from open3d::utility::IJsonConvertible
virtual ~IJsonConvertible ()
 

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

◆ 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: