54#ifndef vtkVectorNorm_h
55#define vtkVectorNorm_h
57#define VTK_ATTRIBUTE_MODE_DEFAULT 0
58#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1
59#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2
62#include "vtkFiltersCoreModule.h"
91 vtkSetMacro(AttributeMode,
int);
92 vtkGetMacro(AttributeMode,
int);
Superclass for algorithms that produce output of the same type as input.
a simple class to control print indentation
generate scalars from Euclidean norm of vectors
void SetAttributeModeToUsePointData()
Control how the filter works to generate scalar data from the input vector data.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
const char * GetAttributeModeAsString()
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetAttributeModeToDefault()
Control how the filter works to generate scalar data from the input vector data.
static vtkVectorNorm * New()
Construct with normalize flag off.
~vtkVectorNorm() override=default
#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA
#define VTK_ATTRIBUTE_MODE_DEFAULT
#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA