VTK  9.5.20251105
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 "vtkmAlgorithm.h" // For vtkmAlgorithm
20#include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
21
22#ifndef __VTK_WRAP__
23#define vtkCutter vtkmAlgorithm<vtkCutter>
24#endif
25
26VTK_ABI_NAMESPACE_BEGIN
27class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmSlice : public vtkCutter
28{
29public:
30 vtkTypeMacro(vtkmSlice, vtkCutter);
31#ifndef __VTK_WRAP__
32#undef vtkCutter
33#endif
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35 static vtkmSlice* New();
36
37protected:
44
46 ~vtkmSlice() override;
47
49
50private:
51 vtkmSlice(const vtkmSlice&) = delete;
52 void operator=(const vtkmSlice&) = delete;
53 vtkmInitializer Initializer;
54};
55
56VTK_ABI_NAMESPACE_END
57#endif // vtkmSlice_h
Cut vtkDataSet with user-specified implicit function.
Definition vtkCutter.h:161
abstract class to specify dataset behavior
Definition vtkDataSet.h:166
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
generate
Definition vtkmSlice.h:28
~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.