13 #ifndef vtkSMDoubleVectorProperty_h 14 #define vtkSMDoubleVectorProperty_h 44 int SetElement(
unsigned int idx,
double value);
54 int SetElements(
const double* values);
55 int SetElements(
const double* values,
unsigned int numValues);
56 double* GetElements();
63 int SetUncheckedElements(
const double* values);
64 int SetUncheckedElements(
const double* values,
unsigned int numValues);
73 int SetElements1(
double value0);
81 int SetElements2(
double value0,
double value1);
89 int SetElements3(
double value0,
double value1,
double value2);
97 int SetElements4(
double value0,
double value1,
double value2,
double value3);
102 int AppendElements(
const double* values,
unsigned int numValues);
107 int AppendUncheckedElements(
const double* values,
unsigned int numValues);
112 double GetElement(
unsigned int idx);
127 double GetUncheckedElement(
unsigned int idx);
134 void SetUncheckedElement(
unsigned int idx,
double value);
149 vtkGetMacro(ArgumentIsArray,
int);
150 vtkSetMacro(ArgumentIsArray,
int);
209 vtkInternals* Internals;
virtual void SaveStateValues(vtkPVXMLElement *propertyElement)
This method must be overridden by concrete class in order to save the real property data...
virtual void WriteTo(vtkSMMessage *msg)
Let the property write its content into the stream.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void SetNumberOfUncheckedElements(unsigned int num)=0
API for setting unchecked element values.
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
void Copy(vtkSMProperty *src) override
Copy all property values.
virtual void SetNumberOfElements(unsigned int num)=0
Sets the size of the vector.
abstract superclass for all vector properties
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
static vtkSMProperty * New()
implementation for View that includes render window and renderers.
virtual unsigned int GetNumberOfUncheckedElements()=0
API for setting unchecked element values.
property representing a vector of doubles
virtual void ReadFrom(const vtkSMMessage *, int vtkNotUsed(message_offset), vtkSMProxyLocator *)
Let the property read and set its content from the stream.
proxy for a VTK object(s) on a server
is used to locate proxies referred to in state xmls while loading state files.
void ClearUncheckedElements() override=0
API for setting unchecked element values.
virtual void ResetToXMLDefaults()
For properties that support specifying defaults in XML configuration, this method will reset the prop...
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
virtual int LoadState(vtkPVXMLElement *element, vtkSMProxyLocator *loader)
Updates state from an XML element.
int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
virtual bool IsValueDefault()
Returns true if the property's value is different from the default value.
virtual unsigned int GetNumberOfElements()=0
Returns the size of the vector.
Class used to retrieve a given message state based on its GlobalID.