MLABInventorModule Class Reference
[Modules and NetworksScripting]

Defines an Open Inventor module. More...

Inherits MLABMLModule.

List of all members.

Public Slots

bool isOverride ()
virtual QObject * object ()
void setOverride (bool flag)
Dynamic access to inventor children
void addChild (MLABSoNodeField *field)
void addChildAtIndex (MLABSoNodeField *field, int idx)
MLABSoNodeFieldchildAtIndex (int idx)
void deleteChild (MLABSoNodeField *field)
void deleteChildAtIndex (int idx)
void deleteChildren ()
int getNumChildren ()
void removeChild (MLABSoNodeField *field)
void removeChildAtIndex (int idx)
void removeChildren ()


Detailed Description

Defines an Open Inventor module.

See MLABModule for more methods, MLABInventorModule provides Inventor specific module methods.


Member Function Documentation

void MLABInventorModule::addChild ( MLABSoNodeField field  )  [slot]

add a SoNode field to end of fields

void MLABInventorModule::addChildAtIndex ( MLABSoNodeField field,
int  idx 
) [slot]

add a SoNode field at the given index

MLABSoNodeField* MLABInventorModule::childAtIndex ( int  idx  )  [slot]

get SoNode field at index idx (call owner() to get the module of the field)

void MLABInventorModule::deleteChild ( MLABSoNodeField field  )  [slot]

remove and delete the given child

void MLABInventorModule::deleteChildAtIndex ( int  idx  )  [slot]

remove and delete the child at index idx

void MLABInventorModule::deleteChildren (  )  [slot]

remove and delete all children

int MLABInventorModule::getNumChildren (  )  [slot]

get number of children

bool MLABInventorModule::isOverride (  )  [slot]

is the node in override mode?

virtual QObject* MLABInventorModule::object (  )  [virtual, slot]

Get scripting access to the underlying Inventor module This is only supported for Inventor modules that have a registered CPPObjectWrapper.

Reimplemented from MLABMLModule.

void MLABInventorModule::removeChild ( MLABSoNodeField field  )  [slot]

remove the given child (all ocurences)

void MLABInventorModule::removeChildAtIndex ( int  idx  )  [slot]

remove the child at index idx

void MLABInventorModule::removeChildren (  )  [slot]

remove all children

void MLABInventorModule::setOverride ( bool  flag  )  [slot]

set the override flag (Inventor feature) (this is stored in the network)


Generated on Sat Sep 3 18:38:02 2011 for MeVisLab Scripting Reference by  doxygen 1.5.8