54 #ifndef vtkRearrangeFields_h 55 #define vtkRearrangeFields_h 57 #include "vtkFiltersCoreModule.h" 92 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
99 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
106 int AddOperation(
const char* operationType,
const char* attributeType,
107 const char* fromFieldLoc,
const char* toFieldLoc);
112 int RemoveOperation(
int operationId);
117 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
123 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
129 int RemoveOperation(
const char* operationType,
const char* attributeType,
130 const char* fromFieldLoc,
const char* toFieldLoc);
140 this->DeleteAllOperations();
183 {
return this->Head; }
184 void AddOperation(Operation* op);
185 void DeleteOperation(Operation* op, Operation* before);
186 Operation* FindOperation(
int id, Operation*& before);
187 Operation* FindOperation(
const char*
name, Operation*& before);
188 Operation* FindOperation(
int operationType,
const char*
name,
189 int fromFieldLoc,
int toFieldLoc,
191 Operation* FindOperation(
int operationType,
int attributeType,
192 int fromFieldLoc,
int toFieldLoc,
195 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
196 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
198 void DeleteAllOperations();
206 static char OperationTypeNames[2][5];
207 static char FieldLocationNames[3][12];
210 void PrintAllOperations(ostream& os,
vtkIndent indent);
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)
represent and manipulate fields of data