29 #ifndef vtkDataArraySelection_h 30 #define vtkDataArraySelection_h 32 #include "vtkCommonCoreModule.h" 35 class vtkDataArraySelectionInternals;
48 void EnableArray(
const char*
name);
54 void DisableArray(
const char*
name);
60 int ArrayIsEnabled(
const char*
name);
65 int ArrayExists(
const char*
name);
70 void EnableAllArrays();
75 void DisableAllArrays();
80 int GetNumberOfArrays();
85 int GetNumberOfArraysEnabled();
90 const char* GetArrayName(
int index);
95 int GetArrayIndex(
const char *
name);
101 int GetEnabledArrayIndex(
const char*
name);
106 int GetArraySetting(
int index);
113 return this->GetArraySetting(this->GetArrayIndex(name));
120 void SetArraySetting(
const char*
name,
int status);
125 void RemoveAllArrays();
135 int AddArray(
const char* name,
bool state=
true);
140 void RemoveArrayByIndex(
int index);
145 void RemoveArrayByName(
const char* name);
158 void SetArrays(
const char*
const* names,
int numArrays);
159 void SetArraysWithDefault(
const char*
const* names,
int numArrays,
abstract base class for most VTK objects
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
Store on/off settings for data arrays for a vtkSource.
int GetArraySetting(const char *name)
Get whether the array is enabled/disable using its name.
vtkDataArraySelectionInternals * Internal
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...