57 #ifndef vtkRearrangeFields_h
58 #define vtkRearrangeFields_h
61 #include "vtkFiltersCoreModule.h"
95 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
101 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
107 int AddOperation(
const char* operationType,
const char* attributeType,
const char* fromFieldLoc,
108 const char* toFieldLoc);
113 int RemoveOperation(
int operationId);
118 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
123 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
128 int RemoveOperation(
const char* operationType,
const char* attributeType,
129 const char* fromFieldLoc,
const char* toFieldLoc);
139 this->DeleteAllOperations();
179 void AddOperation(Operation* op);
180 void DeleteOperation(Operation* op, Operation* before);
181 Operation* FindOperation(
int id, Operation*& before);
182 Operation* FindOperation(
const char*
name, Operation*& before);
183 Operation* FindOperation(
184 int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
185 Operation* FindOperation(
186 int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
188 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
189 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
191 void DeleteAllOperations();
199 static char OperationTypeNames[2][5];
200 static char FieldLocationNames[3][12];
203 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