15#ifndef vtkTensorPrincipalInvariants_h
16#define vtkTensorPrincipalInvariants_h
19#include "vtkFiltersTensorModule.h"
25VTK_ABI_NAMESPACE_BEGIN
85 const std::string& arrayName,
vtkIdType nbTuples,
bool isPointData)
const;
Store on/off settings for data arrays, etc.
abstract class to specify dataset behavior
a simple class to control print indentation
Allocate and hold a VTK object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool IsSymmetricTensor(vtkDataArray *array) const
Determine whether the given array corresponds to a symmetric 3D tensor (6 components) or 2D tensor (3...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkTensorPrincipalInvariants()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks for Information.
static vtkTensorPrincipalInvariants * New()
vtkNew< vtkDataArraySelection > PointDataArraySelection
~vtkTensorPrincipalInvariants() override=default
vtkNew< vtkDataArraySelection > CellDataArraySelection
static std::string GetSigmaVectorArrayName(const std::string &baseName, int index)
Return the given array name with a suffix for principal vectors attached.
static std::string GetSigmaValueArrayName(const std::string &baseName, int index)
Return the given array name with a suffix for principal values attached.
bool ComputePrincipalInvariants(vtkDataSet *output, vtkDataArray *array, const std::string &arrayName, vtkIdType nbTuples, bool isPointData) const
Compute and append to the given dataset the principal values and directions from the given array.
std::array< int, 3 > GetDecreasingOrder(double values[3]) const
Return the indices that sort the input values from largest to smallest.