SM_DefaultCollisionGroupManager Class Reference

#include <SM_DefaultCollisionGroupManager.h>

List of all members.

Public Member Functions

 SM_DefaultCollisionGroupManager ()
 ~SM_DefaultCollisionGroupManager ()
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

DefaultCollisionGroupManager * 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


Constructor & Destructor Documentation

SM_DefaultCollisionGroupManager::SM_DefaultCollisionGroupManager (  ) 

SM_DefaultCollisionGroupManager::~SM_DefaultCollisionGroupManager (  )  [inline]


Member Function Documentation

bool SM_DefaultCollisionGroupManager::isBounded (  )  const [inline]

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

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

method called each time an attribute needs to be evaluated

void * SM_DefaultCollisionGroupManager::creator (  )  [static]

return a new instance of the node

MStatus SM_DefaultCollisionGroupManager::initialize (  )  [static]

build the attributes of the node

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

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

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

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

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

creates the dependencies between attributes

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

to display the object on 3d opengl scene

MStatus SM_DefaultCollisionGroupManager::setSofaOutSending ( MDataBlock &  data  ) 

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

MStatus SM_DefaultCollisionGroupManager::buildSofaObject ( const MPlug &  plug  ) 

build the sofaObject representing the node

Parameters:
plug : the input mesh connected

MStatus SM_DefaultCollisionGroupManager::updateAttributes ( MDataBlock &  data  ) 

update the sofa object parameters from the maya node attributes

MStatus SM_DefaultCollisionGroupManager::getSofaImported ( const MPlug &  plug  ) 

build the sofa object from a sofa scene file

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

MStatus SM_DefaultCollisionGroupManager::importAttributes ( MDataBlock &  data  ) 

set the maya attributes values from the object ones


Member Data Documentation

const MTypeId SM_DefaultCollisionGroupManager::typeId [static]

the id of the node

MObject SM_DefaultCollisionGroupManager::attSofaInComing [static, protected]

the input Object

maya attributes

MObject SM_DefaultCollisionGroupManager::attSofaOutSending [static, protected]

data storing the sofa object to send it to other nodes

MObject SM_DefaultCollisionGroupManager::attUpdated [static, protected]

the sofaObject has been updated

MObject SM_DefaultCollisionGroupManager::attSofaImport [static, protected]

was the mech obj imported from .scn

DefaultCollisionGroupManager* SM_DefaultCollisionGroupManager::sofaObject [protected]

Sofa Data.

to edit the sofa datafields in maya

bool SM_DefaultCollisionGroupManager::justConnected [protected]

bool to know if a connection had just been made

bool SM_DefaultCollisionGroupManager::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