3#ifndef vtkCellGridChangeBasis_h
4#define vtkCellGridChangeBasis_h
11VTK_ABI_NAMESPACE_BEGIN
A function defined over the physical domain of a vtkCellGrid.
A cell-grid query for changing cell-attribute basis functions.
virtual void SetCellAttribute(vtkCellAttribute *)
Specify the cell-attribute to be converted.
vtkStringToken TargetFunctionSpace
vtkStringToken SourceFunctionSpace
vtkCellAttribute * CellAttribute
bool Initialize() override
Forget the arrays from any previous invocation.
int OutputPointsPrecision
vtkStringToken SourceBasis
std::map< vtkDataArray *, vtkSmartPointer< vtkDataArray > > & GetSharedOutputs()
Output arrays holding shared degrees of freedom, keyed by the input array each one replaces.
vtkSetStringTokenMacro(TargetBasis)
Set/get the destination basis.
vtkSetStringTokenMacro(SourceBasis)
Set/get the basis that should be converted.
vtkStringToken TargetBasis
std::map< vtkDataArray *, vtkSmartPointer< vtkDataArray > > SharedOutputs
vtkSetStringTokenMacro(SourceFunctionSpace)
Set/get the function space that should be converted.
static Query * New()
Standard methods for instantiation, obtaining type information, and printing.
vtkSetStringTokenMacro(TargetFunctionSpace)
Set/get the destination function space.
Query()
Construct a query.
vtkGetStringTokenMacro(SourceFunctionSpace)
Set/get the function space that should be converted.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
vtkGetStringTokenMacro(SourceBasis)
Set/get the basis that should be converted.
vtkGetStringTokenMacro(TargetFunctionSpace)
Set/get the destination function space.
vtkGetStringTokenMacro(TargetBasis)
Set/get the destination basis.
vtkMTimeType GetMTime() override
Return the MTime also considering the cell-attribute.
vtkDataArray * CreateNewDataArray(vtkDataArray *input) const
A convenience method for responders to create arrays at the requested output precision given an input...
void SetTargetOrder(int order)
~vtkCellGridChangeBasis() override
void SetSourceFunctionSpace(const char *functionSpace)
void SetTargetBasis(const char *basis)
void SetCellAttribute(vtkCellAttribute *att)
void SetTargetFunctionSpace(const char *functionSpace)
void SetSourceOrder(int order)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkCellGridChangeBasis * New()
Standard methods for instantiation, obtaining type information, and printing.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
void SetSourceBasis(const char *basis)
vtkMTimeType GetMTime() override
Return the MTime also considering the query.
vtkCellGridQuery()=default
a simple class to control print indentation
Allocate and hold a VTK object.
Represent a string by its integer hash.
vtkTypeUInt32 vtkMTimeType