Open3D (C++ API)
0.11.0
|
Select a polygon volume for cropping. More...
#include <SelectionPolygonVolume.h>
Public Member Functions | |
~SelectionPolygonVolume () override | |
bool | ConvertToJsonValue (Json::Value &value) const override |
bool | ConvertFromJsonValue (const Json::Value &value) override |
std::shared_ptr< geometry::PointCloud > | CropPointCloud (const geometry::PointCloud &input) const |
std::shared_ptr< geometry::TriangleMesh > | CropTriangleMesh (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) |
Select a polygon volume for cropping.
|
inlineoverride |
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
|
overridevirtual |
Implements open3d::utility::IJsonConvertible.
std::shared_ptr< geometry::PointCloud > open3d::visualization::SelectionPolygonVolume::CropPointCloud | ( | const geometry::PointCloud & | input | ) | const |
Function to crop point cloud.
input | The input point cloud. |
std::shared_ptr< geometry::TriangleMesh > open3d::visualization::SelectionPolygonVolume::CropTriangleMesh | ( | const geometry::TriangleMesh & | input | ) | const |
Function to crop crop triangle mesh.
input | The input triangle mesh. |
double open3d::visualization::SelectionPolygonVolume::axis_max_ = 0.0 |
Maximum axis value.
double open3d::visualization::SelectionPolygonVolume::axis_min_ = 0.0 |
Minimum axis value.
std::vector<Eigen::Vector3d> open3d::visualization::SelectionPolygonVolume::bounding_polygon_ |
Bounding polygon boundary.
std::string open3d::visualization::SelectionPolygonVolume::orthogonal_axis_ = "" |
One of {x, y, z}
.