vtkSIVectorProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSIVectorProperty.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 =========================================================================*/
22 #ifndef vtkSIVectorProperty_h
23 #define vtkSIVectorProperty_h
24 
25 #include "vtkRemotingServerManagerModule.h" //needed for exports
26 #include "vtkSIProperty.h"
27 
28 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSIVectorProperty : public vtkSIProperty
29 {
30 public:
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
47  vtkGetMacro(NumberOfElementsPerCommand, int);
49 
51 
63  vtkGetMacro(UseIndex, bool);
65 
67 
72  vtkGetStringMacro(CleanCommand);
74 
76 
80  vtkGetStringMacro(SetNumberCommand);
82 
83  vtkGetStringMacro(InitialString);
84 
85 protected:
87  ~vtkSIVectorProperty() override;
88  vtkSetStringMacro(CleanCommand);
89  vtkSetStringMacro(SetNumberCommand);
90  vtkSetStringMacro(InitialString);
91 
92  char* SetNumberCommand;
93  char* CleanCommand;
94  bool UseIndex;
97 
101  bool ReadXMLAttributes(vtkSIProxy* proxyhelper, vtkPVXMLElement* element) override;
102 
103 private:
104  vtkSIVectorProperty(const vtkSIVectorProperty&) = delete;
105  void operator=(const vtkSIVectorProperty&) = delete;
106 };
107 
108 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
#define vtkSIVectorProperty
vtkSIProxy is the server-implementation for a vtkSMProxy that helps the vtkSMProxy with managing/upda...
Definition: vtkSIProxy.h:34
Abstract class for SIProperty that hold an array of values.
virtual bool ReadXMLAttributes(vtkSIProxy *proxyhelper, vtkPVXMLElement *element)
Parse the xml for the property.
Basic ServerImplementation property used to call a method with no argument on a VTK object.
Definition: vtkSIProperty.h:36
This is used by vtkPVXMLParser to represent an XML document starting at the root element.