src
paraview-5.12
VTKExtensions
FiltersRendering
vtkVolumeRepresentationPreprocessor.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
19
#ifndef vtkVolumeRepresentationPreprocessor_h
20
#define vtkVolumeRepresentationPreprocessor_h
21
22
#include "
vtkNew.h
"
// for vtkNew
23
#include "vtkPVVTKExtensionsFiltersRenderingModule.h"
// needed for export macro
24
#include "
vtkSmartPointer.h
"
// for vtkSmartPointer
25
#include "
vtkUnstructuredGridAlgorithm.h
"
26
27
class
vtkCompositeDataSet
;
28
class
vtkExtractBlockUsingDataAssembly;
29
30
class
VTKPVVTKEXTENSIONSFILTERSRENDERING_EXPORT
vtkVolumeRepresentationPreprocessor
31
:
public
vtkUnstructuredGridAlgorithm
32
{
33
public
:
34
static
vtkVolumeRepresentationPreprocessor
*
New
();
35
vtkTypeMacro(
vtkVolumeRepresentationPreprocessor
,
vtkUnstructuredGridAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
43
vtkSetMacro(TetrahedraOnly,
int
);
44
vtkGetMacro(TetrahedraOnly,
int
);
46
48
52
bool
AddSelector(
const
char
* selector);
53
void
SetSelector(
const
char
* selector);
54
void
ClearSelectors();
55
void
SetAssemblyName(
const
char
*);
57
58
protected
:
59
vtkVolumeRepresentationPreprocessor
();
60
~
vtkVolumeRepresentationPreprocessor
()
override
;
61
62
vtkSmartPointer<vtkUnstructuredGrid>
Tetrahedralize(
vtkDataObject
*);
63
vtkSmartPointer<vtkDataSet>
ExtractDataSet(
vtkCompositeDataSet
*);
64
65
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
66
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
67
68
int
TetrahedraOnly
;
69
70
private
:
71
vtkVolumeRepresentationPreprocessor
(
const
vtkVolumeRepresentationPreprocessor
&) =
delete
;
72
void
operator=
(
const
vtkVolumeRepresentationPreprocessor
&) =
delete
;
73
74
vtkNew<vtkExtractBlockUsingDataAssembly>
Extractor;
75
};
76
77
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkSmartPointer< vtkUnstructuredGrid >
vtkCompositeDataSet
vtkVolumeRepresentationPreprocessor::TetrahedraOnly
int TetrahedraOnly
Definition:
vtkVolumeRepresentationPreprocessor.h:68
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
vtkUnstructuredGridAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkSmartPointer.h
vtkNew< vtkExtractBlockUsingDataAssembly >
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkInformation
vtkNew.h
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
vtkDataObject
vtkVolumeRepresentationPreprocessor
prepare data object for volume rendering
Definition:
vtkVolumeRepresentationPreprocessor.h:30
Generated by
1.8.17 on Wed Mar 27 2024