ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMInputProperty Class Reference

proxy representing inputs to a filter More...

#include <vtkSMInputProperty.h>

Inheritance diagram for vtkSMInputProperty:
Inheritance graph
[legend]
Collaboration diagram for vtkSMInputProperty:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetProxies (unsigned int numElements, vtkSMProxy *proxies[])
virtual void Copy (vtkSMProperty *src)
virtual void SetMultipleInput (int)
virtual int GetMultipleInput ()
int AddInputConnection (vtkSMProxy *proxy, unsigned int outputPort, int modify)
int AddInputConnection (vtkSMProxy *proxy, unsigned int outputPort)
int SetInputConnection (unsigned int idx, vtkSMProxy *proxy, unsigned int inputPort)
void AddUncheckedInputConnection (vtkSMProxy *proxy, unsigned int outputPort)
void SetUncheckedInputConnection (unsigned int idx, vtkSMProxy *proxy, unsigned int inputPort)
virtual void RemoveProxy (vtkSMProxy *proxy)
virtual unsigned int RemoveProxy (vtkSMProxy *proxy, int modify)
virtual unsigned int RemoveUncheckedProxy (vtkSMProxy *proxy)
virtual void RemoveAllUncheckedProxies ()
virtual void ClearUncheckedProxies ()
virtual void RemoveAllProxies ()
virtual void SetNumberOfProxies (unsigned int num)
virtual void SetNumberOfUncheckedProxies (unsigned int num)
virtual void SetProxies (unsigned int numElements, vtkSMProxy *proxies[], unsigned int outputports[])
unsigned int GetOutputPortForConnection (unsigned int idx)
unsigned int GetUncheckedOutputPortForConnection (unsigned int idx)
virtual void SetPortIndex (int)
virtual int GetPortIndex ()
virtual void DeepCopy (vtkSMProperty *src, const char *exceptionClass, int proxyPropertyCopyFlag)

Static Public Member Functions

static vtkSMInputPropertyNew ()
static int IsTypeOf (const char *type)
static vtkSMInputPropertySafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSMInputProperty ()
 ~vtkSMInputProperty ()
virtual void WriteTo (vtkSMMessage *msg)
virtual void RemoveAllProxies (int modify)
virtual int ReadXMLAttributes (vtkSMProxy *parent, vtkPVXMLElement *element)
virtual int LoadState (vtkPVXMLElement *element, vtkSMProxyLocator *loader)
virtual void ReadFrom (const vtkSMMessage *msg, int message_offset, vtkSMProxyLocator *)
virtual vtkPVXMLElementAddProxyElementState (vtkPVXMLElement *propertyElement, unsigned int idx)

Protected Attributes

int MultipleInput
int PortIndex
vtkSMInputPropertyInternals * IPInternals

Detailed Description

proxy representing inputs to a filter

vtkSMInputProperty is a concrete sub-class of vtkSMProperty representing inputs to a filter (through vtkSMProxy). It is a special property that always calls AddInput on a vtkSMSourceProxy. The xml configuration for input proxy supports the following attributes: multiple_input: For an input port that connects multiple connections such as the input of an append filter. port_index: The input port to be used.

See also:
vtkSMInputProperty vtkSMSourceProxy

Definition at line 40 of file vtkSMInputProperty.h.


Constructor & Destructor Documentation

vtkSMInputProperty::vtkSMInputProperty ( ) [protected]
vtkSMInputProperty::~vtkSMInputProperty ( ) [protected]

Member Function Documentation

static vtkSMInputProperty* vtkSMInputProperty::New ( ) [static]

Reimplemented from vtkSMProxyProperty.

virtual const char* vtkSMInputProperty::GetClassName ( ) [virtual]

Reimplemented from vtkSMProxyProperty.

static int vtkSMInputProperty::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkSMProxyProperty.

virtual int vtkSMInputProperty::IsA ( const char *  type) [virtual]

Reimplemented from vtkSMProxyProperty.

static vtkSMInputProperty* vtkSMInputProperty::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkSMProxyProperty.

void vtkSMInputProperty::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::SetMultipleInput ( int  ) [virtual]

Should be set to true if the "input port" this property represents can accept multiple inputs (for example, an append filter)

virtual int vtkSMInputProperty::GetMultipleInput ( ) [virtual]

Should be set to true if the "input port" this property represents can accept multiple inputs (for example, an append filter)

int vtkSMInputProperty::AddInputConnection ( vtkSMProxy proxy,
unsigned int  outputPort,
int  modify 
)

Add a proxy to the list of input proxies. The outputPort controls which outputPort will be used in connecting the pipeline. The proxy is added with corresponding Add and Set methods and can be removed with RemoveXXX() methods as usual.

int vtkSMInputProperty::AddInputConnection ( vtkSMProxy proxy,
unsigned int  outputPort 
) [inline]

Add a proxy to the list of input proxies. The outputPort controls which outputPort will be used in connecting the pipeline. The proxy is added with corresponding Add and Set methods and can be removed with RemoveXXX() methods as usual.

Definition at line 62 of file vtkSMInputProperty.h.

int vtkSMInputProperty::SetInputConnection ( unsigned int  idx,
vtkSMProxy proxy,
unsigned int  inputPort 
)

