src
paraview-5.12
Remoting
ServerManager
vtkSMDoubleMapPropertyIterator.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#ifndef vtkSMDoubleMapPropertyIterator_h
5
#define vtkSMDoubleMapPropertyIterator_h
6
7
#include "vtkRemotingServerManagerModule.h"
//needed for exports
8
#include "
vtkSMObject.h
"
9
10
class
vtkSMDoubleMapProperty
;
11
class
vtkSMDoubleMapPropertyIteratorInternals;
12
13
class
VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMDoubleMapPropertyIterator
:
public
vtkSMObject
14
{
15
public
:
16
static
vtkSMDoubleMapPropertyIterator
*
New
();
17
vtkTypeMacro(
vtkSMDoubleMapPropertyIterator
,
vtkSMObject
);
18
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
19
20
// Description:
21
// Set/get the property to iterate over.
22
virtual
void
SetProperty(
vtkSMDoubleMapProperty
* property);
23
vtkGetObjectMacro(Property,
vtkSMDoubleMapProperty
);
24
25
// Description:
26
// Go to the first item.
27
virtual
void
Begin();
28
29
// Description:
30
// Returns true if iterator points past the end of the collection.
31
virtual
int
IsAtEnd();
32
33
// Description:
34
// Move to the next item.
35
virtual
void
Next();
36
37
// Description:
38
// Returns the key (index) at the current iterator position.
39
virtual
vtkIdType
GetKey();
40
41
// Description:
42
// Returns the value of the component for the current value.
43
virtual
double
GetElementComponent(
unsigned
int
component);
44
45
protected
:
46
vtkSMDoubleMapPropertyIterator
();
47
~
vtkSMDoubleMapPropertyIterator
()
override
;
48
49
private
:
50
vtkSMDoubleMapPropertyIterator
(
const
vtkSMDoubleMapPropertyIterator
&) =
delete
;
51
void
operator=(
const
vtkSMDoubleMapPropertyIterator
&) =
delete
;
52
53
vtkSMDoubleMapProperty
* Property;
54
vtkSMDoubleMapPropertyIteratorInternals* Internals;
55
};
56
57
#endif
vtkSMObject
superclass for most server manager classes
Definition:
vtkSMObject.h:17
vtkSMObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMDoubleMapProperty
a map property storing double values
Definition:
vtkSMDoubleMapProperty.h:19
vtkSMObject.h
vtkIdType
int vtkIdType
vtkSMDoubleMapPropertyIterator
Definition:
vtkSMDoubleMapPropertyIterator.h:13
vtkIndent
vtkSMObject::New
static vtkSMObject * New()
Generated by
1.8.17 on Wed Mar 27 2024