ParaView
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 "vtkPVServerManagerCoreModule.h" //needed for exports
27 #include "vtkSMProperty.h"
28 
29 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMMapProperty : public vtkSMProperty
30 {
31 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
38  virtual vtkIdType GetNumberOfElements();
39 
43  virtual bool IsValueDefault();
44 
48  virtual void Copy(vtkSMProperty* src);
49 
50 protected:
53 
54  virtual int LoadState(vtkPVXMLElement* element, vtkSMProxyLocator* loader);
55  virtual int ReadXMLAttributes(vtkSMProxy* parent, vtkPVXMLElement* element);
56 
57 private:
58  vtkSMMapProperty(const vtkSMMapProperty&) VTK_DELETE_FUNCTION;
59  void operator=(const vtkSMMapProperty&) VTK_DELETE_FUNCTION;
60 };
61 
62 #endif // vtkSMMapProperty_h
virtual int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
superclass for all SM properties
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.
void PrintSelf(ostream &os, vtkIndent indent)
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