#include <vtkSMDoubleVectorProperty.h>
Inheritance diagram for vtkSMDoubleVectorProperty:
Public Member Functions | |
vtkTypeRevisionMacro (vtkSMDoubleVectorProperty, vtkSMVectorProperty) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual unsigned int | GetNumberOfElements () |
virtual void | SetNumberOfElements (unsigned int num) |
int | SetElement (unsigned int idx, double value) |
int | SetElements1 (double value0) |
int | SetElements2 (double value0, double value1) |
int | SetElements3 (double value0, double value1, double value2) |
int | SetElements4 (double value0, double value1, double value2, double value3) |
double | GetElement (unsigned int idx) |
virtual unsigned int | GetNumberOfUncheckedElements () |
double | GetUncheckedElement (unsigned int idx) |
void | SetUncheckedElement (unsigned int idx, double value) |
virtual void | Copy (vtkSMProperty *src) |
int | SetElements (const double *values) |
double * | GetElements () |
virtual int | GetArgumentIsArray () |
virtual void | SetArgumentIsArray (int) |
Static Public Member Functions | |
vtkSMDoubleVectorProperty * | New () |
Protected Member Functions | |
vtkSMDoubleVectorProperty () | |
~vtkSMDoubleVectorProperty () | |
virtual int | ReadXMLAttributes (vtkSMProxy *parent, vtkPVXMLElement *element) |
virtual void | SaveState (const char *name, ostream *file, vtkIndent indent) |
virtual void | SetNumberOfUncheckedElements (unsigned int num) |
virtual void | AppendCommandToStream (vtkSMProxy *, vtkClientServerStream *stream, vtkClientServerID objectId) |
virtual void | SetSetNumberCommand (const char *) |
virtual char * | GetSetNumberCommand () |
Protected Attributes | |
vtkSMDoubleVectorPropertyInternals * | Internals |
int | ArgumentIsArray |
char * | SetNumberCommand |
vtkSMDoubleVectorProperty is a concrete sub-class of vtkSMVectorProperty representing a vector of doubles.
Definition at line 33 of file vtkSMDoubleVectorProperty.h.
|
|
|
|
|
Reimplemented from vtkSMProperty. |
|
|
|
Reimplemented from vtkSMVectorProperty. |
|
Returns the size of the vector. Implements vtkSMVectorProperty. |
|
Sets the size of the vector. If num is larger than the current number of elements, this may cause reallocation and copying. Implements vtkSMVectorProperty. |
|
Set the value of 1 element. The vector is resized as necessary. Returns 0 if Set fails either because the property is read only or the value is not in all domains. Returns 1 otherwise. |
|
Set the values of all elements. The size of the values array has to be equal or larger to the size of the vector. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Set the values of all elements. The size of the values array has to be equal or larger to the size of the vector. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Set the value of 1st element. The vector is resized as necessary. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Set the values of the first 2 elements. The vector is resized as necessary. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Set the values of the first 3 elements. The vector is resized as necessary. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Set the values of the first 4 elements. The vector is resized as necessary. Returns 0 if Set fails either because the property is read only or one or more of the values is not in all domains. Returns 1 otherwise. |
|
Returns the value of 1 element. |
|
Returns the size of unchecked elements. Usually this is the same as the number of elements but can be different before a domain check is performed. |
|
Returns the value of 1 unchecked element. These are used by domains. SetElement() first sets the value of 1 unchecked element and then calls IsInDomain and updates the value of the corresponding element only if IsInDomain passes. |
|
Set the value of 1 unchecked element. This can be used to check if a value is in all domains of the property. Call this and call IsInDomains(). |
|
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) |
|
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) |
|
Copy all property values. Reimplemented from vtkSMVectorProperty. |
|
Set the appropriate ivars from the xml element. Reimplemented from vtkSMVectorProperty. |
|
Append a command to update the vtk object with the property values(s). The proxy objects create a stream by calling this method on all the modified properties. Reimplemented from vtkSMProperty. |
|
Save the state in XML. Reimplemented from vtkSMProperty. |
|
Sets the size of unchecked elements. Usually this is the same as the number of elements but can be different before a domain check is performed. |
|
If SetNumberCommand is set, it is called before Command with the number of arguments as the parameter. |
|
If SetNumberCommand is set, it is called before Command with the number of arguments as the parameter. |
|
Definition at line 134 of file vtkSMDoubleVectorProperty.h. |
|
Definition at line 136 of file vtkSMDoubleVectorProperty.h. |
|
Definition at line 152 of file vtkSMDoubleVectorProperty.h. |