#include <elasticForceNode.h>
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 |
|
Constructor, called through creator() ;. Constructor is called by the creator method. |
|
Destructor. No action related to the destructor method. |
|
Implementation of the boundingBox routine. Otherwise, zoom would not work properly. Bounding box routines. |
|
Actual constructor called from Maya. Calls the constructor. |
|
Here we use OpenGL to draw the locator itself. Draws the locator in Maya using OpenGL. |
|
Member functions from MPxLocatorNode. Defines the attributes of the node. |
|
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. |
|
Node Id and type. Id of the node inside Maya. Must not clash with exisitng ones. |
|
Type name of the node. Defined in the plugIn main. |