MeVisLab Scripting Reference
MLABColorField Class Reference
Inheritance diagram for MLABColorField:
MLABVector3Field MLABDoubleVectorField MLABBaseDoubleVectorField MLABVectorField MLABField

Public Slots

Scripting access.


void setColorValue (const QColor &color)
 
void updateColorValue (const QColor &value)
 
QColor colorValue ()
 
QString hexValue ()
 
void setHexValue (const QString &value)
 
void updateHexValue (const QString &value)
 
SbColor inventorValue ()
 
void setValue (const SbColor &value)
 
void updateValue (const SbColor &value)
 
- Public Slots inherited from MLABVector3Field
void setValue (double x, double y, double z)
 
void updateValue (double x, double y, double z)
 
SbVec3d inventorValue ()
 
void setValue (const SbVec3d &value)
 
void setValue (const SbVec3f &value)
 
void updateValue (const SbVec3d &value)
 
void updateValue (const SbVec3f &value)
 
- Public Slots inherited from MLABBaseDoubleVectorField
virtual double value (int i)
 
virtual QString formattedStringValue (const QString &cformat, 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)
 
void disconnectUndoable ()
 
void disconnectOutputsUndoable ()
 
void disconnectAllUndoable ()
 
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)
 

Additional Inherited Members

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

Detailed Description

Field containing a RGB color.

Field containing a RGB color.

Member Function Documentation

◆ colorValue

QColor MLABColorField::colorValue ( )
slot

Returns the color.

◆ hexValue

QString MLABColorField::hexValue ( )
slot

Returns the color hex value in HTML format "#rrggbb".

◆ inventorValue

SbColor MLABColorField::inventorValue ( )
slot

Get value as Inventor value.

◆ setColorValue

void MLABColorField::setColorValue ( const QColor &  color)
slot

Sets the color.

◆ setHexValue

void MLABColorField::setHexValue ( const QString &  value)
slot

Sets the color hex value of the field in HTML format "#rrggbb".

◆ setValue

void MLABColorField::setValue ( const SbColor &  value)
slot

Set value from Inventor value.

◆ updateColorValue

void MLABColorField::updateColorValue ( const QColor &  value)
slot

Sets the color value if different from the current value.

◆ updateHexValue

void MLABColorField::updateHexValue ( const QString &  value)
slot

Sets the color hex value if different from the current value.

◆ updateValue

void MLABColorField::updateValue ( const SbColor &  value)
slot

Update value from Inventor value.