32#ifndef vtkHyperTreeGridGradient_h
33#define vtkHyperTreeGridGradient_h
35#include "vtkFiltersHyperTreeModule.h"
60 vtkSetMacro(ResultArrayName, std::string);
61 vtkGetMacro(ResultArrayName, std::string);
76 template <
class Worker>
81 std::string ResultArrayName =
"Gradient";
dynamic, self-adjusting array of bits
general representation of visualization data
dynamic, self-adjusting array of double
Superclass for algorithms that produce a hyper tree grid as output.
Compute the gradient of a scalar field on a Hyper Tree Grid.
vtkHyperTreeGridGradient()
vtkSmartPointer< vtkDataArray > InScalars
Keep track of selected input scalars.
int ProcessTrees(vtkHyperTreeGrid *, vtkDataObject *) override
Main routine to generate gradient of hyper tree grid.
static vtkHyperTreeGridGradient * New()
vtkNew< vtkDoubleArray > OutGradient
Computed gradient.
void RecursivelyProcessTree(vtkHyperTreeGridNonOrientedMooreSuperCursor *, Worker &)
Recursively descend into tree down to leaves.
~vtkHyperTreeGridGradient() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Objects for traversal a HyperTreeGrid.
Objects for traversal a HyperTreeGrid.
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
a simple class to control print indentation
Allocate and hold a VTK object.
Hold a reference to a vtkObjectBase instance.
dynamic, self-adjusting array of unsigned char