DisplayFilterCallback Class Reference
 
 
 
DisplayFilterCallback Class Reference

#include <maxapi.h>

Inheritance diagram for DisplayFilterCallback:
InterfaceServer MaxHeapOperators MSDisplayFilterCallback

Class Description

See also:
Class Interface.

Description:
This is a call-back class for the display filter list in the Hide by Category rollup of the Display command panel. This allows plug-ins to add additional filters to this list.
Data Members:
BOOL on;

Determines if the callback is on or off. If a callback is selected in the list in the Display Panel list it is on; else it's off.

Public Member Functions

virtual const MCHAR *  GetName ()=0
virtual BOOL  IsVisible (SClass_ID sid, Class_ID cid, INode *node)=0

Public Attributes

BOOL  on

Member Function Documentation

virtual const MCHAR* GetName ( ) [pure virtual]
Remarks:
Returns the name that will appear in the drop down list in the display panel when the callback is registered.

Implemented in MSDisplayFilterCallback.

virtual BOOL IsVisible ( SClass_ID  sid,
Class_ID  cid,
INode node 
) [pure virtual]
Remarks:
This is the method that does the filtering of the node. It returns TRUE if the node is visible; FALSE if it is not visible.
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.

Implemented in MSDisplayFilterCallback.


Member Data Documentation