Public Types | Public Member Functions

IContainerManager Class Reference

This reference page is linked to from the following overview topics: Containers, Container Manager and Container Objects, Working with Containers.


Search for all occurrences

Detailed Description

The interface for global container functionality.

Operations on a specific container can be accessed through the container itself.

See also:
IContainerObject

#include <IContainerManager.h>

Inheritance diagram for IContainerManager:
Inheritance graph
[legend]

List of all members.

Public Types

enum   { IMPORT_CONTAINER_ID, CREATE_CONTAINER_ID, IS_IN_CONTAINER_ID, IS_CONTAINER_NODE_ID }

Public Member Functions

virtual INode CreateContainer (INodeTab &contentNodes)=0
  Create a container.
virtual INode CreateInheritedContainer (const MaxSDK::AssetManagement::AssetUser &asset)=0
  Inherit a container into the scene.
virtual IContainerObject IsInContainer (INode *node)=0
  Test if a node is in a container or not.
virtual IContainerObject IsContainerNode (INode *node)=0
  Test if a node is a container or not.

Member Enumeration Documentation

anonymous enum

Member Function Documentation

virtual INode* CreateContainer ( INodeTab contentNodes ) [pure virtual]

Create a container.

Returns:
the container node if successfully created
Remarks:
If created, the container node will be selected
The container node will be created at the average of the content nodes, or at the origin if the Tab is empty
Parameters:
[in] contentNodes - Nodes to be added as content of the container
virtual INode* CreateInheritedContainer ( const MaxSDK::AssetManagement::AssetUser asset ) [pure virtual]

Inherit a container into the scene.

Returns:
the container node if a container was successfully inherited
Parameters:
[in] asset - The container asset representing the definition file to be used
Remarks:
If the asset is invalid, the user will be presented with a file dialog.
virtual IContainerObject* IsInContainer ( INode node ) [pure virtual]

Test if a node is in a container or not.

Parameters:
[in] node - The node that we are testing to see if it is in a container
Returns:
the container interface if the node is in a container
virtual IContainerObject* IsContainerNode ( INode node ) [pure virtual]

Test if a node is a container or not.

Parameters:
[in] node - The node that we are testing to see if it is a container
Returns:
the container interface if the node is a container

IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager
IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager IContainerManager