vtkPVDataSetAttributesInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVDataSetAttributesInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkPVDataSetAttributesInformation_h
27 #define vtkPVDataSetAttributesInformation_h
28 
29 #include "vtkObject.h"
30 #include "vtkRemotingCoreModule.h" //needed for exports
31 
33 class vtkDataObject;
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
50  vtkGetMacro(FieldAssociation, int);
52 
56  void Initialize();
57 
61  int GetNumberOfArrays() const;
62 
66  int GetMaximumNumberOfTuples() const;
67 
69 
72  vtkPVArrayInformation* GetArrayInformation(int idx) const;
73  vtkPVArrayInformation* GetArrayInformation(const char* name) const;
75 
80  vtkPVArrayInformation* GetAttributeInformation(int attributeType);
81 
86  int IsArrayAnAttribute(int arrayIndex);
87 
88 protected:
91 
92  friend class vtkPVDataInformation;
93  friend class vtkPVDataInformationAccumulator;
94 
98  vtkSetMacro(FieldAssociation, int);
99 
101 
104  void CopyToStream(vtkClientServerStream*);
105  void CopyFromStream(const vtkClientServerStream*);
107 
111  void AddInformation(vtkPVDataSetAttributesInformation*);
112 
117 
121  void CopyFromDataObject(vtkDataObject* dobj);
122 
123 private:
125  void operator=(const vtkPVDataSetAttributesInformation&) = delete;
126 
127  int FieldAssociation;
128 
129  class vtkInternals;
130  vtkInternals* Internals;
131 };
132 
133 #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 &)