vtkPVContourFilter.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
25 #ifndef vtkPVContourFilter_h
26 #define vtkPVContourFilter_h
27 
28 #include "vtkContourFilter.h"
29 #include "vtkHyperTreeGridContour.h" // for vtkHyperTreeGridContour
30 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" // needed for exports
31 
32 class VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT vtkPVContourFilter : public vtkContourFilter
33 {
34 public:
36 
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39  static vtkPVContourFilter* New();
40 
42 
52  vtkGetMacro(HTGStrategy3D, int);
53  vtkSetClampMacro(HTGStrategy3D, int, vtkHyperTreeGridContour::USE_VOXELS,
54  vtkHyperTreeGridContour::USE_DECOMPOSED_POLYHEDRA);
56 
57 protected:
59  ~vtkPVContourFilter() override;
60 
61  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
62  vtkInformationVector* outputVector) override;
63 
64  int FillInputPortInformation(int port, vtkInformation* info) override;
65 
70  int ContourUsingSuperclass(vtkInformation* request, vtkInformationVector** inputVector,
71  vtkInformationVector* outputVector);
72 
81  void CleanOutputScalars(vtkDataArray* outScalars);
82 
83 private:
84  vtkPVContourFilter(const vtkPVContourFilter&) = delete;
85  void operator=(const vtkPVContourFilter&) = delete;
86 
87  // Strategy used to represent HTG dual cells in 3D
88  int HTGStrategy3D = vtkHyperTreeGridContour::USE_VOXELS;
89 };
90 
91 #endif // vtkPVContourFilter_h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkContourFilter::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkDataArray
vtkContourFilter.h
vtkIndent
vtkPVContourFilter
generate isosurfaces/isolines from scalar values
Definition: vtkPVContourFilter.h:32
vtkInformation
vtkContourFilter::New
static vtkContourFilter * New()
vtkContourFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkContourFilter
vtkContourFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)