src
paraview-5.12
VTKExtensions
IOGeneral
vtkVRMLSource.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkVRMLSource_h
12
#define vtkVRMLSource_h
13
14
#include "
vtkMultiBlockDataSetAlgorithm.h
"
15
#include "vtkPVVTKExtensionsIOGeneralModule.h"
//needed for exports
16
17
class
vtkMultiBlockDataSet
;
18
class
vtkVRMLImporter
;
19
20
class
VTKPVVTKEXTENSIONSIOGENERAL_EXPORT
vtkVRMLSource
:
public
vtkMultiBlockDataSetAlgorithm
21
{
22
public
:
23
vtkTypeMacro(
vtkVRMLSource
,
vtkMultiBlockDataSetAlgorithm
);
24
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
25
static
vtkVRMLSource
*
New
();
26
28
31
vtkSetStringMacro(FileName);
32
vtkGetStringMacro(FileName);
34
36
39
vtkSetMacro(Color,
int
);
40
vtkGetMacro(Color,
int
);
41
vtkBooleanMacro(Color,
int
);
43
45
49
vtkSetMacro(Append,
int
);
50
vtkGetMacro(Append,
int
);
51
vtkBooleanMacro(Append,
int
);
53
54
static
int
CanReadFile(
const
char
* filename);
55
56
protected
:
57
vtkVRMLSource
();
58
~
vtkVRMLSource
()
override
;
59
60
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
61
62
void
InitializeImporter();
63
void
CopyImporterToOutputs(
vtkMultiBlockDataSet
*);
64
65
char
*
FileName
;
66
vtkVRMLImporter
*
Importer
;
67
int
Color
;
68
int
Append
;
69
70
private
:
71
vtkVRMLSource
(
const
vtkVRMLSource
&) =
delete
;
72
void
operator=
(
const
vtkVRMLSource
&) =
delete
;
73
};
74
75
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkVRMLSource::FileName
char * FileName
Definition:
vtkVRMLSource.h:65
vtkVRMLSource::Append
int Append
Definition:
vtkVRMLSource.h:68
vtkInformationVector
vtkMultiBlockDataSetAlgorithm::New
static vtkMultiBlockDataSetAlgorithm * New()
vtkMultiBlockDataSet
vtkVRMLSource::Importer
vtkVRMLImporter * Importer
Definition:
vtkVRMLSource.h:66
vtkMultiBlockDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIndent
vtkMultiBlockDataSetAlgorithm.h
vtkVRMLSource
Converts importer to a source.
Definition:
vtkVRMLSource.h:20
vtkInformation
vtkVRMLSource::Color
int Color
Definition:
vtkVRMLSource.h:67
vtkVRMLImporter
vtkMultiBlockDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkMultiBlockDataSetAlgorithm
Generated by
1.8.17 on Wed Mar 27 2024