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

#include <vtkSIVectorProperty.h>

Inheritance diagram for vtkSIVectorProperty:
Inheritance graph
[legend]
Collaboration diagram for vtkSIVectorProperty:
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 char * GetInitialString ()
virtual int GetNumberOfElementsPerCommand ()
virtual bool GetUseIndex ()
virtual char * GetCleanCommand ()
virtual char * GetSetNumberCommand ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkSIVectorPropertySafeDownCast (vtkObject *o)

Protected Member Functions

 vtkSIVectorProperty ()
 ~vtkSIVectorProperty ()
virtual void SetCleanCommand (const char *)
virtual void SetSetNumberCommand (const char *)
virtual void SetInitialString (const char *)
virtual bool ReadXMLAttributes (vtkSIProxy *proxyhelper, vtkPVXMLElement *element)

Protected Attributes

char * SetNumberCommand
char * CleanCommand
bool UseIndex
int NumberOfElementsPerCommand
char * InitialString

Detailed Description

Abstract class for SIProperty that hold an array of values. Define the array management API

Definition at line 26 of file vtkSIVectorProperty.h.


Constructor & Destructor Documentation

vtkSIVectorProperty::vtkSIVectorProperty ( ) [protected]
vtkSIVectorProperty::~vtkSIVectorProperty ( ) [protected]

Member Function Documentation

virtual const char* vtkSIVectorProperty::GetClassName ( ) [virtual]
static int vtkSIVectorProperty::IsTypeOf ( const char *  type) [static]
virtual int vtkSIVectorProperty::IsA ( const char *  type) [virtual]
static vtkSIVectorProperty* vtkSIVectorProperty::SafeDownCast ( vtkObject o) [static]
void vtkSIVectorProperty::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual int vtkSIVectorProperty::GetNumberOfElementsPerCommand ( ) [virtual]

If RepeatCommand is true, the command is invoked multiple times, each time with NumberOfElementsPerCommand values. 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 1 2 * Invoke obj SetFoo 3 4 *
      Invoke obj SetFoo 5 6 
virtual bool vtkSIVectorProperty::GetUseIndex ( ) [virtual]

If UseIndex and RepeatCommand are true, the property will add an index integer before each command. For example, if UseIndex and RepeatCommand are true, NumberOfElementsPerCommand is 2, the command is SetFoo and the values are 5 6 7 8 9 10, the resulting stream will have:

* Invoke obj SetFoo 0 5 6 * Invoke obj SetFoo 1 7 8 *
      Invoke obj SetFoo 2 9 10 
virtual char* vtkSIVectorProperty::GetCleanCommand ( ) [virtual]

Command that can be used to remove all values. Typically used when RepeatCommand = 1. If set, the clean command is called before the main Command.

virtual char* vtkSIVectorProperty::GetSetNumberCommand ( ) [virtual]

If SetNumberCommand is set, it is called before Command with the number of arguments as the parameter.

virtual char* vtkSIVectorProperty::GetInitialString ( ) [virtual]
virtual void vtkSIVectorProperty::SetCleanCommand ( const char *  ) [protected, virtual]
virtual void vtkSIVectorProperty::SetSetNumberCommand ( const char *  ) [protected, virtual]
virtual void vtkSIVectorProperty::SetInitialString ( const char *  ) [protected, virtual]
virtual bool vtkSIVectorProperty::ReadXMLAttributes ( vtkSIProxy proxyhelper,
vtkPVXMLElement element 
) [protected, virtual]

Set the appropriate ivars from the xml element.

Reimplemented from vtkSIProperty.

Reimplemented in vtkSIVectorPropertyTemplate< T, force_idtype >, and vtkSIStringVectorProperty.


Member Data Documentation

Definition at line 73 of file vtkSIVectorProperty.h.

Definition at line 76 of file vtkSIVectorProperty.h.

Definition at line 77 of file vtkSIVectorProperty.h.

Definition at line 78 of file vtkSIVectorProperty.h.

Definition at line 79 of file vtkSIVectorProperty.h.


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