vtkSMSILDomain.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMSILDomain.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 =========================================================================*/
39 #ifndef vtkSMSILDomain_h
40 #define vtkSMSILDomain_h
41 
42 #include "vtkRemotingServerManagerModule.h" //needed for exports
44 
45 class vtkGraph;
47 
49 {
50 public:
51  static vtkSMSILDomain* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
61  vtkGraph* GetSIL();
62 
64 
68  vtkGetStringMacro(SubTree);
70 
74  int SetDefaultValues(vtkSMProperty*, bool) override { return 1; }
75 
76 protected:
81  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* elem) override;
82 
83  // Internal method used to store the SubTree information from the XML
84  vtkSetStringMacro(SubTree);
85 
87  ~vtkSMSILDomain() override;
88 
89  char* SubTree;
92 
93 private:
94  vtkSMSILDomain(const vtkSMSILDomain&) = delete;
95  void operator=(const vtkSMSILDomain&) = delete;
96 };
97 
98 #endif
int SetDefaultValues(vtkSMProperty *, bool) override
Overridden to leave defaults unchanged.
static vtkSMArraySelectionDomain * New()
#define VTKREMOTINGSERVERMANAGER_EXPORT
is a specialization for vtkSMArraySelectionDomain with access to the SIL.
superclass for all SM properties
int vtkIdType
vtkPVInformation subclass to fetch SIL.
int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
used on properties that allow users to select arrays.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkIdType SILTimeStamp
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
vtkPVSILInformation * SIL