Class SelectFilterCallback

3DS Max Plug-In SDK

Class SelectFilterCallback

See Also: Class InterfaceServer, Class Interface.

class SelectFilterCallback : public InterfaceServer

Description:

This class is available in release 4.0 and later only.

This is a call-back class for the selection filter drop down in the tab panel. This allows plug-ins to add additional filters to this list.

Methods:

public:

Prototype:

virtual TCHAR* GetName()=0;

Remarks:

Returns the name of the filter that will appear in the drop down list in the tab panel.

Prototype:

virtual BOOL IsFiltered(SClass_ID sid, Class_ID cid, INode *node) = 0;

Remarks:

This is the method that does the filtering of the node. It returns TRUE if the node may be selected; FALSE if it is not selectable.

Parameters:

SClass_ID sid

The Super Class ID of the node.

Class_ID cid

The Class ID of the node.

INode *node

Points to the node to check.