ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
E57Filter.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 // qCC_IO
11 #include <FileIOFilter.h>
12 
14 class E57Filter : public FileIOFilter {
15 public:
16  E57Filter();
17 
18  // inherited from FileIOFilter
19  CC_FILE_ERROR loadFile(const QString& filename,
20  ccHObject& container,
21  LoadParameters& parameters) override;
22 
24  bool& multiple,
25  bool& exclusive) const override;
27  const QString& filename,
28  const SaveParameters& parameters) override;
29 };
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
std::string filename
char type
CC_FILE_ERROR
Typical I/O filter errors.
Definition: FileIOFilter.h:20
E57 filter (relies on E57format lib)
Definition: E57Filter.h:14
CC_FILE_ERROR loadFile(const QString &filename, ccHObject &container, LoadParameters &parameters) override
Loads one or more entities from a file.
Definition: E57Filter.cpp:2302
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: E57Filter.cpp:89
CC_FILE_ERROR saveToFile(ccHObject *entity, const QString &filename, const SaveParameters &parameters) override
Saves an entity (or a group of) to a file.
Definition: E57Filter.cpp:718
Generic file I/O filter.
Definition: FileIOFilter.h:46
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Generic loading parameters.
Definition: FileIOFilter.h:51
Generic saving parameters.
Definition: FileIOFilter.h:84