#include <vtkSMVectorProperty.h>
Inheritance diagram for vtkSMVectorProperty:
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMVectorProperty, vtkSMProperty) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned int | GetNumberOfElements ()=0 |
virtual void | SetNumberOfElements (unsigned int num)=0 |
virtual void | Copy (vtkSMProperty *src) |
virtual int | GetRepeatCommand () |
virtual void | SetRepeatCommand (int) |
virtual void | RepeatCommandOn () |
virtual void | RepeatCommandOff () |
virtual int | GetNumberOfElementsPerCommand () |
virtual void | SetNumberOfElementsPerCommand (int) |
virtual int | GetUseIndex () |
virtual void | SetUseIndex (int) |
virtual void | UseIndexOn () |
virtual void | UseIndexOff () |
virtual void | SetCleanCommand (const char *) |
virtual char * | GetCleanCommand () |
Protected Member Functions | |
vtkSMVectorProperty () | |
~vtkSMVectorProperty () | |
virtual int | ReadXMLAttributes (vtkSMProxy *parent, vtkPVXMLElement *element) |
Protected Attributes | |
int | RepeatCommand |
int | NumberOfElementsPerCommand |
int | UseIndex |
char * | CleanCommand |
vtkSMVectorProperty defines an interface common to all vector properties as well as some common settings. A vector property contains a list of values passed to one or more invocations of a command. How the values are distributed to the different invocations is controlled by several parameters.
Definition at line 30 of file vtkSMVectorProperty.h.
|
|
|
|
|
|
|
Reimplemented from vtkSMProperty. Reimplemented in vtkSMDoubleVectorProperty, vtkSMIdTypeVectorProperty, vtkSMIntVectorProperty, and vtkSMStringVectorProperty. |
|
Returns the size of the vector. Implemented in vtkSMDoubleVectorProperty, vtkSMIdTypeVectorProperty, vtkSMIntVectorProperty, and vtkSMStringVectorProperty. |
|
Sets the size of the vector. Implemented in vtkSMDoubleVectorProperty, vtkSMIdTypeVectorProperty, vtkSMIntVectorProperty, and vtkSMStringVectorProperty. |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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. |
|
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. |
|
Copy all property values. Reimplemented from vtkSMProperty. Reimplemented in vtkSMDoubleVectorProperty, vtkSMIdTypeVectorProperty, vtkSMIntVectorProperty, and vtkSMStringVectorProperty. |
|
Set the appropriate ivars from the xml element. Reimplemented from vtkSMProperty. Reimplemented in vtkSMDoubleVectorProperty, vtkSMIdTypeVectorProperty, vtkSMIntVectorProperty, and vtkSMStringVectorProperty. |
|
Definition at line 92 of file vtkSMVectorProperty.h. |
|
Definition at line 93 of file vtkSMVectorProperty.h. |
|
Definition at line 94 of file vtkSMVectorProperty.h. |
|
Definition at line 96 of file vtkSMVectorProperty.h. |