vtkPVDataSetAttributesInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
14 #ifndef vtkPVDataSetAttributesInformation_h
15 #define vtkPVDataSetAttributesInformation_h
16 
17 #include "vtkObject.h"
18 #include "vtkRemotingCoreModule.h" //needed for exports
19 
21 class vtkDataObject;
23 
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
38  vtkGetMacro(FieldAssociation, int);
40 
44  void Initialize();
45 
49  int GetNumberOfArrays() const;
50 
54  int GetMaximumNumberOfTuples() const;
55 
57 
60  vtkPVArrayInformation* GetArrayInformation(int idx) const;
61  vtkPVArrayInformation* GetArrayInformation(const char* name) const;
63 
68  vtkPVArrayInformation* GetAttributeInformation(int attributeType);
69 
74  int IsArrayAnAttribute(int arrayIndex);
75 
76 protected:
79 
80  friend class vtkPVDataInformation;
81  friend class vtkPVDataInformationAccumulator;
82 
86  vtkSetMacro(FieldAssociation, int);
87 
89 
92  void CopyToStream(vtkClientServerStream*);
93  void CopyFromStream(const vtkClientServerStream*);
95 
99  void AddInformation(vtkPVDataSetAttributesInformation*);
100 
105 
109  void CopyFromDataObject(vtkDataObject* dobj);
110 
111 private:
113  void operator=(const vtkPVDataSetAttributesInformation&) = delete;
114 
115  int FieldAssociation;
116 
117  class vtkInternals;
118  vtkInternals* Internals;
119 };
120 
121 #endif
provides meta data about a vtkDataObject subclass.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
Store messages for the interpreter.
#define VTKREMOTINGCORE_EXPORT
provides meta data about arrays.
static vtkObject * New()
void operator=(const vtkObjectBase &)