Main Page   Compound List   File List   Compound Members  

elasticForceNode Class Reference

Elastic node behavior in Maya. More...

#include <elasticForceNode.h>

List of all members.

Public Methods

 elasticForceNode ()
 Constructor, called through creator() ;. More...

 ~elasticForceNode ()
 Destructor. More...

virtual void draw (M3dView &view, const MDagPath &path, M3dView::DisplayStyle style, M3dView::DisplayStatus status)
 Here we use OpenGL to draw the locator itself. More...

virtual bool isBounded () const
 As our locator is going to provide with its own boundingBox evaluation routine, we tell Maya it is bounded. More...

virtual MBoundingBox boundingBox () const
 Implementation of the boundingBox routine. Otherwise, zoom would not work properly. More...


Static Public Methods

MStatus initialize ()
 Member functions from MPxLocatorNode. More...

void * creator ()
 Actual constructor called from Maya. More...


Static Public Attributes

const MTypeId id
 Node Id and type. More...

const MString typeName


Detailed Description

Elastic node behavior in Maya.

Author:
Javier Romero - Dr Lihua You.
Version:
1.0
Date:
Sept 2005
Note:
Elastic force implementation:
Using id( 0x00501 );
This node generates an elastic force for elastic behaviour in Maya.
Implementation of "Fast generation of 3D deformable moving surfaces" You and Zhang, IEEE 2003
Vertex = node, vertices = nodes.


Constructor & Destructor Documentation

elasticForceNode::elasticForceNode  
 

Constructor, called through creator() ;.

Constructor is called by the creator method.

elasticForceNode::~elasticForceNode  
 

Destructor.

No action related to the destructor method.


Member Function Documentation

MBoundingBox elasticForceNode::boundingBox   const [virtual]
 

Implementation of the boundingBox routine. Otherwise, zoom would not work properly.

Bounding box routines.

void * elasticForceNode::creator   [static]
 

Actual constructor called from Maya.

Calls the constructor.

void elasticForceNode::draw M3dView &    view,
const MDagPath &    path,
M3dView::DisplayStyle    style,
M3dView::DisplayStatus    status
[virtual]
 

Here we use OpenGL to draw the locator itself.

Draws the locator in Maya using OpenGL.

MStatus elasticForceNode::initialize   [static]
 

Member functions from MPxLocatorNode.

Defines the attributes of the node.

bool elasticForceNode::isBounded   const [virtual]
 

As our locator is going to provide with its own boundingBox evaluation routine, we tell Maya it is bounded.

In order to have bounding box evaluation, this function is set to true.


Member Data Documentation

const MTypeId elasticForceNode::id [static]
 

Node Id and type.

Id of the node inside Maya. Must not clash with exisitng ones.

const MString elasticForceNode::typeName [static]
 

Type name of the node. Defined in the plugIn main.


The documentation for this class was generated from the following files:
Generated on Sun Oct 2 11:19:22 2005 for Physically based elastic deformations by doxygen1.2.15