Go to the documentation of this file.
13 #ifndef vtkSMIdTypeVectorProperty_h
14 #define vtkSMIdTypeVectorProperty_h
16 #include "vtkRemotingServerManagerModule.h"
46 int SetElement(
unsigned int idx,
vtkIdType value);
57 int SetElements(
const vtkIdType* values,
unsigned int numValues);
64 int SetUncheckedElements(
const vtkIdType* values);
65 int SetUncheckedElements(
const vtkIdType* values,
unsigned int numValues);
95 int AppendElements(
const vtkIdType* values,
unsigned int numValues);
100 int AppendUncheckedElements(
const vtkIdType* values,
unsigned int numValues);
113 vtkIdType GetUncheckedElement(
unsigned int idx);
120 void SetUncheckedElement(
unsigned int idx,
vtkIdType value);
133 const std::vector<vtkIdType>& GetElements()
const;
134 const std::vector<vtkIdType>& GetUncheckedElements()
const;
150 vtkGetMacro(ArgumentIsArray,
int);
151 vtkSetMacro(ArgumentIsArray,
int);
152 vtkBooleanMacro(ArgumentIsArray,
int);
207 vtkInternals* Internals;
void PrintSelf(ostream &os, vtkIndent indent) override
virtual unsigned int GetNumberOfElements()=0
Returns the size of the vector.
virtual void ReadFrom(const vtkSMMessage *, int vtkNotUsed(message_offset), vtkSMProxyLocator *)
Let the property read and set its content from the stream.
abstract superclass for all vector properties
virtual unsigned int GetNumberOfUncheckedElements()=0
API for setting unchecked element values.
int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
virtual void SetNumberOfElements(unsigned int num)=0
Sets the size of the vector.
superclass for all SM properties
virtual int LoadState(vtkPVXMLElement *element, vtkSMProxyLocator *loader)
Updates state from an XML element.
void ClearUncheckedElements() override=0
API for setting unchecked element values.
proxy for a VTK object(s) on a server
virtual void WriteTo(vtkSMMessage *msg)
Let the property write its content into the stream.
virtual void SaveStateValues(vtkPVXMLElement *propertyElement)
This method must be overridden by concrete class in order to save the real property data.
void Copy(vtkSMProperty *src) override
Copy all property values.
virtual void SetNumberOfUncheckedElements(unsigned int num)=0
API for setting unchecked element values.
property representing a vector of integers
virtual void ResetToXMLDefaults()
For properties that support specifying defaults in XML configuration, this method will reset the prop...
is used to locate proxies referred to in state xmls while loading state files.
Class used to retrieve a given message state based on its GlobalID.
static vtkSMProperty * New()