SM_Importer Class Reference

#include <SM_Importer.h>

List of all members.

Public Member Functions

 SM_Importer ()
 ~SM_Importer ()
bool isBounded () const
MStatus compute (const MPlug &plug, MDataBlock &data)
 method called each time an attribute needs to be evaluated
MStatus connectionMade (const MPlug &plug, const MPlug &otherPlug, bool asSrc)
 method called when the attribute "plug" is connected to "other plug"
MStatus connectionBroken (const MPlug &plug, const MPlug &otherPlug, bool asSrc)
 method called when the attribute "plug" is no more connected to "other plug"
MStatus setDependentsDirty (const MPlug &plugBeingDirtied, MPlugArray &affectedPlugs)
 creates the dependencies between attributes
MStatus buildSofaObjList (MDataBlock &data)
 build the list of the sofa objects data which will be transmitted
void setRoot (GNode *node)
 affects the sofa scene root node
void getTreeObjectsAndNodes (GNode *node, sofa::helper::vector< Base * > &liste)
 recursive method which parse the sofa scene tree

Static Public Member Functions

static void * creator ()
 return a new instance of the node
static MStatus initialize ()
 build the attributes of the node

Static Public Attributes

static const MTypeId typeId

Protected Attributes

GNode * root

Static Protected Attributes

static MObject attRootGNode
 the sofa root node
static MObject attSofaObjList
 the list of sofa objects data
static MObject attToto
 just used to create the dependencies


Constructor & Destructor Documentation

SM_Importer::SM_Importer (  ) 

SM_Importer::~SM_Importer (  )  [inline]


Member Function Documentation

bool SM_Importer::isBounded (  )  const [inline]

MPxLocatorNode inheritance look at maya documentation for more details on these methods

MStatus SM_Importer::compute ( const MPlug &  plug,
MDataBlock &  data 
)

method called each time an attribute needs to be evaluated

void * SM_Importer::creator (  )  [static]

return a new instance of the node

MStatus SM_Importer::initialize (  )  [static]

build the attributes of the node

MStatus SM_Importer::connectionMade ( const MPlug &  plug,
const MPlug &  otherPlug,
bool  asSrc 
)

method called when the attribute "plug" is connected to "other plug"

MStatus SM_Importer::connectionBroken ( const MPlug &  plug,
const MPlug &  otherPlug,
bool  asSrc 
)

method called when the attribute "plug" is no more connected to "other plug"

MStatus SM_Importer::setDependentsDirty ( const MPlug &  plugBeingDirtied,
MPlugArray &  affectedPlugs 
)

creates the dependencies between attributes

MStatus SM_Importer::buildSofaObjList ( MDataBlock &  data  ) 

build the list of the sofa objects data which will be transmitted

void SM_Importer::setRoot ( GNode *  node  )  [inline]

affects the sofa scene root node

void SM_Importer::getTreeObjectsAndNodes ( GNode *  node,
sofa::helper::vector< Base * > &  liste 
)

recursive method which parse the sofa scene tree


Member Data Documentation

const MTypeId SM_Importer::typeId [static]

MObject SM_Importer::attRootGNode [static, protected]

the sofa root node

MObject SM_Importer::attSofaObjList [static, protected]

the list of sofa objects data

MObject SM_Importer::attToto [static, protected]

just used to create the dependencies

GNode* SM_Importer::root [protected]


The documentation for this class was generated from the following files:
Generated on Thu Apr 12 17:46:22 2007 for SofaMaya by  doxygen 1.5.1-p1