3ds Max C++ API Reference
ITabDialogFilter Class Reference

#include <ITabDialog.h>

+ Inheritance diagram for ITabDialogFilter:

Public Member Functions

virtual int AcceptTab (ITabDialogPluginTab *tab)
 Test if the passed tab is acceptable to the dialog being filtered. More...
 
virtual int LaunchDialog (const Class_ID &page=Class_ID(0, 0))
 Launch the dialog for this filter, open the dialog at a specific page. More...
 
virtual ReferenceMakerGetReferenceMaker ()
 The following functions return various information that is likely to be interesting when deciding whether or not to add a tab. More...
 
virtual AnimatableGetAnimatable ()
 Otherwise, if this dialog is the UI for an Animatable, return it here. More...
 
virtual Class_ID GetClassID ()
 Otherwise, If this dialog has some known class ID and super class ID. More...
 
virtual SClass_ID GetSuperClassID ()
 
virtual BaseInterfaceGetInterface (const Interface_ID &id)
 Otherwise, you will need to define a special interface. More...
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
virtual UtilExport Interface_ID GetID ()
 
virtual LifetimeType LifetimeControl ()
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 
- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

See also
Class ITabDialogPluginTab, Class ITabDialogManager
Description:
This interface is used to filter plugin tabs in a tabbed dialog.

Member Function Documentation

◆ AcceptTab()

virtual int AcceptTab ( ITabDialogPluginTab tab)
inlinevirtual

Test if the passed tab is acceptable to the dialog being filtered.

Parameters
tabThe Dialog tab to test
Returns
true if the tabs added by the ITabDialogPluginTab tab are acceptable for this dialog.
216  { return TAB_DIALOG_ADD_TAB; }
@ TAB_DIALOG_ADD_TAB
Definition: ITabDialog.h:136

◆ LaunchDialog()

virtual int LaunchDialog ( const Class_ID page = Class_ID(0,0))
inlinevirtual

Launch the dialog for this filter, open the dialog at a specific page.

Parameters
pageThe ID of the dialog page to open
220 { return IDOK; }

◆ GetReferenceMaker()

virtual ReferenceMaker* GetReferenceMaker ( )
inlinevirtual

The following functions return various information that is likely to be interesting when deciding whether or not to add a tab.

Returns
If this dialog is the UI for a ReferenceMaker, return it here.
225 { return NULL; }
#define NULL
Definition: autoptr.h:18

◆ GetAnimatable()

virtual Animatable* GetAnimatable ( )
inlinevirtual

Otherwise, if this dialog is the UI for an Animatable, return it here.

228 { return (Animatable*)GetReferenceMaker(); }
Definition: Animatable.h:118
virtual ReferenceMaker * GetReferenceMaker()
The following functions return various information that is likely to be interesting when deciding whe...
Definition: ITabDialog.h:225

◆ GetClassID()

virtual Class_ID GetClassID ( )
inlinevirtual

Otherwise, If this dialog has some known class ID and super class ID.

231  {
232  Animatable* a = GetAnimatable();
233  return a ? a->ClassID() : Class_ID(0, 0);
234  }
virtual CoreExport Class_ID ClassID()
Retrieves a constant that uniquely identifies the plugin class.
Definition: maxtypes.h:154
virtual Animatable * GetAnimatable()
Otherwise, if this dialog is the UI for an Animatable, return it here.
Definition: ITabDialog.h:228

◆ GetSuperClassID()

virtual SClass_ID GetSuperClassID ( )
inlinevirtual
235  {
236  Animatable* a = GetAnimatable();
237  return a ? a->SuperClassID() : 0;
238  }
virtual CoreExport SClass_ID SuperClassID()=0
Retrieves a constant representing the type of the plugin.

◆ GetInterface()

virtual BaseInterface* GetInterface ( const Interface_ID id)
inlinevirtual

Otherwise, you will need to define a special interface.

241 { return NULL; }