vtkIsoVolume.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkIsoVolume.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkIsoVolume_h
27 #define vtkIsoVolume_h
28 
29 #include "vtkDataObjectAlgorithm.h"
30 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
31 
32 // Forware declarations.
33 class vtkPVClipDataSet;
34 
36 {
37 public:
38  static vtkIsoVolume* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
46  void ThresholdBetween(double lower, double upper);
47 
49 
52  vtkGetMacro(UpperThreshold, double);
53  vtkGetMacro(LowerThreshold, double);
55 
56 protected:
57  vtkIsoVolume();
58  ~vtkIsoVolume() override;
59 
60  // Usual data generation methods.
62 
67  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector) override;
69 
70  vtkDataObject* Clip(
71  vtkDataObject* input, double value, const char* array_name, int fieldAssociation, bool invert);
72 
75 
76 private:
77  vtkIsoVolume(const vtkIsoVolume&) = delete;
78  void operator=(const vtkIsoVolume&) = delete;
79 };
80 
81 #endif // vtkIsoVolume_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkDataObjectAlgorithm * New()
double UpperThreshold
Definition: vtkIsoVolume.h:74
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
double LowerThreshold
Definition: vtkIsoVolume.h:73
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This filter extract cells using lower / upper threshold set and vtkPVClipDataSet filter.
Definition: vtkIsoVolume.h:35
void operator=(const vtkObjectBase &)
Clip filter.