VTK  9.3.0
vtkmSlice.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
14 #ifndef vtkmSlice_h
15 #define vtkmSlice_h
16 
17 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
18 #include "vtkCutter.h"
19 #include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
20 
21 VTK_ABI_NAMESPACE_BEGIN
22 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmSlice : public vtkCutter
23 {
24 public:
25  vtkTypeMacro(vtkmSlice, vtkCutter);
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27  static vtkmSlice* New();
28 
29 protected:
36 
38  ~vtkmSlice() override;
39 
41 
42 private:
43  vtkmSlice(const vtkmSlice&) = delete;
44  void operator=(const vtkmSlice&) = delete;
45  vtkmInitializer Initializer;
46 };
47 
48 VTK_ABI_NAMESPACE_END
49 #endif // vtkmSlice_h
Cut vtkDataSet with user-specified implicit function.
Definition: vtkCutter.h:70
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate
Definition: vtkmSlice.h:23
~vtkmSlice() override
bool CanProcessInput(vtkDataSet *input)
Check if the input dataset is supported by this filter.
static vtkmSlice * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.