VTK  9.4.20241121
OMFProject.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
4#ifndef OMFProject_h
5#define OMFProject_h
6
7#include "vtkABINamespace.h"
8
9#include <memory> // for std::unique_ptr
10
11VTK_ABI_NAMESPACE_BEGIN
14VTK_ABI_NAMESPACE_END
15
16namespace omf
17{
18VTK_ABI_NAMESPACE_BEGIN
19
21{
22public:
25
31 bool CanParseFile(const char* filename, vtkDataArraySelection* selection);
32
38 bool writeOutTextures, bool columnMajorOrdering);
39
40private:
41 struct ProjectImpl;
42 std::unique_ptr<ProjectImpl> Impl;
43};
44
45VTK_ABI_NAMESPACE_END
46} // end namespace omf
47
48#endif
bool ProcessJSON(vtkPartitionedDataSetCollection *output, vtkDataArraySelection *selection, bool writeOutTextures, bool columnMajorOrdering)
This actually processes the JSON, storing the created datasets in output.
bool CanParseFile(const char *filename, vtkDataArraySelection *selection)
Checks that the file can be read.
Store on/off settings for data arrays, etc.
Composite dataset that groups datasets as a collection.