vtkSMMapProperty.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMMapProperty.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 =========================================================================*/
23 #ifndef vtkSMMapProperty_h
24 #define vtkSMMapProperty_h
25 
26 #include "vtkRemotingServerManagerModule.h" //needed for exports
27 #include "vtkSMProperty.h"
28 
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
38  virtual vtkIdType GetNumberOfElements();
39 
43  bool IsValueDefault() override;
44 
48  void Copy(vtkSMProperty* src) override;
49 
50 protected:
52  ~vtkSMMapProperty() override;
53 
54  int LoadState(vtkPVXMLElement* element, vtkSMProxyLocator* loader) override;
55  int ReadXMLAttributes(vtkSMProxy* parent, vtkPVXMLElement* element) override;
56 
57 private:
58  vtkSMMapProperty(const vtkSMMapProperty&) = delete;
59  void operator=(const vtkSMMapProperty&) = delete;
60 };
61 
62 #endif // vtkSMMapProperty_h
virtual int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
int vtkIdType
virtual void Copy(vtkSMProperty *src)
Copy all property values.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
is used to locate proxies referred to in state xmls while loading state files.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
virtual int LoadState(vtkPVXMLElement *element, vtkSMProxyLocator *loader)
Updates state from an XML element.
virtual bool IsValueDefault()
Returns true if the property's value is different from the default value.
abstract superclass for all map properties
void PrintSelf(ostream &os, vtkIndent indent) override