SM_ImportCmd Class Reference

#include <SM_ImportCmd.h>

List of all members.

Public Member Functions

 SM_ImportCmd ()
virtual ~SM_ImportCmd ()
virtual MStatus doIt (const MArgList &)
virtual bool isUndoable () const

Static Public Member Functions

static void * creator ()

Private Member Functions

void buildInitialMesh (MechanicalObject< Vec3Types > *mechanic, MObject &parent)
void buildInitialTransform (MechanicalObject< RigidTypes > *mechRigid, MObject &trans)


Constructor & Destructor Documentation

SM_ImportCmd::SM_ImportCmd (  )  [inline]

virtual SM_ImportCmd::~SM_ImportCmd (  )  [inline, virtual]


Member Function Documentation

MStatus SM_ImportCmd::doIt ( const MArgList &   )  [virtual]

method called when the command is runned

virtual bool SM_ImportCmd::isUndoable (  )  const [inline, virtual]

the command is not undoable

static void* SM_ImportCmd::creator (  )  [inline, static]

void SM_ImportCmd::buildInitialMesh ( MechanicalObject< Vec3Types > *  mechanic,
MObject &  parent 
) [private]

the the input mesh from sofa scene imported

Parameters:
mechanic : the mechanical object from which to build the mesh
parent : the parent Maya transformation for the mesh

void SM_ImportCmd::buildInitialTransform ( MechanicalObject< RigidTypes > *  mechRigid,
MObject &  trans 
) [private]

build the input transformation from a MechanicalObject Rigid

Parameters:
mechRigid : the MechanicalObject Rigid from which to build the transformation
trans : the resulting transformation


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