ParaView
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 =========================================================================*/
31 #ifndef vtkSMSILDomain_h
32 #define vtkSMSILDomain_h
33 
34 #include "vtkPVServerManagerCoreModule.h" //needed for exports
36 
37 class vtkGraph;
39 
40 class VTKPVSERVERMANAGERCORE_EXPORT vtkSMSILDomain : public vtkSMArraySelectionDomain
41 {
42 public:
43  static vtkSMSILDomain* New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
53  vtkGraph* GetSIL();
54 
56 
60  vtkGetStringMacro(SubTree);
62 
66  virtual int SetDefaultValues(vtkSMProperty*, bool) { return 1; }
67 
68 protected:
73  virtual int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* elem);
74 
75  // Internal method used to store the SubTree information from the XML
76  vtkSetStringMacro(SubTree);
77 
79  ~vtkSMSILDomain();
80 
81  char* SubTree;
83  vtkIdType SILTimeStamp;
84 
85 private:
86  vtkSMSILDomain(const vtkSMSILDomain&) VTK_DELETE_FUNCTION;
87  void operator=(const vtkSMSILDomain&) VTK_DELETE_FUNCTION;
88 };
89 
90 #endif
virtual int SetDefaultValues(vtkSMProperty *, bool)
Overridden to leave defaults unchanged.
static vtkSMArraySelectionDomain * New()
is a specialization for vtkSMArraySelectionDomain with access to the SIL.
superclass for all SM properties
Information object used to retreived the SIL graph from a file reader or any compatible source...
virtual int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
used on properties that allow users to select arrays.
void PrintSelf(ostream &os, vtkIndent indent)
vtkIdType SILTimeStamp
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
vtkPVSILInformation * SIL