Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLGlobalMaterial Class Reference

Identifies the global material of a model. More...

#include <GlobalMaterial.h>

Inheritance diagram for CSLGlobalMaterial::

CSLTemplate CSIBCNode List of all members.

Public Types

Public Methods


Detailed Description

Identifies the global material of a model.


Member Enumeration Documentation

enum CSLGlobalMaterial::EPropagationType
 

Defines the various propagation types.

Enumeration values:
SI_BRANCH  Branch propagation
SI_NODE  Node propagation
SI_INHERITED  Inherited propagation


Constructor & Destructor Documentation

CSLGlobalMaterial::CSLGlobalMaterial CSLScene   in_pScene,
CSLModel   in_pModel,
CdotXSITemplate   in_pTemplate
 

Constructor.

Parameters:
in_pScene  Parent Scene
in_pModel  Parent Model
in_pTemplate  Parent Template
Returns:
an instance of CSLGlobalMaterial
Note:
If the file contains an invalid propagation type, NODE is assumed.


Member Function Documentation

CSLBaseMaterial * CSLGlobalMaterial::GetMaterial  
 

Get the referenced material.

Returns:
CSLBaseMaterial Pointer to referenced material or null if there's none

CSLGlobalMaterial::EPropagationType CSLGlobalMaterial::GetPropagationType  
 

Get the propagation type.

Returns:
EPropagationType The propagation type

SI_Void CSLGlobalMaterial::SetMaterial CSLBaseMaterial   in_pNewMaterial
 

Set the referenced material.

Parameters:
in_pNewMaterial  Pointer to new refered material.

SI_Void CSLGlobalMaterial::SetPropagationType CSLGlobalMaterial::EPropagationType    in_PropagationType
 

Set the propagation type.

Parameters:
in_PropagationType  New type of propagation tp use

SI_Error CSLGlobalMaterial::Synchronize   [virtual]
 

Synchronize with the parent template data.

Returns:
SI_Error Whether or not data could be updated

Reimplemented from CSLTemplate.

CSLTemplate::ETemplateType CSLGlobalMaterial::Type   [virtual]
 

Returns the type of this template (GLOBAL_MATERIAL).

CSLTemplate::ETemplateType The type of this template (GLOBAL_MATERIAL)

Reimplemented from CSLTemplate.


The documentation for this class was generated from the following files: © Copyright 2001-2003 Avid Technology, Inc. All rights reserved.

© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.