MeVisLab Scripting Reference
MLABVectorField Class Referenceabstract

#include <mlabVectorField.h>

Inherits MLABField.

Inherited by MLABBaseDoubleVectorField, and MLABBaseIntVectorField.

Public Slots

Scripting access.


virtual QVariantList vectorValue ()=0
 
virtual void setVectorValue (const QVariantList &value)=0
 
void setValue (const QVariantList &value)
 
void updateVectorValue (const QVariantList &value)
 
void updateValue (const QVariantList &value)
 
virtual QString componentStringValue (int i)=0
 
virtual int size ()=0
 
virtual QVariant numPyValue () const =0
 
- Public Slots inherited from MLABField
bool isInventorField ()
 
bool isMLField ()
 
QString getType () const
 
QString getName () const
 
virtual QString stringValue ()
 
virtual void setStringValue (const QString &)
 
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)
 

Detailed Description

Base field of all vector fields.

Member Function Documentation

◆ componentStringValue

virtual QString MLABVectorField::componentStringValue ( int i)
pure virtualslot

Returns an unformatted string of the value at index i.

Implemented in MLABBaseDoubleVectorField, and MLABBaseIntVectorField.

◆ numPyValue

virtual QVariant MLABVectorField::numPyValue ( ) const
pure virtualslot

◆ setValue

void MLABVectorField::setValue ( const QVariantList & value)
inlineslot

Sets an array of numeric values.

◆ setVectorValue

virtual void MLABVectorField::setVectorValue ( const QVariantList & value)
pure virtualslot

◆ size

virtual int MLABVectorField::size ( )
pure virtualslot

◆ updateValue

void MLABVectorField::updateValue ( const QVariantList & value)
inlineslot

Sets an array of numeric values if different from the current values.

◆ updateVectorValue

void MLABVectorField::updateVectorValue ( const QVariantList & value)
slot

Sets an array of numeric values if different from the current values.

◆ vectorValue

virtual QVariantList MLABVectorField::vectorValue ( )
pure virtualslot

Returns an array of numeric values.

Implemented in MLABBaseDoubleVectorField, and MLABBaseIntVectorField.