src
paraview-5.12
Remoting
Core
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
20
class
vtkClientServerStream
;
21
class
vtkDataObject
;
22
class
vtkPVArrayInformation
;
23
24
class
VTKREMOTINGCORE_EXPORT
vtkPVDataSetAttributesInformation
:
public
vtkObject
25
{
26
public
:
27
static
vtkPVDataSetAttributesInformation
*
New
();
28
vtkTypeMacro(
vtkPVDataSetAttributesInformation
,
vtkObject
);
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
:
77
vtkPVDataSetAttributesInformation
();
78
~
vtkPVDataSetAttributesInformation
()
override
;
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
104
void
DeepCopy
(
vtkPVDataSetAttributesInformation
*);
105
109
void
CopyFromDataObject(
vtkDataObject
* dobj);
110
111
private
:
112
vtkPVDataSetAttributesInformation
(
const
vtkPVDataSetAttributesInformation
&) =
delete
;
113
void
operator=
(
const
vtkPVDataSetAttributesInformation
&) =
delete
;
114
115
int
FieldAssociation;
116
117
class
vtkInternals;
118
vtkInternals* Internals;
119
};
120
121
#endif
DeepCopy
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkObject::New
static vtkObject * New()
vtkClientServerStream
Store messages for the interpreter.
Definition:
vtkClientServerStream.h:23
vtkObject
vtkPVDataSetAttributesInformation
List of array info.
Definition:
vtkPVDataSetAttributesInformation.h:24
vtkIndent
vtkObject.h
vtkPVDataInformation
provides meta data about a vtkDataObject subclass.
Definition:
vtkPVDataInformation.h:42
vtkPVArrayInformation
provides meta data about arrays.
Definition:
vtkPVArrayInformation.h:30
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkDataObject
Generated by
1.8.17 on Wed Mar 27 2024