49 #ifndef vtkSplitField_h 50 #define vtkSplitField_h 52 #include "vtkFiltersGeneralModule.h" 74 void SetInputField(
int attributeType,
int fieldLoc);
80 void SetInputField(
const char*
name,
int fieldLoc);
86 void SetInputField(
const char*
name,
const char* fieldLoc);
91 void Split(
int component,
const char* arrayName);
107 delete[] this->FieldName;
108 this->FieldName =
nullptr;
111 size_t len = strlen(name)+1;
112 this->FieldName =
new char[len];
114 strncpy_s(this->FieldName, len, name, len - 1);
116 strncpy(this->FieldName, name, len);
142 static char FieldLocationNames[3][12];
156 {
return this->Head; }
159 void DeleteAllComponents();
162 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
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