Add a proxy to the list of input proxies. The outputPort controls which outputPort will be used in connecting the pipeline. The proxy is added with corresponding Add and Set methods and can be removed with RemoveXXX() methods as usual.

void vtkSMInputProperty::AddUncheckedInputConnection ( vtkSMProxy proxy,
unsigned int  outputPort 
)

Add a proxy to the list of input proxies. The outputPort controls which outputPort will be used in connecting the pipeline. The proxy is added with corresponding Add and Set methods and can be removed with RemoveXXX() methods as usual.

void vtkSMInputProperty::SetUncheckedInputConnection ( unsigned int  idx,
vtkSMProxy proxy,
unsigned int  inputPort 
)

Add a proxy to the list of input proxies. The outputPort controls which outputPort will be used in connecting the pipeline. The proxy is added with corresponding Add and Set methods and can be removed with RemoveXXX() methods as usual.

virtual void vtkSMInputProperty::RemoveProxy ( vtkSMProxy proxy) [inline, virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

Definition at line 80 of file vtkSMInputProperty.h.

virtual unsigned int vtkSMInputProperty::RemoveProxy ( vtkSMProxy proxy,
int  modify 
) [virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

virtual unsigned int vtkSMInputProperty::RemoveUncheckedProxy ( vtkSMProxy proxy) [virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::RemoveAllUncheckedProxies ( ) [virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::ClearUncheckedProxies ( ) [virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::RemoveAllProxies ( ) [inline, virtual]

Overridden from superclass to also remove port. See superclass for documentation.

Reimplemented from vtkSMProxyProperty.

Definition at line 88 of file vtkSMInputProperty.h.

virtual void vtkSMInputProperty::SetNumberOfProxies ( unsigned int  num) [virtual]

Sets the number of proxies. If the new number is greater than the current number of proxies, then NULL will be inserted.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::SetNumberOfUncheckedProxies ( unsigned int  num) [virtual]

Sets the number of proxies. If the new number is greater than the current number of proxies, then NULL will be inserted.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::SetProxies ( unsigned int  numElements,
vtkSMProxy proxies[],
unsigned int  outputports[] 
) [virtual]

Sets the value of the property to the list of proxies specified.

virtual void vtkSMInputProperty::SetProxies ( unsigned int  numElements,
vtkSMProxy proxies[] 
) [inline, virtual]

Sets the value of the property to the list of proxies specified.

Reimplemented from vtkSMProxyProperty.

Definition at line 107 of file vtkSMInputProperty.h.

unsigned int vtkSMInputProperty::GetOutputPortForConnection ( unsigned int  idx)

Given an index for a connection (proxy), returns which output port is used to connect the pipeline.

unsigned int vtkSMInputProperty::GetUncheckedOutputPortForConnection ( unsigned int  idx)

Given an index for a connection (proxy), returns which output port is used to connect the pipeline.

virtual void vtkSMInputProperty::SetPortIndex ( int  ) [virtual]

Controls which input port this property uses when making connections. By default, this is 0.

virtual int vtkSMInputProperty::GetPortIndex ( ) [virtual]

Controls which input port this property uses when making connections. By default, this is 0.

virtual void vtkSMInputProperty::Copy ( vtkSMProperty src) [virtual]

Copy all property values.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::DeepCopy ( vtkSMProperty src,
const char *  exceptionClass,
int  proxyPropertyCopyFlag 
) [virtual]

Copy all proxies added to the src over to this by creating new instances for the proxies and inturn calling Copy to copy the proxies. exceptionClass and proxyPropertyCopyFlag are used while copying over the values from the two proxy properties.

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::WriteTo ( vtkSMMessage msg) [protected, virtual]

Let the property write its content into the stream

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::ReadFrom ( const vtkSMMessage msg,
int  message_offset,
vtkSMProxyLocator  
) [protected, virtual]

Let the property read and set its content from the stream

Reimplemented from vtkSMProxyProperty.

virtual void vtkSMInputProperty::RemoveAllProxies ( int  modify) [protected, virtual]

Reimplemented from vtkSMProxyProperty.

virtual int vtkSMInputProperty::ReadXMLAttributes ( vtkSMProxy parent,
vtkPVXMLElement element 
) [protected, virtual]

Set the appropriate ivars from the xml element. Should be overwritten by subclass if adding ivars.

Reimplemented from vtkSMProxyProperty.

virtual vtkPVXMLElement* vtkSMInputProperty::AddProxyElementState ( vtkPVXMLElement propertyElement,
unsigned int  idx 
) [protected, virtual]

Fill state property/proxy XML element with output port attribute

Reimplemented from vtkSMProxyProperty.

virtual int vtkSMInputProperty::LoadState ( vtkPVXMLElement element,
vtkSMProxyLocator loader 
) [protected, virtual]

Updates state from an XML element. Returns 0 on failure.

Reimplemented from vtkSMProxyProperty.


Member Data Documentation

Definition at line 159 of file vtkSMInputProperty.h.

Definition at line 160 of file vtkSMInputProperty.h.

vtkSMInputPropertyInternals* vtkSMInputProperty::IPInternals [protected]

Definition at line 162 of file vtkSMInputProperty.h.


The documentation for this class was generated from the following file: