MeVisLab Scripting Reference
MLABIntVector6Field Class Reference

#include <mlabIntVector6Field.h>

Inherits MLABLegacyIntVectorField.

Public Slots

Scripting access.


void setValue (qint64 a, qint64 b, qint64 c, qint64 d, qint64 e, qint64 f)
 
void updateValue (qint64 a, qint64 b, qint64 c, qint64 d, qint64 e, qint64 f)
 
- Public Slots inherited from MLABLegacyIntVectorField
void setValue (const QVariant &value)
 
void updateValue (const QVariant &value)
 
- Public Slots inherited from MLABBaseIntVectorField
virtual qint64 value (int i)
 
- Public Slots inherited from MLABVectorField
void setValue (const QVariantList &value)
 
void updateVectorValue (const QVariantList &value)
 
void updateValue (const QVariantList &value)
 
- Public Slots inherited from MLABField
bool isInventorField ()
 
bool isMLField ()
 
QString getType () const
 
QString getName () const
 
virtual QString stringValue ()
 
virtual QString persistentStringValue ()
 
virtual void setPersistentStringValue (const QString &value)
 
QString truncatedStringValue (int maxChars=80)
 
virtual QString stringValueForProfiling ()
 
virtual void touch ()
 
MLABFieldOwnerowner ()
 
MLABFieldconnectedField ()
 
MLABFieldinputField ()
 
bool isConnected ()
 
bool isConnectedToFieldInSameNetwork ()
 
int outputCount ()
 
MLABFieldoutputField (int index)
 
QList< MLABField * > outputFields ()
 
bool connectFrom (MLABField *field)
 
void disconnect ()
 
void disconnectOutputs ()
 
void disconnectAll ()
 
bool connectFromUndoable (MLABField *field)
 
virtual bool isConnectionPossible (MLABField *field)
 
bool isConnectionInSameNetworkPossible (MLABField *field)
 
bool isInSameNetwork (MLABField *field)
 
virtual QString toolTipInfo ()
 
void setPriority (int aPriority)
 
int priority ()
 
void setProxy (bool flag)
 
bool isProxy ()
 
void setComment (const QString &comment)
 
QString comment ()
 
void setTitle (const QString &title)
 
QString title ()
 
QString fullName () const
 
bool isHidden ()
 
void setHidden (bool flag)
 
bool isIgnored ()
 
void setIgnored (bool flag)
 
bool isFilePath ()
 
void setIsFilePath (bool flag)
 
bool isInterfaceField ()
 
bool isParameterField ()
 
bool isInput ()
 
bool isOutput ()
 
bool isInOut ()
 
QString infoString ()
 
bool isPersistent () const
 
bool isEditable () const
 
bool triggersLoading () const
 
void setTriggersLoading (bool flag)
 

Public Member Functions

QVariant numPyValue () const override
 
void setStringValue (const QString &value) override
 
void setVectorValue (const QVariantList &value) override
 
int size () override
 
- Public Member Functions inherited from MLABBaseIntVectorField
QString componentStringValue (int i) override
 
QVariantList vectorValue () override
 

Additional Inherited Members

- Signals inherited from MLABLegacyIntVectorField
void valueChanged ()
 

Detailed Description

A field containing a vector of 6 integers.

The "value" property of this field is an array with four double values.

# getting value:
array = ctx.field("somefield").vectorValue()
# setting value:
ctx.field("somefield").setVectorValue([1,2,3,4,5,6])

Member Function Documentation

◆ numPyValue()

QVariant MLABIntVector6Field::numPyValue ( ) const
overridevirtual

Get the value as 1D numpy array.

Implements MLABVectorField.

◆ setStringValue()

void MLABIntVector6Field::setStringValue ( const QString & )
overridevirtual

Sets the value of the field as a string value.

Reimplemented from MLABField.

◆ setValue

void MLABIntVector6Field::setValue ( qint64 a,
qint64 b,
qint64 c,
qint64 d,
qint64 e,
qint64 f )
slot

Sets the 6 values of the vector.

◆ setVectorValue()

void MLABIntVector6Field::setVectorValue ( const QVariantList & value)
overridevirtual

Sets an array of double values.

Implements MLABVectorField.

◆ size()

int MLABIntVector6Field::size ( )
overridevirtual

Returns the size of the vector.

Implements MLABVectorField.

◆ updateValue

void MLABIntVector6Field::updateValue ( qint64 a,
qint64 b,
qint64 c,
qint64 d,
qint64 e,
qint64 f )
slot

Sets the values if different from the current values.