|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
unsigned int | GetNumberOfProxyTypes () |
| Returns the number of proxies in the domain. More...
|
|
const char * | GetProxyGroup (unsigned int index) |
| Returns the xml group name for the proxy at a given index. More...
|
|
const char * | GetProxyName (unsigned int index) |
| Returns the xml type name for the proxy at a given index. More...
|
|
const char * | GetProxyName (vtkSMProxy *proxy) |
| If the proxy is part of the domain, then this returns the name used for the proxy in the domain. More...
|
|
virtual int | IsInDomain (vtkSMProperty *property) |
| This always returns true. More...
|
|
void | AddProxy (vtkSMProxy *) |
| Add a proxy to the domain. More...
|
|
bool | HasProxy (vtkSMProxy *) |
| Returns if the proxy is present in the domain. More...
|
|
unsigned int | GetNumberOfProxies () |
| Get number of proxies in the domain. More...
|
|
vtkSMProxy * | GetProxy (unsigned int index) |
| Get proxy at a given index. More...
|
|
vtkSMProxy * | FindProxy (const char *xmlgroup, const char *xmlname) |
| Find a proxy in the domain of the given group and type. More...
|
|
int | RemoveProxy (vtkSMProxy *proxy) |
| Removes the first occurence of the proxy in the domain. More...
|
|
int | RemoveProxy (unsigned int index) |
| Removes the proxy at the given index. More...
|
|
void | CreateProxies (vtkSMSessionProxyManager *pxm) |
| Creates and populates the domain with the proxy-types. More...
|
|
Public Member Functions inherited from vtkSMDomain |
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | Update (vtkSMProperty *requestingProperty) |
| Update self based on the "unchecked" values of all required properties. More...
|
|
virtual void | SetAnimationValue (vtkSMProperty *, int vtkNotUsed(index), double vtkNotUsed(value)) |
| Set the value of an element of a property from the animation editor. More...
|
|
virtual int | SetDefaultValues (vtkSMProperty *, bool vtkNotUsed(use_unchecked_values)) |
| A vtkSMProperty is often defined with a default value in the XML itself. More...
|
|
vtkSMProperty * | GetProperty () |
| Provides access to the vtkSMProperty on which this domain is hooked up. More...
|
|
virtual char * | GetXMLName () |
| Assigned by the XML parser. More...
|
|
virtual bool | GetIsOptional () |
| When the IsOptional flag is set, IsInDomain() always returns true. More...
|
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual vtkSMSessionProxyManager * | GetSessionProxyManager () |
| Return the corresponding ProxyManager if any. More...
|
|
virtual void | SetSession (vtkSMSession *) |
| Get/Set the session on wihch this object exists. More...
|
|
virtual vtkSMSession * | GetSession () |
| Get/Set the session on wihch this object exists. More...
|
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
|
int | ReadXMLAttributes (vtkSMProperty *prop, vtkPVXMLElement *element) |
| Set the appropriate ivars from the xml element. More...
|
|
void | AddProxy (const char *group, const char *name) |
| Adds a proxy type, used by ReadXMLAttributes(). More...
|
|
virtual void | ChildSaveState (vtkPVXMLElement *propertyElement) |
| Save state for this domain. More...
|
|
virtual int | LoadState (vtkPVXMLElement *domainElement, vtkSMProxyLocator *loader) |
|
void | SetProxies (vtkSMProxy **proxies, unsigned int count) |
|
Protected Member Functions inherited from vtkSMDomain |
| vtkSMDomain () |
|
| ~vtkSMDomain () |
|
virtual int | LoadState (vtkPVXMLElement *vtkNotUsed(domainElement), vtkSMProxyLocator *vtkNotUsed(loader)) |
| Load the state of the domain from the XML. More...
|
|
vtkSMProperty * | GetRequiredProperty (const char *function) |
| Returns a given required property of the given function. More...
|
|
void | RemoveRequiredProperty (vtkSMProperty *prop) |
| Remove the given property from the required properties list. More...
|
|
void | AddRequiredProperty (vtkSMProperty *prop, const char *function) |
| Add a new required property to this domain. More...
|
|
virtual vtkPVDataInformation * | GetInputDataInformation (const char *function, int index=0) |
| Helper method to get vtkPVDataInformation from input proxy connected to the required property with the given function. More...
|
|
void | DomainModified () |
| Invokes DomainModifiedEvent. More...
|
|
void | InvokeModified () |
|
unsigned int | GetNumberOfRequiredProperties () |
| Gets the number of required properties added. More...
|
|
void | SetProperty (vtkSMProperty *) |
| Set the domain's property. More...
|
|
void | SaveState (vtkPVXMLElement *parent, const char *uid) |
| Add the header and creates a new vtkPVXMLElement for the domain, fills it up with the common attributes. More...
|
|
virtual void | SetIsOptional (bool) |
| When the IsOptional flag is set, IsInDomain() always returns true. More...
|
|
virtual void | SetXMLName (const char *) |
| Assigned by the XML parser. More...
|
|
| vtkSMSessionObject () |
|
| ~vtkSMSessionObject () |
|
| vtkSMObject () |
|
| ~vtkSMObject () |
|
union of proxies.
This domain is a collection of proxies that can be assigned as the value to a vtkSMProxyProperty. The Server Mananger configuration defines the proxy types that form this list, while the value of this domain is the list of instances of proxies. Example usage : <ProxyListDomain name="proxy_list"> <Proxy group="implicit_functions" name="Plane"> <Group name="implicit_functions"> </ProxyListDomain>
- See also
- vtkSMDomain vtkSMProxyProperty
Definition at line 46 of file vtkSMProxyListDomain.h.
vtkSMProxyListDomain::vtkSMProxyListDomain |
( |
| ) |
|
|
protected |
A vtkSMProperty is often defined with a default value in the XML itself.
However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.
vtkSMProxyListDomain::~vtkSMProxyListDomain |
( |
| ) |
|
|
protected |
A vtkSMProperty is often defined with a default value in the XML itself.
However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.
virtual int vtkSMProxyListDomain::SetDefaultValues |
( |
vtkSMProperty * |
prop, |
|
|
bool |
use_unchecked_values |
|
) |
| |
|
virtual |
A vtkSMProperty is often defined with a default value in the XML itself.
However, many times, the default value must be determined at run time. To facilitate this, domains can override this method to compute and set the default value for the property. Note that unlike the compile-time default values, the application must explicitly call this method to initialize the property.