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 "vtkParaViewDeprecation.h" // for deprec macro
8 #include "vtkRemotingServerManagerModule.h" //needed for exports
9 #include "vtkSMObject.h"
10 
12 class vtkSMDoubleMapPropertyIteratorInternals;
13 
14 class PARAVIEW_DEPRECATED_IN_6_3_0("Related DoubleMapProperty is not used anymore.")
16 {
17 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
22  // Description:
23  // Set/get the property to iterate over.
24  virtual void SetProperty(vtkSMDoubleMapProperty* property);
25  vtkGetObjectMacro(Property, vtkSMDoubleMapProperty);
26 
27  // Description:
28  // Go to the first item.
29  virtual void Begin();
30 
31  // Description:
32  // Returns true if iterator points past the end of the collection.
33  virtual int IsAtEnd();
34 
35  // Description:
36  // Move to the next item.
37  virtual void Next();
38 
39  // Description:
40  // Returns the key (index) at the current iterator position.
41  virtual vtkIdType GetKey();
42 
43  // Description:
44  // Returns the value of the component for the current value.
45  virtual double GetElementComponent(unsigned int component);
46 
47 protected:
50 
51 private:
53  void operator=(const vtkSMDoubleMapPropertyIterator&) = delete;
54 
55  vtkSMDoubleMapProperty* Property;
56  vtkSMDoubleMapPropertyIteratorInternals* Internals;
57 };
58 
59 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
int vtkIdType
a map property storing double values
superclass for most server manager classes
Definition: vtkSMObject.h:17
#define PARAVIEW_DEPRECATED_IN_6_3_0(reason)
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override