I3DExDataComponent Struct Reference
[External Interfaces]

Inheritance diagram for I3DExDataComponent:
IMCUnknown TBasicDataComponent

List of all members.

Public Member Functions

virtual MCCOMErr MCCOMAPI GetPostRenderList (TMCArray< IDType > &idArray)=0
virtual boolean MCCOMAPI IsActive (I3DShTreeElement *tree)=0
virtual void MCCOMAPI GetVolumetricList (TMCArray< IDType > &idArray)=0
virtual boolean MCCOMAPI CanImportData (I3DImportData *inImportData)=0
 return true if the component can perform the import operation
virtual boolean MCCOMAPI ImportData (I3DImportData *inImportData)=0
 return true if the component performed the import operation
virtual boolean MCCOMAPI FullReRenderOfPreview ()=0

Detailed Description

A data component is a component that is attached to an object (a light, a camera or an primitive...) and is used to store static or animated parameters.

It call also be used to trigger a post rendering to take place that relies on the data stores in the data component. This also for instance, a post rendering to affect only the objects on which a particular data component is active.

Last it can be used to associate a volumetric effect with an object. For instance a light cone with a given light or a volumetric aura on a primitive.

There are two interfaces to access a dataComponent: The shell interface (I3DShDataComponent) and the external interface (I3DExDataComponent) . You can get one from the other using QueryInterface.

You should use the Shell interface (I3DShDataComponent) to access the component because the Shell will make sure that the parameter map of the external component is valid. This is especially important if the component is animated. For more information on components see the Overview of the SDK.

See also:
I3DShDataComponent

Member Function Documentation

virtual boolean MCCOMAPI I3DExDataComponent::CanImportData ( I3DImportData inImportData  )  [pure virtual]

return true if the component can perform the import operation

Implemented in TBasicDataComponent.

virtual boolean MCCOMAPI I3DExDataComponent::FullReRenderOfPreview (  )  [pure virtual]

Returns true if the associated preview needs to perform a full rendering (by opposition to just render the postrenderer).

Implemented in TBasicDataComponent.

virtual MCCOMErr MCCOMAPI I3DExDataComponent::GetPostRenderList ( TMCArray< IDType > &  idArray  )  [pure virtual]

Fills the array with the class ID of the postrenderer that are enabled by this dataComponent

Parameters:
idArray Reference to the array where the ids should added

Implemented in TBasicDataComponent.

virtual void MCCOMAPI I3DExDataComponent::GetVolumetricList ( TMCArray< IDType > &  idArray  )  [pure virtual]

Returns a list of class IDs of the Volumetric components to instantiate to render this effect

Parameters:
idArray Reference to the array where the ids should added

Implemented in TBasicDataComponent.

virtual boolean MCCOMAPI I3DExDataComponent::ImportData ( I3DImportData inImportData  )  [pure virtual]

return true if the component performed the import operation

Implemented in TBasicDataComponent.

virtual boolean MCCOMAPI I3DExDataComponent::IsActive ( I3DShTreeElement tree  )  [pure virtual]

Returns false if the dataComponent has no effect on this object

Implemented in TBasicDataComponent.


The documentation for this struct was generated from the following file:
Generated on Mon Apr 26 22:47:37 2010 for Carrara SDK Doc by  doxygen 1.6.3