VTK
9.4.20241121
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
IO
OMF
core
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
12
class
vtkDataArraySelection
;
13
class
vtkPartitionedDataSetCollection
;
14
VTK_ABI_NAMESPACE_END
15
16
namespace
omf
17
{
18
VTK_ABI_NAMESPACE_BEGIN
19
20
class
OMFProject
21
{
22
public
:
23
OMFProject
();
24
~OMFProject
();
25
31
bool
CanParseFile
(
const
char
* filename,
vtkDataArraySelection
* selection);
32
37
bool
ProcessJSON
(
vtkPartitionedDataSetCollection
* output,
vtkDataArraySelection
* selection,
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
omf::OMFProject
Definition
OMFProject.h:21
omf::OMFProject::~OMFProject
~OMFProject()
omf::OMFProject::OMFProject
OMFProject()
omf::OMFProject::ProcessJSON
bool ProcessJSON(vtkPartitionedDataSetCollection *output, vtkDataArraySelection *selection, bool writeOutTextures, bool columnMajorOrdering)
This actually processes the JSON, storing the created datasets in output.
omf::OMFProject::CanParseFile
bool CanParseFile(const char *filename, vtkDataArraySelection *selection)
Checks that the file can be read.
vtkDataArraySelection
Store on/off settings for data arrays, etc.
Definition
vtkDataArraySelection.h:37
vtkPartitionedDataSetCollection
Composite dataset that groups datasets as a collection.
Definition
vtkPartitionedDataSetCollection.h:32
omf
Definition
OMFElement.h:20
Generated on Thu Nov 21 2024 09:18:00 for VTK by
1.9.7