48 #ifndef vtkSMProxyProperty_h 49 #define vtkSMProxyProperty_h 67 static void EnableProxyCreation();
68 static void DisableProxyCreation();
69 static bool CanCreateProxy();
82 virtual void SetProxy(
unsigned int idx,
vtkSMProxy* proxy);
84 virtual void RemoveAllProxies();
90 virtual void SetProxies(
unsigned int numElements,
vtkSMProxy* proxies[]);
109 virtual void AddUncheckedProxy(
vtkSMProxy* proxy);
110 virtual void SetUncheckedProxy(
unsigned int idx,
vtkSMProxy* proxy);
116 virtual void RemoveAllUncheckedProxies();
122 unsigned int GetNumberOfProxies();
127 unsigned int GetNumberOfUncheckedProxies();
133 void SetNumberOfProxies(
unsigned int count);
134 void SetNumberOfUncheckedProxies(
unsigned int count);
145 vtkSMProxy* GetUncheckedProxy(
unsigned int idx);
virtual int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element)
Set the appropriate ivars from the xml element.
virtual void SaveStateValues(vtkPVXMLElement *propertyElement)
This method must be overridden by concrete class in order to save the real property data...
void ClearUncheckedElements() override
Use this method to clear unchecked values set of this property.
virtual void WriteTo(vtkSMMessage *msg)
Let the property write its content into the stream.
vtkPPInternals * PPInternals
property representing pointer(s) to vtkObject(s)
#define VTKREMOTINGSERVERMANAGER_EXPORT
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 dependent 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
is used to locate proxies referred to in state xmls while loading state files.
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Class used to retrieve a given message state based on its GlobalID.
virtual void UpdateAllInputs()
Update all proxies referred by this property (if any).