64 #ifndef vtkRearrangeFields_h
65 #define vtkRearrangeFields_h
67 #include "vtkFiltersCoreModule.h"
102 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
109 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
116 int AddOperation(
const char* operationType,
const char* attributeType,
117 const char* fromFieldLoc,
const char* toFieldLoc);
122 int RemoveOperation(
int operationId);
127 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
133 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
139 int RemoveOperation(
const char* operationType,
const char* attributeType,
140 const char* fromFieldLoc,
const char* toFieldLoc);
150 this->DeleteAllOperations();
193 {
return this->Head; }
194 void AddOperation(Operation* op);
195 void DeleteOperation(Operation* op, Operation* before);
196 Operation* FindOperation(
int id, Operation*& before);
197 Operation* FindOperation(
const char*
name, Operation*& before);
198 Operation* FindOperation(
int operationType,
const char*
name,
199 int fromFieldLoc,
int toFieldLoc,
201 Operation* FindOperation(
int operationType,
int attributeType,
202 int fromFieldLoc,
int toFieldLoc,
205 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
206 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
208 void DeleteAllOperations();
216 static char OperationTypeNames[2][5];
217 static char FieldLocationNames[3][12];
220 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 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()
represent and manipulate fields of data