45 #ifndef vtkRearrangeFields_h
46 #define vtkRearrangeFields_h
49 #include "vtkFiltersCoreModule.h"
54 VTK_ABI_NAMESPACE_BEGIN
85 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
91 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
97 int AddOperation(
const char* operationType,
const char* attributeType,
const char* fromFieldLoc,
98 const char* toFieldLoc);
103 int RemoveOperation(
int operationId);
108 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
113 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
118 int RemoveOperation(
const char* operationType,
const char* attributeType,
119 const char* fromFieldLoc,
const char* toFieldLoc);
129 this->DeleteAllOperations();
169 void AddOperation(Operation* op);
170 void DeleteOperation(Operation* op, Operation* before);
171 Operation* FindOperation(
int id, Operation*& before);
172 Operation* FindOperation(
const char*
name, Operation*& before);
173 Operation* FindOperation(
174 int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
175 Operation* FindOperation(
176 int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
178 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
179 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
181 void DeleteAllOperations();
189 static char OperationTypeNames[2][5];
190 static char FieldLocationNames[3][12];
193 void PrintAllOperations(ostream& os,
vtkIndent indent);
201 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
virtual void Modified()
Update the modification time for this object.
void RemoveAllOperations()
Remove all operations.
Move/copy fields between field data, point data and cell data.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
Operation * GetNextOperation(Operation *op)
Represents and manipulates a collection of data arrays.