12 #ifndef vtkPVArrayInformation_h 13 #define vtkPVArrayInformation_h 24 class vtkCellAttribute;
45 vtkGetMacro(DataType,
int);
56 std::string GetRangesAsString(
int lowExponent = -6,
int highExponent = 20)
const;
61 const char*
GetName()
const {
return this->Name.empty() ? nullptr : this->Name.c_str(); }
66 int GetNumberOfComponents()
const;
72 const char* GetComponentName(
int component)
const;
77 vtkGetMacro(NumberOfTuples, vtkTypeInt64);
86 const double* GetComponentRange(
int comp)
const VTK_SIZEHINT(2);
87 void GetComponentRange(
int comp,
double range[2])
const;
98 const double* GetComponentFiniteRange(
int component)
const VTK_SIZEHINT(2);
99 void GetComponentFiniteRange(
int comp,
double range[2])
const;
108 void GetDataTypeRange(
double range[2])
const;
116 vtkGetMacro(IsPartial,
bool);
123 int GetNumberOfInformationKeys()
const;
124 const char* GetInformationKeyLocation(
int)
const;
125 const char* GetInformationKeyName(
int)
const;
126 bool HasInformationKey(
const char*
location,
const char*
name)
const;
133 int GetNumberOfStringValues();
134 const char* GetStringValue(
int);
138 void CopyFromCellAttribute(vtkCellGrid* grid, vtkCellAttribute* attribute);
156 vtkSetMacro(IsPartial,
bool);
159 vtkSetMacro(Name, std::string);
164 vtkTypeInt64 NumberOfTuples = 0;
165 bool IsPartial =
false;
172 mutable std::string DefaultName;
175 std::vector<ComponentInfo> Components;
176 std::vector<std::string> StringValues;
179 std::set<std::pair<std::string, std::string>> InformationKeys;
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Store messages for the interpreter.
#define VTKREMOTINGCORE_EXPORT