vtkPVContourFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkContourFilter.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 =========================================================================*/
43 #ifndef vtkPVContourFilter_h
44 #define vtkPVContourFilter_h
45 
46 #include "vtkContourFilter.h"
47 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" //needed for exports
48 
50 {
51 public:
53 
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
56  static vtkPVContourFilter* New();
57 
59 
60 protected:
62  ~vtkPVContourFilter() override;
63 
64  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
65  vtkInformationVector* outputVector) override;
66 
67  virtual int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector);
69 
70  int FillInputPortInformation(int port, vtkInformation* info) override;
71  int FillOutputPortInformation(int port, vtkInformation* info) override;
72 
77  int ContourUsingSuperclass(vtkInformation* request, vtkInformationVector** inputVector,
78  vtkInformationVector* outputVector);
79 
88  void CleanOutputScalars(vtkDataArray* outScalars);
89 
90 private:
91  vtkPVContourFilter(const vtkPVContourFilter&) = delete;
92  void operator=(const vtkPVContourFilter&) = delete;
93 };
94 
95 #endif // vtkPVContourFilter_h
virtual int FillOutputPortInformation(int port, vtkInformation *info)
generate isosurfaces/isolines from scalar values
static vtkContourFilter * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
void operator=(const vtkObjectBase &)