3ds Max C++ API Reference
IAssemblyMgr Class Referenceabstract

#include <iassemblymgr.h>

+ Inheritance diagram for IAssemblyMgr:

Public Types

enum  {
  E_ASSEMBLE , E_DISASSEMBLE , E_OPEN , E_CLOSE ,
  E_EXPLODE , E_ATTACH , E_DETACH , E_CAN_ASSEMBLE ,
  E_CAN_DISASSEMBLE , E_CAN_EXPLODE , E_CAN_OPEN , E_CAN_CLOSE ,
  E_CAN_ATTACH , E_CAN_DETACH , E_IS_ASSEMBLY , E_FILTER_ASSEMBLY
}
 
- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 

Public Member Functions

virtual INodeAssemble (const INodeTab *const nodes=NULL, const MCHAR *name=NULL, const ClassDesc *const cd=NULL, bool select=true)=0
 
virtual bool Disassemble (const INodeTab *const nodes=NULL)=0
 
virtual bool Explode (const INodeTab *const nodes=NULL)=0
 
virtual bool Open (const INodeTab *const nodes=NULL, bool clearSelection=true)=0
 
virtual bool Close (const INodeTab *const nodes=NULL, bool select=true)=0
 
virtual bool Attach (const INodeTab *const nodes=NULL, const INode *const assembly=NULL)=0
 
virtual bool Detach (const INodeTab *const nodes=NULL)=0
 
virtual bool CanAssemble (const INodeTab *const nodes=NULL)=0
 
virtual bool CanDisassemble (const INodeTab *const nodes=NULL)=0
 
virtual bool CanExplode (const INodeTab *const nodes=NULL)=0
 
virtual bool CanOpen (const INodeTab *const nodes=NULL)=0
 
virtual bool CanClose (const INodeTab *const nodes=NULL)=0
 
virtual bool CanAttach (const INodeTab *const nodes=NULL, const INode *const assembly=NULL)=0
 
virtual bool CanDetach (const INodeTab *const nodes=NULL)=0
 
virtual INodeIsAssembly (const INodeTab *const nodes=NULL)=0
 
virtual bool FilterAssembly (const INode *const assemblyHead, const SClass_ID filterSClassID, INodeTab &filteredNodes)=0
 
virtual const HitByNameDlgCallbackGetHitByNameDlgCB () const =0
 
virtual void GetWorldBBox (TimeValue t, INode *assemblyHead, Box3 &worldBBox) const =0
 
- Public Member Functions inherited from FPInterfaceDesc
CoreExport FPInterfaceDesc ()
 
CoreExport FPInterfaceDesc (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, ULONG flag,...)
 
CoreExport ~FPInterfaceDesc ()
 
virtual void Init ()
 
LifetimeType LifetimeControl ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
CoreExport void LoadDescriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *pCD, ULONG flag,...)
 
CoreExport void AppendFunction (int id,...)
 Add a new function to this interface descriptor. More...
 
CoreExport void AppendProperty (int id,...)
 Add a new property to this interface descriptor. More...
 
CoreExport void AppendEnum (int id,...)
 Add a new enum to this interface descriptor. More...
 
CoreExport void SetClassDesc (ClassDesc *i_cd)
 
CoreExport va_list check_fn (va_list ap, int id)
 
CoreExport va_list scan_fn (va_list ap, int id, int index)
 
CoreExport va_list check_prop (va_list ap, int id)
 
CoreExport va_list scan_prop (va_list ap, int id, int index)
 
CoreExport va_list check_enum (va_list ap, EnumID id)
 
CoreExport va_list scan_enum (va_list ap, EnumID id, int index)
 
FPInterfaceDescGetDesc ()
 
Interface_ID GetID ()
 
CoreExport FPFunctionDefGetFnDef (FunctionID fid)
 
ActionTableGetActionTable ()
 
CoreExport void EnableActions (BOOL onOff)
 
virtual CoreExport HINSTANCE HInstance ()
 
virtual CoreExport const MCHARGetRsrcString (StringResID id)
 
- Public Member Functions inherited from FPInterface
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=nullptr)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- 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...
 
- Public Attributes inherited from FPInterfaceDesc
Interface_ID ID
 
MSTR internal_name
 
StringResID description
 
ClassDesccd
 
USHORT flags
 
Tab< FPFunctionDef * > functions
 
Tab< FPPropDef * > props
 
Tab< FPEnum * > enumerations
 
MSPluginClasspc
 
Rolloutrollout
 
