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
11
#include <
GenericIndexedCloudPersist.h
>
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"
,
21
&
cloudViewer::GenericIndexedCloudPersist::getPointPersistentPtr
,
22
"index"
_a,
23
py::return_value_policy::reference);
24
}
define_GenericIndexedCloudPersist
void define_GenericIndexedCloudPersist(py::module &cccorelib)
Definition:
GenericIndexedCloudPersist.cpp:16
GenericIndexedCloudPersist.h
cloudViewer::GenericIndexedCloudPersist::getPointPersistentPtr
virtual const CCVector3 * getPointPersistentPtr(unsigned index)=0
Returns the ith point as a persistent pointer.
pybind11
Definition:
cloudViewer_pybind.h:95
plugins
core
Standard
qPythonRuntime
wrapper
cccorelib
src
GenericIndexedCloudPersist.cpp
Generated on Wed Jan 28 2026 09:01:08 for ACloudViewer by
1.9.1