ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
RDBFilter.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 // ##########################################################################
11 // # #
12 // # ACloudViewer PLUGIN: qRDBIO #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: RIEGL Laser Measurement Systems GmbH #
24 // # #
25 // ##########################################################################
26 
27 #include <FileIOFilter.h>
28 
29 class RDBFilter : public FileIOFilter {
30 public:
31  RDBFilter();
32 
33  // inherited from FileIOFilter
34  CC_FILE_ERROR loadFile(const QString &fileName,
35  ccHObject &container,
36  LoadParameters &parameters) override;
37 
39  bool &multiple,
40  bool &exclusive) const override;
41 };
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
char type
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
Generic file I/O filter.
Definition: FileIOFilter.h:46
bool canSave(CV_CLASS_ENUM type, bool &multiple, bool &exclusive) const override
Returns whether this I/O filter can save the specified type of entity.
Definition: RDBFilter.cpp:562
CC_FILE_ERROR loadFile(const QString &fileName, ccHObject &container, LoadParameters &parameters) override
Loads one or more entities from a file.
Definition: RDBFilter.cpp:220
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Generic loading parameters.
Definition: FileIOFilter.h:51