 |
VTK
9.0.1
|
Go to the documentation of this file.
46 #ifndef vtkSplitField_h
47 #define vtkSplitField_h
50 #include "vtkFiltersGeneralModule.h"
71 void SetInputField(
int attributeType,
int fieldLoc);
77 void SetInputField(
const char*
name,
int fieldLoc);
83 void SetInputField(
const char*
name,
const char* fieldLoc);
88 void Split(
int component,
const char* arrayName);
104 delete[] this->FieldName;
105 this->FieldName =
nullptr;
108 size_t len = strlen(
name) + 1;
109 this->FieldName =
new char[len];
111 strncpy_s(this->FieldName, len,
name, len - 1);
113 strncpy(this->FieldName,
name, len);
138 static char FieldLocationNames[3][12];
150 void AddComponent(Component* op);
151 Component* FindComponent(
int index);
152 void DeleteAllComponents();
154 void PrintComponent(Component* op, ostream& os,
vtkIndent indent);
155 void PrintAllComponents(ostream& os,
vtkIndent indent);
void SetName(const char *name)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
abstract superclass for arrays of numeric data
represent and manipulate fields of data
Superclass for algorithms that produce output of the same type as input.
Split a field into single component fields.
a simple class to control print indentation
static vtkDataSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Component * GetNextComponent(Component *op)