VTK  9.1.0
vtkmGradient.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//=============================================================================
33#ifndef vtkmGradient_h
34#define vtkmGradient_h
35
36#include "vtkAcceleratorsVTKmFiltersModule.h" //required for correct implementation
37#include "vtkGradientFilter.h"
38
39class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmGradient : public vtkGradientFilter
40{
41public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44 static vtkmGradient* New();
45
47
53 vtkGetMacro(ForceVTKm, vtkTypeBool);
54 vtkSetMacro(ForceVTKm, vtkTypeBool);
55 vtkBooleanMacro(ForceVTKm, vtkTypeBool);
57
58protected:
60 ~vtkmGradient() override;
61
63
64 vtkTypeBool ForceVTKm = false;
65
66private:
67 vtkmGradient(const vtkmGradient&) = delete;
68 void operator=(const vtkmGradient&) = delete;
69};
70
71#endif // vtkmGradient_h
A general filter for gradient estimation.
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
A general filter for gradient estimation.
Definition: vtkmGradient.h:40
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkmGradient() override
static vtkmGradient * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
int vtkTypeBool
Definition: vtkABI.h:69