VTK  9.1.0
vtkmThreshold.h
Go to the documentation of this file.
1//=============================================================================
2//
3// Copyright (c) Kitware, Inc.
4// All rights reserved.
5// See LICENSE.txt for details.
6//
7// This software is distributed WITHOUT ANY WARRANTY; without even
8// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9// PURPOSE. See the above copyright notice for more information.
10//
11// Copyright 2012 Sandia Corporation.
12// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13// the U.S. Government retains certain rights in this software.
14//
15//=============================================================================
31#ifndef vtkmThreshold_h
32#define vtkmThreshold_h
33
34#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
35#include "vtkThreshold.h"
36
37class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmThreshold : public vtkThreshold
38{
39public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
43 static vtkmThreshold* New();
44
46
52 vtkGetMacro(ForceVTKm, vtkTypeBool);
53 vtkSetMacro(ForceVTKm, vtkTypeBool);
54 vtkBooleanMacro(ForceVTKm, vtkTypeBool);
56
57protected:
59 ~vtkmThreshold() override;
60
62
63 vtkTypeBool ForceVTKm = false;
64
65private:
66 vtkmThreshold(const vtkmThreshold&) = delete;
67 void operator=(const vtkmThreshold&) = delete;
68};
69
70#endif // vtkmThreshold_h
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkThreshold.h:166
extracts cells where scalar value in cell satisfies threshold criterion
Definition: vtkmThreshold.h:38
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkmThreshold * New()
~vtkmThreshold() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int vtkTypeBool
Definition: vtkABI.h:69