Presents the Scene node data set as a tree-hierarchy in a modeless window.
Public Member Functions |
|
SceneExplorerDialog () | |
Default constructor. |
|
SceneExplorerDialog (String name) | |
Construct with a name. |
|
SceneExplorerDialog (String name, DataFacade dataFacade) | |
<exclude> |
|
void | UpdateDialogTitle () |
Update tge dialog title from the Explorer
instance name. |
|
Protected Member Functions |
|
virtual void | ResetCommandMenuItemEnabledStates () |
Updates enabled states for menu items
launching Explorer Commands according to Sync Selection settings.
|
|
override void | HandleHotkey (object sender, KeyEventArgs e) |
Handles hotkey key events. |
|
virtual void | ConfigureContextMenu () |
Configures the right-click menu for the
Explorer control. |
|
Properties |
|
override ExplorerControl |
ExplorerControl [get, set] |
The
ExplorerControl inside this dialog. |
MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::SceneExplorerDialog | ( | ) | [inline] |
Default constructor.
MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::SceneExplorerDialog | ( | String | name | ) | [inline] |
Construct with a name.
name |
MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::SceneExplorerDialog | ( | String | name, |
DataFacade | dataFacade | ||
) | [inline] |
<exclude>
Construct with a name and a datafacade.
name | The name of this explorer dialog. |
dataFacade | The datafacade. |
This function is internally used only for performance improvements. Since modifing the properties of explorer control is time-consuming when there are a bunch of nodes, and the time complexity of many algorithms of TreeList are O(n), where n is the number of nodes. We try to speed up the initialization process by first providing a "light" datafacade, set up tree list properties, and finally, we replace the "light" datafacade with a real "heavy" datafacade before the dialog becomes visible. This strategy can improve the performance of opening and closing scene explorer by 30% when there are 10,000 nodes.
virtual void MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::ResetCommandMenuItemEnabledStates | ( | ) | [inline, protected, virtual] |
Updates enabled states for menu items launching Explorer Commands according to Sync Selection settings.
override void MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::HandleHotkey | ( | object | sender, |
KeyEventArgs | e | ||
) | [inline, protected, virtual] |
Handles hotkey key events.
sender | Source of the event. |
e | Data about the event. |
Reimplemented from MaxCustomControls::ExplorerContainer.
void MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::UpdateDialogTitle | ( | ) | [inline] |
Update tge dialog title from the Explorer instance name.
virtual void MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::ConfigureContextMenu | ( | ) | [inline, protected, virtual] |
Configures the right-click menu for the Explorer control.
override ExplorerControl
MaxCustomControls::SceneExplorerControls::SceneExplorerDialog::ExplorerControl
[get, set] |
The ExplorerControl inside this dialog.
Reimplemented from MaxCustomControls::ExplorerContainer.