VTK  9.7.1
vtkmContour.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
22 #ifndef vtkmContour_h
23 #define vtkmContour_h
24 
25 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
26 #include "vtkContourFilter.h"
27 #include "vtkmAlgorithm.h" // For vtkmAlgorithm
28 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
29 
30 #ifndef __VTK_WRAP__
31 #define vtkContourFilter vtkmAlgorithm<vtkContourFilter>
32 #endif
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmContour : public vtkContourFilter
36 {
37 public:
38  vtkTypeMacro(vtkmContour, vtkContourFilter);
39 #ifndef __VTK_WRAP__
40 #undef vtkContourFilter
41 #endif
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43  static vtkmContour* New();
44 
45 protected:
51  bool CanProcessInput(vtkDataSet* input);
52 
53  vtkmContour();
54  ~vtkmContour() override;
55 
57 
58 private:
59  vtkmContour(const vtkmContour&) = delete;
60  void operator=(const vtkmContour&) = delete;
61  vtkmInitializer Initializer;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif // vtkmContour_h
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:56
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkContourFilter * New()
Construct object with initial range (0,1) and single contour value of 0.0.
generate isosurface(s) from volume
Definition: vtkmContour.h:35
generate isosurfaces/isolines from scalar values
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.