This reference page is linked to from the following overview topics: Iterating over Layers by Name.
#include <ilayermanager.h>
This class is an interface to the layer manager.
Note that some methods of this class are not functional in 3ds Max (only in 3D Studio VIZ). To get a pointer to the global instance of this class use the following code:
ILayerManager* manager = GetCOREInterface13()->GetLayerManager();
Public Member Functions |
|
| SClass_ID | SuperClassID () |
| Retrieves a constant representing the type
of the plugin. |
|
| virtual bool | AddLayer (ILayer *layer)=0 |
| virtual ILayer * | CreateLayer (void)=0 |
| virtual ILayer * | CreateLayer (MSTR &name)=0 |
| virtual BOOL | DeleteLayer (const MSTR &name)=0 |
| virtual void | SetCurrentLayer (const MSTR &name)=0 |
| virtual void | SetCurrentLayer (void)=0 |
| virtual ILayer * | GetCurrentLayer (void) const =0 |
| virtual void | EditLayer (const MSTR &name)=0 |
| virtual void | DoLayerPropDialog (HWND hWnd)=0 |
| virtual int | GetLayerCount (void)=0 |
| virtual ILayer * | GetLayer (int) const =0 |
| Gets the specified layer by index. |
|
| virtual ILayer * | GetLayer (const MSTR &name) const =0 |
| virtual void | DoLayerSelDialog (HWND hWnd)=0 |
| virtual void | SetupToolList2 (HWND hWnd, HWND hParent)=0 |
| virtual void | ExtendMenu (HMENU hMenu, bool geometry=true, bool grid=false)=0 |
| virtual MSTR | GetSavedLayer (int i) const =0 |
| virtual ILayer * | GetRootLayer () const =0 |
| virtual void | Reset (BOOL fileReset=FALSE)=0 |
| virtual void | SelectObjectsByLayer (HWND hWnd)=0 |
| virtual void | SetPropagateToLayer (int prop)=0 |
| virtual int | GetPropagateToLayer (void)=0 |
Static Public Attributes |
|
| static const SClass_ID | kLayerManagerSuperClassID |
| The super class ID of the layer manager
interface. |
|
| SClass_ID SuperClassID | ( | ) | [inline, virtual] |
Retrieves a constant representing the type of the plugin.
Reimplemented from ReferenceTarget.
{ return kLayerManagerSuperClassID; }
| virtual bool AddLayer | ( | ILayer * | layer | ) | [pure virtual] |
| virtual ILayer* CreateLayer | ( | void | ) | [pure virtual] |
| virtual BOOL DeleteLayer | ( | const MSTR & | name | ) | [pure virtual] |
| name | - The name for the layer. |
| virtual void SetCurrentLayer | ( | const MSTR & | name | ) | [pure virtual] |
| virtual void SetCurrentLayer | ( | void | ) | [pure virtual] |
| virtual ILayer* GetCurrentLayer | ( | void | ) | const [pure virtual] |
| virtual void EditLayer | ( | const MSTR & | name | ) | [pure virtual] |
| virtual void DoLayerPropDialog | ( | HWND | hWnd | ) | [pure virtual] |
| virtual int GetLayerCount | ( | void | ) | [pure virtual] |
| virtual ILayer* GetLayer | ( | int | ) | const [pure virtual] |
Gets the specified layer by index.
| virtual void DoLayerSelDialog | ( | HWND | hWnd | ) | [pure virtual] |
| virtual void SetupToolList2 | ( | HWND | hWnd, |
| HWND | hParent | ||
| ) | [pure virtual] |
| virtual void ExtendMenu | ( | HMENU | hMenu, |
| bool | geometry = true, |
||
| bool | grid = false |
||
| ) | [pure virtual] |
| virtual MSTR GetSavedLayer | ( | int | i | ) | const [pure virtual] |
| virtual ILayer* GetRootLayer | ( | ) | const [pure virtual] |
| virtual void Reset | ( | BOOL | fileReset = FALSE |
) | [pure virtual] |
| virtual void SelectObjectsByLayer | ( | HWND | hWnd | ) | [pure virtual] |
| virtual void SetPropagateToLayer | ( | int | prop | ) | [pure virtual] |
| virtual int GetPropagateToLayer | ( | void | ) | [pure virtual] |
const SClass_ID
kLayerManagerSuperClassID
[static] |
The super class ID of the layer manager interface.