ParaView
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSIVectorPropertyTemplate< T, force_idtype > Class Template Reference

#include <vtkSIVectorPropertyTemplate.h>

Inheritance diagram for vtkSIVectorPropertyTemplate< T, force_idtype >:
Inheritance graph
[legend]
Collaboration diagram for vtkSIVectorPropertyTemplate< T, force_idtype >:
Collaboration graph
[legend]

Public Types

typedef vtkSIVectorProperty Superclass
 
- Public Types inherited from vtkSIVectorProperty
typedef vtkSIProperty Superclass
 
- Public Types inherited from vtkSIProperty
typedef vtkObject Superclass
 

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
 
virtual bool GetArgumentIsArray ()
 If ArgumentIsArray is true, multiple elements are passed in as array arguments. More...
 
- Public Member Functions inherited from vtkSIVectorProperty
virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual char * GetInitialString ()
 
virtual int GetNumberOfElementsPerCommand ()
 If RepeatCommand is true, the command is invoked multiple times, each time with NumberOfElementsPerCommand values. More...
 
virtual bool GetUseIndex ()
 If UseIndex and RepeatCommand are true, the property will add an index integer before each command. More...
 
virtual char * GetCleanCommand ()
 Command that can be used to remove all values. More...
 
virtual char * GetSetNumberCommand ()
 If SetNumberCommand is set, it is called before Command with the number of arguments as the parameter. More...
 
- Public Member Functions inherited from vtkSIProperty
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual char * GetXMLName ()
 The name assigned by the xml parser. More...
 
virtual char * GetCommand ()
 The command name used to set the value on the server object. More...
 
virtual bool GetInformationOnly ()
 Is InformationOnly is set to true, this property is used to get information from server instead of setting values. More...
 
virtual bool GetRepeatable ()
 If repeatable, a property can have 1 or more values of the same kind. More...
 
virtual void SetIsInternal (bool)
 This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
 
virtual bool GetIsInternal ()
 This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
 

Protected Member Functions

 vtkSIVectorPropertyTemplate ()
 
 ~vtkSIVectorPropertyTemplate ()
 
virtual bool Push (vtkSMMessage *, int)
 Push a new state to the underneath implementation. More...
 
virtual bool Pull (vtkSMMessage *)
 Pull the current state of the underneath implementation. More...
 
virtual bool ReadXMLAttributes (vtkSIProxy *proxyhelper, vtkPVXMLElement *element)
 Parse the xml for the property. More...
 
bool Push (T *values, int number_of_elements)
 Implements the actual push. More...
 
- Protected Member Functions inherited from vtkSIVectorProperty
 vtkSIVectorProperty ()
 
 ~vtkSIVectorProperty ()
 
virtual void SetCleanCommand (const char *)
 
virtual void SetSetNumberCommand (const char *)
 
virtual void SetInitialString (const char *)
 
- Protected Member Functions inherited from vtkSIProperty
 vtkSIProperty ()
 
 ~vtkSIProperty ()
 
vtkSIObjectGetSIObject (vtkTypeUInt32 globalid)
 Convenience method to obtain a vtkSIObject subclass given its global id. More...
 
virtual void SetCommand (const char *)
 
virtual void SetXMLName (const char *)
 
void SaveValueToCache (vtkSMMessage *proxyStateUpdate, int offset)
 
bool ProcessMessage (vtkClientServerStream &stream)
 Interprets the message. More...
 
const vtkClientServerStreamGetLastResult ()
 Interprets the message. More...
 
vtkObjectBase * GetVTKObject ()
 Interprets the message. More...
 

Protected Attributes

bool ArgumentIsArray
 
- Protected Attributes inherited from vtkSIVectorProperty
char * SetNumberCommand
 
char * CleanCommand
 
bool UseIndex
 
int NumberOfElementsPerCommand
 
char * InitialString
 
- Protected Attributes inherited from vtkSIProperty
char * XMLName
 
char * Command
 
bool InformationOnly
 
bool Repeatable
 
bool IsInternal
 
vtkWeakPointer< vtkSIProxySIProxyObject
 

Additional Inherited Members

- Static Public Member Functions inherited from vtkSIVectorProperty
static int IsTypeOf (const char *type)
 
static vtkSIVectorPropertySafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSIProperty
static vtkSIPropertyNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSIPropertySafeDownCast (vtkObject *o)
 

Detailed Description

template<class T, class force_idtype = int>
class vtkSIVectorPropertyTemplate< T, force_idtype >

Definition at line 28 of file vtkSIVectorPropertyTemplate.h.

Member Typedef Documentation

§ Superclass

template<class T , class force_idtype = int>
typedef vtkSIVectorProperty vtkSIVectorPropertyTemplate< T, force_idtype >::Superclass

Definition at line 31 of file vtkSIVectorPropertyTemplate.h.

Constructor & Destructor Documentation

§ vtkSIVectorPropertyTemplate()

template<class T , class force_idtype = int>
vtkSIVectorPropertyTemplate< T, force_idtype >::vtkSIVectorPropertyTemplate ( )
protected

§ ~vtkSIVectorPropertyTemplate()

template<class T , class force_idtype = int>
vtkSIVectorPropertyTemplate< T, force_idtype >::~vtkSIVectorPropertyTemplate ( )
protected

Member Function Documentation

§ PrintSelf()

template<class T , class force_idtype = int>
void vtkSIVectorPropertyTemplate< T, force_idtype >::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ GetArgumentIsArray()

template<class T , class force_idtype = int>
virtual bool vtkSIVectorPropertyTemplate< T, force_idtype >::GetArgumentIsArray ( )
virtual

If ArgumentIsArray is true, multiple elements are passed in as array arguments.

For example, For example, if RepeatCommand is true, NumberOfElementsPerCommand is 2, the command is SetFoo and the values are 1 2 3 4 5 6, the resulting stream will have:

* * Invoke obj SetFoo array(1, 2)
* * Invoke obj SetFoo array(3, 4)
* * Invoke obj SetFoo array(5, 6)
* 

§ Push() [1/2]

template<class T , class force_idtype = int>
virtual bool vtkSIVectorPropertyTemplate< T, force_idtype >::Push ( vtkSMMessage ,
int   
)
protectedvirtual

Push a new state to the underneath implementation.

Reimplemented from vtkSIProperty.

§ Pull()

template<class T , class force_idtype = int>
virtual bool vtkSIVectorPropertyTemplate< T, force_idtype >::Pull ( vtkSMMessage )
protectedvirtual

Pull the current state of the underneath implementation.

Reimplemented from vtkSIProperty.

§ ReadXMLAttributes()

template<class T , class force_idtype = int>
virtual bool vtkSIVectorPropertyTemplate< T, force_idtype >::ReadXMLAttributes ( vtkSIProxy proxyhelper,
vtkPVXMLElement element 
)
protectedvirtual

Parse the xml for the property.

Reimplemented from vtkSIVectorProperty.

§ Push() [2/2]

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::Push ( T *  values,
int  number_of_elements 
)
protected

Implements the actual push.

Member Data Documentation

§ ArgumentIsArray

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::ArgumentIsArray
protected

Definition at line 74 of file vtkSIVectorPropertyTemplate.h.


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