VTK  9.5.2
vtkRearrangeFields Class Reference

Move/copy fields between field data, point data and cell data. More...

#include <vtkRearrangeFields.h>

Inheritance diagram for vtkRearrangeFields:
[legend]
Collaboration diagram for vtkRearrangeFields:
[legend]

Classes

struct  Operation

Public Types

enum  OperationType { COPY = 0 , MOVE = 1 }
enum  FieldLocation { DATA_OBJECT = 0 , POINT_DATA = 1 , CELL_DATA = 2 }
enum  FieldType { NAME , ATTRIBUTE }
typedef vtkDataSetAlgorithm Superclass
Public Types inherited from vtkDataSetAlgorithm
typedef vtkAlgorithm Superclass
Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision { SINGLE_PRECISION , DOUBLE_PRECISION , DEFAULT_PRECISION }
 Values used for setting the desired output precision for various algorithms. More...
typedef vtkObject Superclass

Public Member Functions

virtual vtkTypeBool IsA (const char *type)
 Return 1 if this class is the same type of (or a subclass of) the named class.
vtkRearrangeFieldsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent) override
 Methods invoked by print to print information about the object including superclasses.
int AddOperation (int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
 Add an operation which copies an attribute's field (data array) from one field data to another.
int AddOperation (int operationType, const char *name, int fromFieldLoc, int toFieldLoc)
 Add an operation which copies a field (data array) from one field data to another.
int AddOperation (const char *operationType, const char *attributeType, const char *fromFieldLoc, const char *toFieldLoc)
 Helper method used by other language bindings.
int RemoveOperation (int operationId)
 Remove an operation with the given id.
int RemoveOperation (int operationType, int attributeType, int fromFieldLoc, int toFieldLoc)
 Remove an operation with the given signature.
int RemoveOperation (int operationType, const char *name, int fromFieldLoc, int toFieldLoc)
 Remove an operation with the given signature.
int RemoveOperation (const char *operationType, const char *attributeType, const char *fromFieldLoc, const char *toFieldLoc)
 Remove an operation with the given signature.
void RemoveAllOperations ()
 Remove all operations.
Public Member Functions inherited from vtkDataSetAlgorithm
vtkDataSetAlgorithm