SM_FixedPlaneConstraint Class Reference

#include <SM_FixedPlaneConstraint.h>

List of all members.

Public Member Functions

 SM_FixedPlaneConstraint ()
 ~SM_FixedPlaneConstraint ()
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
void draw (M3dView &view, const MDagPath &path, M3dView::DisplayStyle style, M3dView::DisplayStatus)
 to display the object on 3d opengl scene
MStatus setSofaOutSending (MDataBlock &data)
 build the data storing the pointer to the sofaObject representing the node
MStatus buildSofaObject (const MPlug &plug)
MStatus updateAttributes (MDataBlock &data)
 update the sofa object parameters from the maya node attributes
MStatus getSofaImported (const MPlug &plug)
MStatus importAttributes (MDataBlock &data)
 set the maya attributes values from the object ones

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
 the id of the node

Protected Attributes

FixedPlaneConstraint< Vec3dTypes > * sofaObject
 Sofa Data.
bool justConnected
 bool to know if a connection had just been made
bool imported
 bool to know if the object was imported

Static Protected Attributes

static MObject attSofaInComing
 the input Object
static MObject attSofaOutSending
 data storing the sofa object to send it to other nodes
static MObject attUpdated
 the sofaObject has been updated
static MObject attSofaImport
 was the mech obj imported from .scn
static MObject attEndTime


Constructor & Destructor Documentation

SM_FixedPlaneConstraint::SM_FixedPlaneConstraint (  ) 

SM_FixedPlaneConstraint::~SM_FixedPlaneConstraint (  )  [inline]


Member Function Documentation

bool SM_FixedPlaneConstraint::isBounded (  )  const [inline]

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

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

method called each time an attribute needs to be evaluated

void * SM_FixedPlaneConstraint::creator (  )  [static]

return a new instance of the node

MStatus SM_FixedPlaneConstraint::initialize (  )  [static]

build the attributes of the node

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

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

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

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

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

creates the dependencies between attributes

void SM_FixedPlaneConstraint::draw ( M3dView &  view,
const MDagPath &  path,
M3dView::DisplayStyle  style,
M3dView::DisplayStatus   
)

to display the object on 3d opengl scene

MStatus SM_FixedPlaneConstraint::setSofaOutSending ( MDataBlock &  data  ) 

build the data storing the pointer to the sofaObject representing the node

MStatus SM_FixedPlaneConstraint::buildSofaObject ( const MPlug &  plug  ) 

build the sofaObject representing the node

Parameters:
plug : the input mesh connected

MStatus SM_FixedPlaneConstraint::updateAttributes ( MDataBlock &  data  ) 

update the sofa object parameters from the maya node attributes

MStatus SM_FixedPlaneConstraint::getSofaImported ( const MPlug &  plug  ) 

build the sofa object from a sofa scene file

Parameters:
plug : the sofaObject imported (getting from importer node)

MStatus SM_FixedPlaneConstraint::importAttributes ( MDataBlock &  data  ) 

set the maya attributes values from the object ones


Member Data Documentation

const MTypeId SM_FixedPlaneConstraint::typeId [static]

the id of the node

MObject SM_FixedPlaneConstraint::attSofaInComing [static, protected]

the input Object

maya attributes

MObject SM_FixedPlaneConstraint::attSofaOutSending [static, protected]

data storing the sofa object to send it to other nodes

MObject SM_FixedPlaneConstraint::attUpdated [static, protected]

the sofaObject has been updated

MObject SM_FixedPlaneConstraint::attSofaImport [static, protected]

was the mech obj imported from .scn

MObject SM_FixedPlaneConstraint::attEndTime [static, protected]

to edit the sofa datafields in maya

FixedPlaneConstraint<Vec3dTypes>* SM_FixedPlaneConstraint::sofaObject [protected]

Sofa Data.

bool SM_FixedPlaneConstraint::justConnected [protected]

bool to know if a connection had just been made

bool SM_FixedPlaneConstraint::imported [protected]

bool to know if the object was imported


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