MeVisLab Scripting Reference
MLABVector3ListField Class Reference

#include <mlabVector3ListField.h>

Inherits MLABListField< T >.

Public Slots

void py_set_ndarray (PyObject *value)
 
Scripting access.


void setValue (const QString &value)
 
void updateValue (const QString &value)
 
void setListValue (const QVariantList &value)
 
void updateListValue (const QVariantList &value)
 

Signals

void valueChanged ()
 

Properties

QVariantList listValue
 
QString value
 

Detailed Description

A field containing a list of Vector3.

The "listValue" property of this field is a list of double value triples.

# getting value:
value = ctx.field("somefield").listValue
# setting value:
ctx.field("somefield").listValue = [[42.0, 43.13, -41.2], [44.2, -13.5, 5.2]]
QString value
String value of the field (for backwards compatibility reasons).
Definition mlabVector3ListField.h:38

Member Function Documentation

◆ py_set_ndarray

void MLABVector3ListField::py_set_ndarray ( PyObject * value)
slot

Set value as a NumPy array.

◆ setListValue

void MLABVector3ListField::setListValue ( const QVariantList & value)
slot

Sets the int value.

◆ setValue

void MLABVector3ListField::setValue ( const QString & value)
inlineslot

Sets the value as string (for backwards compatibility).

◆ updateListValue

void MLABVector3ListField::updateListValue ( const QVariantList & value)
slot

Sets the int value if different from the current value.

◆ updateValue

void MLABVector3ListField::updateValue ( const QString & value)
inlineslot

Sets the value as string if different from the current value.

◆ valueChanged

void MLABVector3ListField::valueChanged ( )
signal

Signal that is emitted when the field's value changes.

Property Documentation

◆ listValue

QVariantList MLABVector3ListField::listValue
readwrite

Vector3 list value of the field.

◆ value

QString MLABVector3ListField::value
readwrite

String value of the field (for backwards compatibility reasons).