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 
25 {
26 public:
27  static vtkIsoVolume* New();
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.
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 
64 
65 private:
66  vtkIsoVolume(const vtkIsoVolume&) = delete;
67  void operator=(const vtkIsoVolume&) = delete;
68 };
69 
70 #endif // vtkIsoVolume_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
double UpperThreshold
Definition: vtkIsoVolume.h:63
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
double LowerThreshold
Definition: vtkIsoVolume.h:62
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This filter extract cells using lower / upper threshold set and vtkPVClipDataSet filter.
Definition: vtkIsoVolume.h:24
void operator=(const vtkObjectBase &)
Clip filter.