MeVisLab Scripting Reference
|
#include <mlabSoNodeField.h>
Inherits MLABField.
Public Slots | |
Scripting access. | |
| |
SoNode * | object () const |
void | setObject (SoNode *object) |
bool | isNodeDerivedFrom (const QString &name) |
QString | nodeType () |
bool | isNull () const |
QString | persistentString () |
void | setPersistentString (const QString &string) |
Public Slots inherited from MLABField | |
bool | isInventorField () |
bool | isMLField () |
QString | getType () const |
QString | getName () const |
virtual QString | persistentStringValue () |
virtual void | setPersistentStringValue (const QString &value) |
QString | truncatedStringValue (int maxChars=80) |
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) |
Signals | |
void | valueChanged () |
Public Member Functions | |
void | setStringValue (const QString &) override |
QString | stringValue () override |
QString | stringValueForProfiling () override |
A field containing a SoNode pointer value.
|
slot |
Returns whether the contained node is derived from the class given as a name.
|
slot |
Return true if no SoNode is set on this field.
|
slot |
Returns the type of the contained node.
|
inlineslot |
Returns the pointer to the SoNode object.
|
slot |
Returns the persistent string of the SoNode object.
|
inlineslot |
Sets the pointer to the SoNode object.
|
slot |
Sets the persistent string of the base SoNode and touches it.
|
inlineoverridevirtual |
Sets the value of the field as a string value.
Reimplemented from MLABField.
|
inlineoverridevirtual |
Returns the value of the field as a string value.
Reimplemented from MLABField.
|
overridevirtual |
Returns the string value used for profiling, default returns the string value.
NOTE: be careful on how you re-implement this method in subclasses, since we don't want the profiling to cause side effects, e.g. changing the state of an ML image.
Reimplemented from MLABField.
|
signal |
Signal that is emitted when the field's value changes.