ActionTableaction_table
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 
- Protected Member Functions inherited from FPInterfaceDesc
CoreExport void load_descriptor (Interface_ID id, const MCHAR *int_name, StringResID descr, ClassDesc *cd, USHORT flag, va_list ap)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
E_ASSEMBLE 
E_DISASSEMBLE 
E_OPEN 
E_CLOSE 
E_EXPLODE 
E_ATTACH 
E_DETACH 
E_CAN_ASSEMBLE 
E_CAN_DISASSEMBLE 
E_CAN_EXPLODE 
E_CAN_OPEN 
E_CAN_CLOSE 
E_CAN_ATTACH 
E_CAN_DETACH 
E_IS_ASSEMBLY 
E_FILTER_ASSEMBLY 
283  {
284  E_ASSEMBLE,
285  E_DISASSEMBLE,
286  E_OPEN,
287  E_CLOSE,
288  E_EXPLODE,
289  E_ATTACH,
290  E_DETACH,
293  E_CAN_EXPLODE,
294  E_CAN_OPEN,
295  E_CAN_CLOSE,
296  E_CAN_ATTACH,
297  E_CAN_DETACH,
300  };
@ E_ATTACH
Definition: iassemblymgr.h:289
@ E_CLOSE
Definition: iassemblymgr.h:287
@ E_EXPLODE
Definition: iassemblymgr.h:288
@ E_CAN_OPEN
Definition: iassemblymgr.h:294
@ E_CAN_DETACH
Definition: iassemblymgr.h:297
@ E_IS_ASSEMBLY
Definition: iassemblymgr.h:298
@ E_FILTER_ASSEMBLY
Definition: iassemblymgr.h:299
@ E_DISASSEMBLE
Definition: iassemblymgr.h:285
@ E_CAN_ATTACH
Definition: iassemblymgr.h:296
@ E_OPEN
Definition: iassemblymgr.h:286
@ E_DETACH
Definition: iassemblymgr.h:290
@ E_ASSEMBLE
Definition: iassemblymgr.h:284
@ E_CAN_ASSEMBLE
Definition: iassemblymgr.h:291
@ E_CAN_DISASSEMBLE
Definition: iassemblymgr.h:292
@ E_CAN_CLOSE
Definition: iassemblymgr.h:295
@ E_CAN_EXPLODE
Definition: iassemblymgr.h:293

Member Function Documentation

◆ Assemble()

virtual INode* Assemble ( const INodeTab *const  nodes = NULL,
const MCHAR name = NULL,
const ClassDesc *const  cd = NULL,
bool  select = true 
)
pure virtual

◆ Disassemble()

virtual bool Disassemble ( const INodeTab *const  nodes = NULL)
pure virtual

◆ Explode()

virtual bool Explode ( const INodeTab *const  nodes = NULL)
pure virtual

◆ Open()

virtual bool Open ( const INodeTab *const  nodes = NULL,
bool  clearSelection = true 
)
pure virtual

◆ Close()

virtual bool Close ( const INodeTab *const  nodes = NULL,
bool  select = true 
)
pure virtual

◆ Attach()

virtual bool Attach ( const INodeTab *const  nodes = NULL,
const INode *const  assembly = NULL 
)
pure virtual

◆ Detach()

virtual bool Detach ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanAssemble()

virtual bool CanAssemble ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanDisassemble()

virtual bool CanDisassemble ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanExplode()

virtual bool CanExplode ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanOpen()

virtual bool CanOpen ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanClose()

virtual bool CanClose ( const INodeTab *const  nodes = NULL)
pure virtual

◆ CanAttach()

virtual bool CanAttach ( const INodeTab *const  nodes = NULL,
const INode *const  assembly = NULL 
)
pure virtual

◆ CanDetach()

virtual bool CanDetach ( const INodeTab *const  nodes = NULL)
pure virtual

◆ IsAssembly()

virtual INode* IsAssembly ( const INodeTab *const  nodes = NULL)
pure virtual

◆ FilterAssembly()

virtual bool FilterAssembly ( const INode *const  assemblyHead,
const SClass_ID  filterSClassID,
INodeTab filteredNodes 
)
pure virtual

◆ GetHitByNameDlgCB()

virtual const HitByNameDlgCallback* GetHitByNameDlgCB ( ) const
pure virtual

◆ GetWorldBBox()

virtual void GetWorldBBox ( TimeValue  t,
INode assemblyHead,
Box3 worldBBox 
) const
pure virtual