Go to the documentation of this file.
10 #ifndef vtkSMDoubleMapProperty_h
11 #define vtkSMDoubleMapProperty_h
13 #include "vtkRemotingServerManagerModule.h"
16 class vtkSMDoubleMapPropertyPrivate;
29 void SetNumberOfComponents(
unsigned int components);
34 unsigned int GetNumberOfComponents();
39 void SetElement(
vtkIdType index,
double value);
44 void SetElements(
vtkIdType index,
const double* values);
49 void SetElements(
vtkIdType index,
const double* values,
unsigned int numValues);
54 void SetElementComponent(
vtkIdType index,
unsigned int component,
double value);
97 void* GetMapPointer();
129 vtkSMDoubleMapPropertyPrivate* Private;
132 #endif // vtkSMDoubleMapProperty_h
a map property storing double values
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 map properties
superclass for all SM properties
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 PrintSelf(ostream &os, vtkIndent indent) override
int LoadState(vtkPVXMLElement *element, vtkSMProxyLocator *loader) override
Updates state from an XML element.
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.
int ReadXMLAttributes(vtkSMProxy *parent, vtkPVXMLElement *element) override
Set the appropriate ivars from the xml element.
void Copy(vtkSMProperty *src) override
Copy all property values.
static vtkSMProperty * New()
virtual vtkIdType GetNumberOfElements()
Returns the number of elements for the value type.