56 #ifndef vtkSplitField_h
57 #define vtkSplitField_h
77 void SetInputField(
int attributeType,
int fieldLoc);
81 void SetInputField(
const char*
name,
int fieldLoc);
85 void SetInputField(
const char*
name,
const char* fieldLoc);
88 void Split(
int component,
const char* arrayName);
107 delete[] this->FieldName;
111 size_t len = strlen(name)+1;
112 this->FieldName =
new char[len];
113 strncpy(this->FieldName, name, len);
141 static char FieldLocationNames[3][12];
155 {
return this->Head; }
156 void AddComponent(Component* op);
157 Component* FindComponent(
int index);
158 void DeleteAllComponents();
160 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
161 void PrintAllComponents(ostream& os,
vtkIndent indent);
Component * GetNextComponent(Component *op)
void SetName(const char *name)
a simple class to control print indentation
abstract superclass for arrays of numeric data
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
#define VTKFILTERSGENERAL_EXPORT
Split a field into single component fields.
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()
represent and manipulate fields of data