VTK  9.3.1
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 
11 VTK_ABI_NAMESPACE_BEGIN
14 VTK_ABI_NAMESPACE_END
15 
16 namespace omf
17 {
18 VTK_ABI_NAMESPACE_BEGIN
19 
21 {
22 public:
23  OMFProject();
24  ~OMFProject();
25 
31  bool CanParseFile(const char* filename, vtkDataArraySelection* selection);
32 
38  bool writeOutTextures, bool columnMajorOrdering);
39 
40 private:
41  struct ProjectImpl;
42  std::unique_ptr<ProjectImpl> Impl;
43 };
44 
45 VTK_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.
Definition: OMFElement.h:19
Composite dataset that groups datasets as a collection.