I3DShTreeElementMember Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShTreeElementMember:

IMCUnknown

List of all members.

Public Member Functions

virtual void MCCOMAPI GetTreeElement (I3DShTreeElement **outTree)=0
virtual void MCCOMAPI SetTreeElement (I3DShTreeElement *inTree)=0


Detailed Description

This interface can be used to get to the Tree Element for extensions that are attached to a Tree Element, but are not a Tree Element. For example, a Light Source may need to get to its Tree Element, or even just to its I3DShLightsource shell interface. Unfortunately, its "Controlling Unknown" is NOT the Tree Element, it is a IComponentAnim that is a member of the I3DShLightsource / I3DShTreeElement object. So it will never reply to a QueryInterface(IID_I3DShTreeElement).

Use this interface in this situation.

This interface is supported by :


Member Function Documentation

virtual void MCCOMAPI I3DShTreeElementMember::GetTreeElement ( I3DShTreeElement **  outTree  )  [pure virtual]

Returns a pointer to the tree element that owns this object.

Parameters:
outTree A pointer to the tree element that owns this object.

virtual void MCCOMAPI I3DShTreeElementMember::SetTreeElement ( I3DShTreeElement *  inTree  )  [pure virtual]

Set the tree element that owns this object. WARNING: this function should not be used. The tree element is set by the application.

Parameters:
inTree A pointer to the tree element that owns this object.


The documentation for this struct was generated from the following file:
Generated on Fri Aug 24 15:19:19 2007 for Carrara SDK Doc by  doxygen 1.5.3