The IBlobMesh class provides access to the UI controls of the Blob Mesh object; adding and removing nodes programatically, and initiating pick mode.
These methods are exposed for MAXScript usage but also be called through the SDK. The interface can be obtained as follows:
//assumes blobMesh points to a Blob Mesh object in the scene IBlobMesh* iblobMesh = (IBlobMesh*)blobMesh->GetInterface(BLOBMESH_INTERFACE);
#include <IBlobMesh.h>
Public Member Functions |
|
BEGIN_FUNCTION_MAP | VFN_1 (blobmesh_addnode, fnAddNode, TYPE_INODE) |
VFN_1 (blobmesh_removenode, fnRemoveNode, TYPE_INODE) | |
VFN_1 (blobmesh_addpfnode, fnAddPFNode, TYPE_INODE) | |
VFN_1 (blobmesh_removepfnode, fnRemovePFNode, TYPE_INODE) | |
VFN_0 (blobmesh_pickmode, fnPickMode) | |
VFN_0 (blobmesh_addmode, fnAddMode) | |
VFN_0 (blobmesh_addpfmode, fnAddPFMode) | |
END_FUNCTION_MAP FPInterfaceDesc * | GetDesc () |
virtual void | fnAddNode (INode *node)=0 |
virtual void | fnRemoveNode (INode *node)=0 |
virtual void | fnAddPFNode (INode *node)=0 |
virtual void | fnRemovePFNode (INode *node)=0 |
virtual void | fnPickMode ()=0 |
virtual void | fnAddMode ()=0 |
virtual void | fnAddPFMode ()=0 |
BEGIN_FUNCTION_MAP VFN_1 | ( | blobmesh_addnode | , |
fnAddNode | , | ||
TYPE_INODE | |||
) |
VFN_1 | ( | blobmesh_removenode | , |
fnRemoveNode | , | ||
TYPE_INODE | |||
) |
VFN_1 | ( | blobmesh_addpfnode | , |
fnAddPFNode | , | ||
TYPE_INODE | |||
) |
VFN_1 | ( | blobmesh_removepfnode | , |
fnRemovePFNode | , | ||
TYPE_INODE | |||
) |
VFN_0 | ( | blobmesh_pickmode | , |
fnPickMode | |||
) |
VFN_0 | ( | blobmesh_addmode | , |
fnAddMode | |||
) |
VFN_0 | ( | blobmesh_addpfmode | , |
fnAddPFMode | |||
) |
END_FUNCTION_MAP FPInterfaceDesc* GetDesc | ( | ) | [virtual] |
Implements FPInterface.
virtual void fnAddNode | ( | INode * | node | ) | [pure virtual] |
virtual void fnRemoveNode | ( | INode * | node | ) | [pure virtual] |
virtual void fnAddPFNode | ( | INode * | node | ) | [pure virtual] |
virtual void fnRemovePFNode | ( | INode * | node | ) | [pure virtual] |
virtual void fnPickMode | ( | ) | [pure virtual] |
virtual void fnAddMode | ( | ) | [pure virtual] |
virtual void fnAddPFMode | ( | ) | [pure virtual] |