Public Member Functions

GUPInterface Class Reference

This reference page is linked to from the following overview topics: Writing Global Utility Plug-ins (GUPs).


Search for all occurrences

Detailed Description

See also:
Class DllDir, Class Interface, Class ITreeEnumProc.

Description:
This class is available in release 3.0 and later only.

This is an interface class used by GUPs (Global Utility Plug-Ins).

All methods of this class are Implemented by the System.

#include <gupapi.h>

Inheritance diagram for GUPInterface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual HINSTANCE  AppInst ()=0
virtual HWND  AppWnd ()=0
virtual DllDir AppDllDir ()=0
virtual Interface Max ()=0
virtual int  EnumTree (ITreeEnumProc *proc)=0

Member Function Documentation

virtual HINSTANCE AppInst ( ) [pure virtual]
Remarks:
Returns the application instance handle of 3ds Max itself.
virtual HWND AppWnd ( ) [pure virtual]
Remarks:
Returns the window handle of 3ds Max's main window.
virtual DllDir* AppDllDir ( ) [pure virtual]
Remarks:
Returns a pointer to an instance of a class which provides access to the DLL Directory. This is a list of every DLL loaded in 3ds Max
virtual Interface* Max ( ) [pure virtual]
Remarks:
Returns an interface pointer for calling methods provided by 3ds Max.
virtual int EnumTree ( ITreeEnumProc proc ) [pure virtual]
Remarks:
This may be called to enumerate every INode in the scene.
Parameters:
ITreeEnumProc *proc

This callback object is called once for each INode in the scene.
Returns:
Nonzero if the process was aborted by the callback (TREE_ABORT); otherwise 0.

GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface
GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface GUPInterface