VTK
9.1.0
Accelerators
Vtkm
Filters
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
39
class
VTKACCELERATORSVTKMFILTERS_EXPORT
vtkmGradient
:
public
vtkGradientFilter
40
{
41
public
:
42
vtkTypeMacro(
vtkmGradient
,
vtkGradientFilter
);
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
58
protected
:
59
vtkmGradient
();
60
~vtkmGradient
()
override
;
61
62
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
63
64
vtkTypeBool
ForceVTKm =
false
;
65
66
private
:
67
vtkmGradient
(
const
vtkmGradient
&) =
delete
;
68
void
operator=(
const
vtkmGradient
&) =
delete
;
69
};
70
71
#endif // vtkmGradient_h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkGradientFilter.h
vtkmGradient::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkmGradient::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkmGradient
A general filter for gradient estimation.
Definition:
vtkmGradient.h:40
vtkGradientFilter
A general filter for gradient estimation.
Definition:
vtkGradientFilter.h:72
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkmGradient::~vtkmGradient
~vtkmGradient() override
vtkmGradient::New
static vtkmGradient * New()
vtkmGradient::vtkmGradient
vtkmGradient()
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Fri Nov 5 2021 00:10:31 for VTK by
1.8.20