45 #ifndef vtkVectorNorm_h
46 #define vtkVectorNorm_h
48 #define VTK_ATTRIBUTE_MODE_DEFAULT 0
49 #define VTK_ATTRIBUTE_MODE_USE_POINT_DATA 1
50 #define VTK_ATTRIBUTE_MODE_USE_CELL_DATA 2
53 #include "vtkFiltersCoreModule.h"
55 VTK_ABI_NAMESPACE_BEGIN
83 vtkSetMacro(AttributeMode,
int);
84 vtkGetMacro(AttributeMode,
int);
108 VTK_ABI_NAMESPACE_END
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.
static vtkVectorNorm * New()
Construct with normalize flag off.
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.
const char * GetAttributeModeAsString()
Control how the filter works to generate scalar data from the input vector data.
~vtkVectorNorm() override=default
#define VTK_ATTRIBUTE_MODE_USE_POINT_DATA
#define VTK_ATTRIBUTE_MODE_DEFAULT
#define VTK_ATTRIBUTE_MODE_USE_CELL_DATA