19#ifndef vtkArrayRename_h 
   20#define vtkArrayRename_h 
   22#include "vtkFiltersCoreModule.h"  
   31VTK_ABI_NAMESPACE_BEGIN
 
   58  void SetArrayName(
int attributeType, 
int idx, 
const char* newName);
 
   62  void SetArrayName(
int attributeType, 
const char* inputName, 
const char* newName);
 
  239  std::map<int, std::map<std::string, std::string>> ArrayMapping;
 
void SetArrayName(int attributeType, int idx, const char *newName)
Set the new array name from idx in attributeType field data.
 
void SetPointArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for PointData.
 
void ClearPointMapping()
Get / Set array name mapping for PointData.
 
int GetNumberOfVertexArrays()
Get / Set array name mapping for VertexData.
 
const char * GetEdgeArrayOriginalName(int idx)
Get / Set array name mapping for EdgeData.
 
~vtkArrayRename() override=default
 
void ClearRowMapping()
Get / Set array name mapping for RowData.
 
const char * GetPointArrayOriginalName(int idx)
Get / Set array name mapping for PointData.
 
void SetArrayName(int attributeType, const char *inputName, const char *newName)
Set the new array name from inputName in attributeType field data.
 
void ClearCellMapping()
Get / Set array name mapping for CellData.
 
int GetNumberOfArrays(int attributeType)
Set / Get array name mapping for specified attribute type.
 
void SetVertexArrayName(int idx, const char *newName)
Get / Set array name mapping for VertexData.
 
const char * GetVertexArrayOriginalName(int idx)
Get / Set array name mapping for VertexData.
 
void ClearFieldMapping()
Get / Set array name mapping for FieldData.
 
void SetEdgeArrayName(int idx, const char *newName)
Get / Set array name mapping for EdgeData.
 
int GetNumberOfEdgeArrays()
Get / Set array name mapping for EdgeData.
 
const char * GetRowArrayNewName(int idx)
Get / Set array name mapping for RowData.
 
const char * GetRowArrayOriginalName(int idx)
Get / Set array name mapping for RowData.
 
void SetVertexArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for VertexData.
 
void SetEdgeArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for EdgeData.
 
int GetNumberOfFieldArrays()
Get / Set array name mapping for FieldData.
 
const char * GetEdgeArrayNewName(int idx)
Get / Set array name mapping for EdgeData.
 
void SetPointArrayName(int idx, const char *newName)
Get / Set array name mapping for PointData.
 
void SetFieldArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for FieldData.
 
const char * GetPointArrayNewName(int idx)
Get / Set array name mapping for PointData.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int GetNumberOfRowArrays()
Get / Set array name mapping for RowData.
 
const char * GetCellArrayOriginalName(int idx)
Get / Set array name mapping for CellData.
 
const char * GetCellArrayNewName(int idx)
Get / Set array name mapping for CellData.
 
int GetNumberOfCellArrays()
Get / Set array name mapping for CellData.
 
void ClearVertexMapping()
Get / Set array name mapping for VertexData.
 
const char * GetFieldArrayNewName(int idx)
Get / Set array name mapping for FieldData.
 
const char * GetArrayOriginalName(int attributeType, int idx)
Get the input array name from idx in attributeType field data.
 
void ClearMapping(int attributeType)
Clear mapping for the specified attribute type.
 
void SetRowArrayName(int idx, const char *newName)
Get / Set array name mapping for RowData.
 
void SetCellArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for CellData.
 
void ClearEdgeMapping()
Get / Set array name mapping for EdgeData.
 
int GetNumberOfPointArrays()
Get / Set array name mapping for PointData.
 
const char * GetArrayNewName(int attributeType, int idx)
Get the new array name from idx in attributeType field data.
 
const char * GetFieldArrayOriginalName(int idx)
Get / Set array name mapping for FieldData.
 
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
 
void ClearAll()
Clear name mappings for all attribute types.
 
const char * GetVertexArrayNewName(int idx)
Get / Set array name mapping for VertexData.
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
 
void SetCellArrayName(int idx, const char *newName)
Get / Set array name mapping for CellData.
 
void SetFieldArrayName(int idx, const char *newName)
Get / Set array name mapping for FieldData.
 
static vtkArrayRename * New()
 
void SetRowArrayName(const char *inputName, const char *newName)
Get / Set array name mapping for RowData.
 
a simple class to control print indentation