63 #ifndef vtkSMProxyProperty_h 64 #define vtkSMProxyProperty_h 66 #include "vtkPVServerManagerCoreModule.h" 82 static void EnableProxyCreation();
83 static void DisableProxyCreation();
84 static bool CanCreateProxy();
89 void PrintSelf(ostream& os, vtkIndent indent);
97 virtual void SetProxy(
unsigned int idx,
vtkSMProxy* proxy);
99 virtual void RemoveAllProxies();
105 virtual void SetProxies(
unsigned int numElements,
vtkSMProxy* proxies[]);
124 virtual void AddUncheckedProxy(
vtkSMProxy* proxy);
125 virtual void SetUncheckedProxy(
unsigned int idx,
vtkSMProxy* proxy);
131 virtual void RemoveAllUncheckedProxies();
137 unsigned int GetNumberOfProxies();
142 unsigned int GetNumberOfUncheckedProxies();
148 void SetNumberOfProxies(
unsigned int count);
149 void SetNumberOfUncheckedProxies(
unsigned int count);
160 vtkSMProxy* GetUncheckedProxy(
unsigned int idx);
171 vtkGetMacro(SkipDependency,
bool);
virtual int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
virtual void SaveStateValues(vtkPVXMLElement *propertyElement)
This method must be overiden by concrete class in order to save the real property data...
virtual void WriteTo(vtkSMMessage *msg)
Let the property write its content into the stream.
vtkPPInternals * PPInternals
property representing pointer(s) to vtkObject(s)
superclass for all SM properties
virtual void Copy(vtkSMProperty *src)
Copy all property values.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
static bool CreateProxyAllowed
static vtkSMProperty * New()
void UpdateDomains()
Calls Update() on all domains contained by the property as well as all dependant domains.
void OnUpdateDataEvent()
Called when a producer fires the vtkCommand::UpdateDataEvent.
This class is used by vtkSMProxyProperty to keep track of the proxies.
virtual void ReadFrom(const vtkSMMessage *, int vtkNotUsed(message_offset), vtkSMProxyLocator *)
Let the property read and set its content from the stream.
proxy for a VTK object(s) on a server
virtual void ClearUncheckedElements()
Use this method to clear unchecked values set of this property.
is used to locate proxies referred to in state xmls while loading state files.
void PrintSelf(ostream &os, vtkIndent indent)
virtual void ResetToXMLDefaults()
For properties that support specifying defaults in XML configuration, this method will reset the prop...
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.
Class used to retreive a given message state based on its GlobalID.
virtual void UpdateAllInputs()
Update all proxies referred by this property (if any).