54 #ifndef vtkRearrangeFields_h 55 #define vtkRearrangeFields_h 58 #include "vtkFiltersCoreModule.h" 92 int AddOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
98 int AddOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
104 int AddOperation(
const char* operationType,
const char* attributeType,
const char* fromFieldLoc,
105 const char* toFieldLoc);
110 int RemoveOperation(
int operationId);
115 int RemoveOperation(
int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc);
120 int RemoveOperation(
int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc);
125 int RemoveOperation(
const char* operationType,
const char* attributeType,
126 const char* fromFieldLoc,
const char* toFieldLoc);
136 this->DeleteAllOperations();
176 void AddOperation(Operation* op);
177 void DeleteOperation(Operation* op, Operation* before);
178 Operation* FindOperation(
int id, Operation*& before);
179 Operation* FindOperation(
const char*
name, Operation*& before);
180 Operation* FindOperation(
181 int operationType,
const char*
name,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
182 Operation* FindOperation(
183 int operationType,
int attributeType,
int fromFieldLoc,
int toFieldLoc, Operation*& before);
185 int CompareOperationsByType(
const Operation* op1,
const Operation* op2);
186 int CompareOperationsByName(
const Operation* op1,
const Operation* op2);
188 void DeleteAllOperations();
196 static char OperationTypeNames[2][5];
197 static char FieldLocationNames[3][12];
200 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