27 #ifndef vtkDataArraySelection_h
28 #define vtkDataArraySelection_h
30 #include "vtkCommonCoreModule.h"
35 VTK_ABI_NAMESPACE_BEGIN
50 void EnableArray(
const char*
name);
59 void DisableArray(
const char*
name);
65 int ArrayIsEnabled(
const char*
name)
const;
70 int ArrayExists(
const char*
name)
const;
78 void EnableAllArrays();
86 void DisableAllArrays();
91 int GetNumberOfArrays()
const;
96 int GetNumberOfArraysEnabled()
const;
101 const char* GetArrayName(
int index)
const;
106 int GetArrayIndex(
const char*
name)
const;
112 int GetEnabledArrayIndex(
const char*
name)
const;
117 int GetArraySetting(
int index)
const;
131 void SetArraySetting(
const char*
name,
int setting);
138 void RemoveAllArrays();
153 int AddArray(
const char*
name,
bool state =
true);
160 void RemoveArrayByIndex(
int index);
167 void RemoveArrayByName(
const char*
name);
182 void SetArrays(
const char*
const* names,
int numArrays);
183 void SetArraysWithDefault(
const char*
const* names,
int numArrays,
int defaultStatus);
213 vtkSetMacro(UnknownArraySetting,
int);
214 vtkGetMacro(UnknownArraySetting,
int);
238 std::unique_ptr<vtkInternals> Internal;
239 int UnknownArraySetting;
242 VTK_ABI_NAMESPACE_END
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.
void Union(vtkDataArraySelection *other)
Update this to include values from other.
a simple class to control print indentation
int GetArraySetting(const char *name) const
Get whether the array is enabled/disable using its name.
Store on/off settings for data arrays, etc.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...