MeVisLab Scripting Reference
|
#include <mlabNumberField.h>
Inherits MLABField.
Inherited by MLABDoubleField, MLABFloatField, and MLABIntegerField.
Public Slots | |
Scripting access. | |
| |
virtual bool | isIntegral () |
virtual double | floatValue () const =0 |
virtual double | doubleValue () const =0 |
virtual qint64 | intValue () const =0 |
virtual void | setFloatValue (double value)=0 |
virtual void | setDoubleValue (double value)=0 |
virtual void | setIntValue (qint64 value)=0 |
double | minValue () |
double | maxValue () |
bool | hasMinValue () |
bool | hasMaxValue () |
MLABNumberField * | minField () |
MLABNumberField * | maxField () |
void | setMinValue (double min) |
void | setMaxValue (double max) |
void | setMinMaxValue (double min, double max) |
void | setMinField (MLABNumberField *min) |
void | setMaxField (MLABNumberField *max) |
void | removeMinValue () |
void | removeMaxValue () |
void | removeMinMaxValue () |
QString | minValueExpression () |
QString | maxValueExpression () |
virtual QString | formattedStringValue (const QString &cformat)=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 () |
MLABFieldOwner * | owner () |
MLABField * | connectedField () |
MLABField * | inputField () |
bool | isConnected () |
bool | isConnectedToFieldInSameNetwork () |
int | outputCount () |
MLABField * | outputField (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) |
Base field for fields containing a single number.
|
pure virtualslot |
Returns the double value.
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
pure virtualslot |
Returns the float value (as double).
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
pure virtualslot |
Returns a formatted string value.
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
slot |
Returns whether this field has a max value.
|
slot |
Returns whether this field has a min value.
|
pure virtualslot |
Returns the int value.
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
inlinevirtualslot |
Returns whether the type is integral (otherwise it's float/double).
Reimplemented in MLABIntegerField.
|
slot |
Returns the maximum field or NULL if none is attached.
|
slot |
Returns the max value if any is set (set via FieldValidator).
|
slot |
Returns the source expression of the max value (either a number, a field name or an expression)
|
slot |
Returns the minimum field or NULL if none is attached.
|
slot |
Returns the min value if any is set (set via FieldValidator).
|
slot |
Returns the source expression of the min value (either a number, a field name or an expression)
|
slot |
Removes the maximum value/field.
|
slot |
Removes the min/max values/fields.
|
slot |
Removes the minimum value/field.
|
pure virtualslot |
Sets the double value.
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
pure virtualslot |
Sets the float value (as double).
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
pure virtualslot |
Sets the int value.
Implemented in MLABDoubleField, MLABFloatField, and MLABIntegerField.
|
slot |
Sets the maximum value via a field.
|
slot |
Sets the maximum value.
|
slot |
Sets the maximum value via a field.
|
slot |
Sets the minimum and the maximum value.
|
slot |
Sets the minimum value.