ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
GenericIndexedCloudPersist.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_bind.h>
10 
12 
13 namespace py = pybind11;
14 using namespace pybind11::literals;
15 
16 void define_GenericIndexedCloudPersist(py::module &cccorelib)
17 {
18  py::class_<cloudViewer::GenericIndexedCloudPersist, cloudViewer::GenericIndexedCloud>(
19  cccorelib, "GenericIndexedCloudPersist")
20  .def("getPointPersistentPtr",
22  "index"_a,
23  py::return_value_policy::reference);
24 }
void define_GenericIndexedCloudPersist(py::module &cccorelib)
virtual const CCVector3 * getPointPersistentPtr(unsigned index)=0
Returns the ith point as a persistent pointer.