ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ccGenericPointCloud.cpp
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #include <pybind11/pybind11.h>
9 #include <pybind11/stl.h>
10 #include <pybind11/stl_bind.h>
11 
12 #include <ecvGenericPointCloud.h>
13 
14 namespace py = pybind11;
15 using namespace pybind11::literals;
16 
17 void define_ccGenericPointCloud(py::module &m)
18 {
19  py::class_<ccGenericPointCloud, ccShiftedObject, cloudViewer::GenericIndexedCloudPersist>(
20  m, "ccGenericPointCloud")
21  .def("clone",
23  "desttClous"_a = nullptr,
24  "ignoreChildren"_a = false)
25  .def("clear", &ccGenericPointCloud::clear);
26 }
void define_ccGenericPointCloud(py::module &m)
virtual ccGenericPointCloud * clone(ccGenericPointCloud *destCloud=nullptr, bool ignoreChildren=false)=0
Clones this entity.
virtual void clear()
Clears the entity from all its points and features.