38 #ifndef vtkVectorNorm_h
39 #define vtkVectorNorm_h
41 #define VTK_ATTRIBUTE_MODE_DEFAULT 0
42 #define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1
43 #define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2
45 #include "vtkFiltersCoreModule.h"
66 vtkGetMacro(Normalize,
int);
80 vtkGetMacro(AttributeMode,
int);
87 const char *GetAttributeModeAsString();
void SetAttributeModeToUsePointData()
Control how the filter works to generate scalar data from the input vector data.
void SetAttributeModeToUseCellData()
Control how the filter works to generate scalar data from the input vector data.
#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA
#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA
generate scalars from Euclidean norm of vectors
dynamic, self-adjusting array of float
#define VTK_ATTRIBUTE_MODE_DEFAULT
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
~vtkVectorNorm() override
Superclass for algorithms that produce output of the same type as input.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkDataSetAlgorithm * New()
void SetAttributeModeToDefault()
Control how the filter works to generate scalar data from the input vector data.