ISubMtlMap_BrowserFilter Class Reference
 
 
 
ISubMtlMap_BrowserFilter Class Reference

#include <IMtlBrowserFilter.h>

Inheritance diagram for ISubMtlMap_BrowserFilter:
BaseInterface InterfaceServer MaxHeapOperators

Class Description

See also:
Class IMtlBrowserFilter_Manager, Class IMtlBrowserFilter
Description:
A Mtl/Texmap plugin which wishes to specify filters for its submaps/submaterials may implement this interface. The material editor will use the filters returned by this interface when browsing for sub materials or texmaps.

Public Member Functions

virtual IMtlBrowserFilter GetSubMapFilter (unsigned int i)=0
  Returns a filter for the i-th sub-texmap (indices are identical to those used with class ISubMap).
virtual IMtlBrowserFilter GetSubMtlFilter (unsigned int i)=0
  Returns a filter for the i-th sub-material.
virtual Interface_ID  GetID ()

Member Function Documentation

virtual IMtlBrowserFilter* GetSubMapFilter ( unsigned int  i ) [pure virtual]

Returns a filter for the i-th sub-texmap (indices are identical to those used with class ISubMap).

Parameters:
i - The index of the filter to return
Returns:
The filter at index i
virtual IMtlBrowserFilter* GetSubMtlFilter ( unsigned int  i ) [pure virtual]

Returns a filter for the i-th sub-material.

The (indices are identical to those used with class Mtl). Note that this is only useful for Mtl plugins. Texmap plugins should return NULL.

Parameters:
i - The index of the filter to return
Returns:
The filter at index i
Interface_ID GetID ( ) [inline, virtual]
Remarks:
This method returns the unique interface ID.

Reimplemented from BaseInterface.