VTK
9.1.0
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
/*=========================================================================
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
22
class
vtkDataArraySelection
;
23
class
vtkPartitionedDataSetCollection
;
24
25
namespace
omf
26
{
27
28
class
OMFProject
29
{
30
public
:
31
OMFProject
();
32
~OMFProject
();
33
39
bool
CanParseFile
(
const
char
* filename,
vtkDataArraySelection
* selection);
40
45
bool
ProcessJSON
(
vtkPartitionedDataSetCollection
* output,
vtkDataArraySelection
* selection,
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
omf::OMFProject
Definition:
OMFProject.h:29
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 for a vtkSource.
Definition:
vtkDataArraySelection.h:35
vtkPartitionedDataSetCollection
Composite dataset that groups datasets as a collection.
Definition:
vtkPartitionedDataSetCollection.h:38
omf
Definition:
OMFElement.h:31
Generated on Fri Apr 21 2023 10:28:58 for VTK by
1.9.6