VTK  9.1.0
OMFProject.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: OMFProject.h
5  Language: C++
6 
7  Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
8  All rights reserved.
9  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
10 
11  This software is distributed WITHOUT ANY WARRANTY; without even
12  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13  PURPOSE. See the above copyright notice for more information.
14 
15 =========================================================================*/
16 
17 #ifndef OMFProject_h
18 #define OMFProject_h
19 
20 #include <memory> // for std::unique_ptr
21 
24 
25 namespace omf
26 {
27 
29 {
30 public:
33 
39  bool CanParseFile(const char* filename, vtkDataArraySelection* selection);
40 
46  bool writeOutTextures, bool columnMajorOrdering);
47 
48 private:
49  struct ProjectImpl;
50  std::unique_ptr<ProjectImpl> Impl;
51 };
52 
53 } // end namespace omf
54 
55 #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 for a vtkSource.
Composite dataset that groups datasets as a collection.
Definition: OMFElement.h:31