Public Member Functions | Static Public Member Functions

ICustAttribCollapseManager Class Reference

Search for all occurrences

Detailed Description

This interface provides access for setting and querying the state of flag that defines whether a Custom Attribute should survive a stack collapse.

When the calling code needs to collapse the stack, it should bracket the call with an Enumeration using a class derived from GeomPipelineEnumProc. Now the maxsdk contains two types of enumeration callbacks. One which collapses the stack with out any regard to Custom Attributes, and another that will copy Custom Attributes to the base object. The calling code can find out which to use by using this interface, the user can set the state of flag explicitly defining the path to take.

The calling code should only really need to query the flag, and not set it. The user will most likely control the flag

#include <ICustAttribCollapseManager.h>

Inheritance diagram for ICustAttribCollapseManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool  GetCustAttribSurviveCollapseState ()=0
  Gets the current state of the survive stack collapse flag.
virtual void  SetCustAttribSurviveCollapseState (bool state)=0
  Sets the current state of the survive stack collapse flag.
virtual bool  GetRetainSubAnimCustAttribs ()=0
  Gets the current state of the retain subAnim Custom Attributes flag.
virtual void  SetRetainSubAnimCustAttribs (bool state)=0
  Sets the current state of the retain subAnim Custom Attributes flag.

Static Public Member Functions

static ICustAttribCollapseManager GetICustAttribCollapseManager ()
  Returns an instance of the ICustAttribCollapseManager interface.

Member Function Documentation

virtual bool GetCustAttribSurviveCollapseState ( ) [pure virtual]

Gets the current state of the survive stack collapse flag.

virtual void SetCustAttribSurviveCollapseState ( bool  state ) [pure virtual]

Sets the current state of the survive stack collapse flag.

virtual bool GetRetainSubAnimCustAttribs ( ) [pure virtual]

Gets the current state of the retain subAnim Custom Attributes flag.

virtual void SetRetainSubAnimCustAttribs ( bool  state ) [pure virtual]

Sets the current state of the retain subAnim Custom Attributes flag.

static ICustAttribCollapseManager* GetICustAttribCollapseManager ( ) [inline, static]

Returns an instance of the ICustAttribCollapseManager interface.

                                                                       { 
        return static_cast<ICustAttribCollapseManager*>(GetCOREInterface(CUSTATTRIB_COLLAPSE_MANAGER));
    }

ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager
ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager ICustAttribCollapseManager