VTK  9.3.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 "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmContour : public vtkContourFilter
31 {
32 public:
33  vtkTypeMacro(vtkmContour, vtkContourFilter);
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35  static vtkmContour* New();
36 
37 protected:
43  bool CanProcessInput(vtkDataSet* input);
44 
45  vtkmContour();
46  ~vtkmContour() override;
47 
49 
50 private:
51  vtkmContour(const vtkmContour&) = delete;
52  void operator=(const vtkmContour&) = delete;
53  vtkmInitializer Initializer;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif // vtkmContour_h
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:52
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:30
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.