23 namespace visualization {
50 std::shared_ptr<ccPointCloud> CropPointCloudInPolygon(
52 std::shared_ptr<ccMesh> CropTriangleMeshInPolygon(
53 const ccMesh &input)
const;
55 const std::vector<Eigen::Vector3d> &input)
const;
57 const std::vector<CCVector3> &input)
const;
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Select a polygon volume for cropping.
std::vector< Eigen::Vector3d > bounding_polygon_
Bounding polygon boundary.
double axis_min_
Minimum axis value.
double axis_max_
Maximum axis value.
std::string orthogonal_axis_
One of {x, y, z}.
~SelectionPolygonVolume() override
bool ConvertToJsonValue(Json::Value &value) const override
std::vector< size_t > CropInPolygon(const ccPointCloud &input) const
bool ConvertFromJsonValue(const Json::Value &value) override
std::shared_ptr< ccPointCloud > CropPointCloud(const ccPointCloud &input) const
std::shared_ptr< ccMesh > CropTriangleMesh(const ccMesh &input) const
Generic file read and write utility for python interface.