57 #ifndef vtkSplitField_h 58 #define vtkSplitField_h 60 #include "vtkFiltersGeneralModule.h" 82 void SetInputField(
int attributeType,
int fieldLoc);
88 void SetInputField(
const char*
name,
int fieldLoc);
94 void SetInputField(
const char*
name,
const char* fieldLoc);
99 void Split(
int component,
const char* arrayName);
115 delete[] this->FieldName;
116 this->FieldName =
nullptr;
119 size_t len = strlen(
name)+1;
120 this->FieldName =
new char[len];
121 strncpy(this->FieldName,
name, len);
146 static char FieldLocationNames[3][12];
160 {
return this->Head; }
161 void AddComponent(Component* op);
162 Component* FindComponent(
int index);
163 void DeleteAllComponents();
165 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
166 void PrintAllComponents(ostream& os,
vtkIndent indent);
Component * GetNextComponent(Component *op)
void SetName(const char *name)
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
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Split a field into single component fields.
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
represent and manipulate fields of data