ParaView
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 "vtkPVVTKExtensionsDefaultModule.h" //needed for exports
31 
32 // Forware declarations.
33 class vtkPVClipDataSet;
34 
35 class VTKPVVTKEXTENSIONSDEFAULT_EXPORT vtkIsoVolume : public vtkDataObjectAlgorithm
36 {
37 public:
38  static vtkIsoVolume* New();
39  vtkTypeMacro(vtkIsoVolume, vtkDataObjectAlgorithm);
40  void PrintSelf(ostream& os, vtkIndent indent);
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();
59 
60  // Usual data generation methods.
61  virtual int RequestData(vtkInformation* request, vtkInformationVector**, vtkInformationVector*);
62 
67  virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector);
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&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkIsoVolume&) VTK_DELETE_FUNCTION;
79 };
80 
81 #endif // vtkIsoVolume_h
double UpperThreshold
Definition: vtkIsoVolume.h:74
double LowerThreshold
Definition: vtkIsoVolume.h:73
This filter extract cells using lower / upper threshold set and vtkPVClipDataSet filter.
Definition: vtkIsoVolume.h:35
Clip filter.