12 #ifndef vtkPVArrayInformation_h 13 #define vtkPVArrayInformation_h 25 class vtkCellAttribute;
46 vtkGetMacro(DataType,
int);
57 std::string GetRangesAsString(
int lowExponent = -6,
int highExponent = 20)
const;
62 const char*
GetName()
const {
return this->Name.empty() ? nullptr : this->Name.c_str(); }
67 int GetNumberOfComponents()
const;
73 const char* GetComponentName(
int component)
const;
78 vtkGetMacro(NumberOfTuples, vtkTypeInt64);
87 const double* GetComponentRange(
int comp)
const VTK_SIZEHINT(2);
88 void GetComponentRange(
int comp,
double range[2])
const;
99 const double* GetComponentFiniteRange(
int component)
const VTK_SIZEHINT(2);
100 void GetComponentFiniteRange(
int comp,
double range[2])
const;
109 void GetDataTypeRange(
double range[2])
const;
117 vtkGetMacro(IsPartial,
bool);
124 int GetNumberOfInformationKeys()
const;
125 const char* GetInformationKeyLocation(
int)
const;
126 const char* GetInformationKeyName(
int)
const;
127 bool HasInformationKey(
const char*
location,
const char*
name)
const;
134 int GetNumberOfStringValues();
135 const char* GetStringValue(
int);
143 void CopyFromArray(
vtkFieldData* fieldData,
int fdArrayIdx);
146 "CopyFromArray(vtkFieldData*, int) overloads")
150 void CopyFromCellAttribute(vtkCellGrid* grid, vtkCellAttribute* attribute);
157 ~vtkPVArrayInformation() override;
166 void DeepCopy(vtkPVArrayInformation* info);
167 void AddInformation(vtkPVArrayInformation*,
int fieldAssociation);
168 vtkSetMacro(IsPartial,
bool);
171 vtkSetMacro(Name,
std::
string);
176 vtkTypeInt64 NumberOfTuples = 0;
177 bool IsPartial = false;
184 mutable std::string DefaultName;
187 std::vector<ComponentInfo> Components;
188 std::vector<std::string> StringValues;
191 std::set<std::pair<std::string, std::string>> InformationKeys;
193 struct GetRangeFunctor;
198 void CopyFromArrayInternal(
vtkAbstractArray* array, GetRangeFunctor& getRangeFn);
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define PARAVIEW_DEPRECATED_IN_5_14_0(reason)
Store messages for the interpreter.
#define VTKREMOTINGCORE_EXPORT
void operator=(const vtkObjectBase &)