VTK: Accelerators/Vtkm/Filters/vtkmThreshold.h Source File

| VTK 9.3.1

vtkmThreshold.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
20 #ifndef vtkmThreshold_h
21 #define vtkmThreshold_h
22
23 #include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
24 #include "vtkThreshold.h"
25 #include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
26
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmThreshold : public vtkThreshold
29 {
30 public:
31 vtkTypeMacro(vtkmThreshold, vtkThreshold);
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
34 static vtkmThreshold* New();
35
37
43 vtkGetMacro(ForceVTKm, vtkTypeBool);
44 vtkSetMacro(ForceVTKm, vtkTypeBool);
45 vtkBooleanMacro(ForceVTKm, vtkTypeBool);
47
48 protected:
49 vtkmThreshold();
50 ~vtkmThreshold() override;
51
52 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
53
54 vtkTypeBool ForceVTKm = false;
55
56 private:
57 vtkmThreshold(const vtkmThreshold&) = delete;
58 void operator=(const vtkmThreshold&) = delete;
59 vtkmInitializer Initializer;
60 };
61
62 VTK_ABI_NAMESPACE_END
63 #endif // vtkmThreshold_h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkThreshold
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkThreshold.h:70
vtkmThreshold
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkmThreshold.h:29
vtkmThreshold::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkmThreshold::~vtkmThreshold
~vtkmThreshold() override
vtkmThreshold::vtkmThreshold
vtkmThreshold()
vtkmThreshold::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkmThreshold::New
static vtkmThreshold * New()
vtkmInitializer
Definition: vtkmInitializer.h:13
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:64
vtkThreshold.h
vtkmInitializer.h