ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
GenericIndexedCloudPersist.h
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 #pragma once
9 
10 // Local
11 #include "GenericIndexedCloud.h"
12 
13 namespace cloudViewer {
14 
16 
19  : virtual public GenericIndexedCloud {
20 public:
22  ~GenericIndexedCloudPersist() override = default;
23 
25 
31  virtual const CCVector3* getPointPersistentPtr(unsigned index) = 0;
32 };
33 
34 } // namespace cloudViewer
#define CV_CORE_LIB_API
Definition: CVCoreLibWin.h:15
A generic 3D point cloud with index-based and presistent access to points.
~GenericIndexedCloudPersist() override=default
Default destructor.
virtual const CCVector3 * getPointPersistentPtr(unsigned index)=0
Returns the ith point as a persistent pointer.
A generic 3D point cloud with index-based point access.
Generic file read and write utility for python interface.