37 #ifndef vtkSplitField_h
38 #define vtkSplitField_h
41 #include "vtkFiltersGeneralModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
63 void SetInputField(
int attributeType,
int fieldLoc);
69 void SetInputField(
const char*
name,
int fieldLoc);
75 void SetInputField(
const char*
name,
const char* fieldLoc);
80 void Split(
int component,
const char* arrayName);
96 delete[] this->FieldName;
97 this->FieldName =
nullptr;
100 size_t len = strlen(name) + 1;
101 this->FieldName =
new char[len];
103 strncpy_s(this->FieldName, len, name, len - 1);
105 strncpy(this->FieldName, name, len);
130 static char FieldLocationNames[3][12];
142 void AddComponent(Component* op);
143 Component* FindComponent(
int index);
144 void DeleteAllComponents();
146 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
147 void PrintAllComponents(ostream& os,
vtkIndent indent);
154 VTK_ABI_NAMESPACE_END
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