src
paraview-5.12
VTKExtensions
FiltersGeneral
vtkIsoVolume.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
15
#ifndef vtkIsoVolume_h
16
#define vtkIsoVolume_h
17
18
#include "
vtkDataObjectAlgorithm.h
"
19
#include "vtkPVVTKExtensionsFiltersGeneralModule.h"
//needed for exports
20
21
// Forware declarations.
22
class
vtkPVClipDataSet
;
23
24
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkIsoVolume
:
public
vtkDataObjectAlgorithm
25
{
26
public
:
27
static
vtkIsoVolume
*
New
();
28
vtkTypeMacro(
vtkIsoVolume
,
vtkDataObjectAlgorithm
);
29
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
30
35
void
ThresholdBetween(
double
lower,
double
upper);
36
38
41
vtkGetMacro(UpperThreshold,
double
);
42
vtkGetMacro(LowerThreshold,
double
);
44
45
protected
:
46
vtkIsoVolume
();
47
~
vtkIsoVolume
()
override
;
48
49
// Usual data generation methods.
50
int
RequestData
(
vtkInformation
* request,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
51
56
int
RequestDataObject
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
57
vtkInformationVector
* outputVector)
override
;
58
59
vtkDataObject
* Clip(
60
vtkDataObject
* input,
double
value,
const
char
* array_name,
int
fieldAssociation,
bool
invert);
61
62
double
LowerThreshold
;
63
double
UpperThreshold
;
64
65
private
:
66
vtkIsoVolume
(
const
vtkIsoVolume
&) =
delete
;
67
void
operator=
(
const
vtkIsoVolume
&) =
delete
;
68
};
69
70
#endif // vtkIsoVolume_h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkIsoVolume::LowerThreshold
double LowerThreshold
Definition:
vtkIsoVolume.h:62
vtkInformationVector
vtkIsoVolume
This filter extract cells using lower / upper threshold set and vtkPVClipDataSet filter.
Definition:
vtkIsoVolume.h:24
vtkDataObjectAlgorithm
vtkDataObjectAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkIndent
vtkInformation
vtkIsoVolume::UpperThreshold
double UpperThreshold
Definition:
vtkIsoVolume.h:63
vtkPVClipDataSet
Clip filter.
Definition:
vtkPVClipDataSet.h:18
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObjectAlgorithm.h
vtkDataObjectAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObject
Generated by
1.8.17 on Wed Mar 27 2024