Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLTriangleStripList Class Reference

#include <TriangleStripList.h>

Inheritance diagram for CSLTriangleStripList::

CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

CSLTriangleStripList Class

Describes a list of CSLTriangleStrips. A mesh can be made up of 3 types of polygons. N-sided polygons (CSLPolygonList), Triangles (CSLTriangleList) and Tri-Strips (CSLTriangleStrip). The CSLTriangleStripList is simply a container of CSLTriangleStrips that share the same material. To access the triangle strips from a CSLMesh object (or to add new ones), you should use this class instead of working with the CSLTriangleStrip class directly.


Member Function Documentation

CSLTriangleStrip * CSLTriangleStripList::AddTriangleStrip  
 

Add a new triangle strip to the list.

Returns:
CSLTriangleStrip* Pointer to the newly created triangle strip object.

SI_Error CSLTriangleStripList::ClearTriangleStrips  
 

Clears the entire list of triangle strips

Returns:
SI_Error Error code

CSLBaseMaterial* CSLTriangleStripList::GetMaterial   [inline]
 

Return the material object of the triangle strip list.

Returns:
CSLBaseMaterial* Texture projection name.

SI_Int CSLTriangleStripList::GetTriangleStripCount  
 

Returns the number of triangle strips in this list

Returns:
SI_Int Number of triangle strips

CSLAnimatableType * CSLTriangleStripList::ParameterFromName SI_Char *    in_szName [virtual]
 

Return a proxy to the specified parameter.

Parameters:
in_szName  Name of the parameter
Returns:
CSLAnimatableType* Pointer to a parameter proxy.

Reimplemented from CSLTemplate.

SI_Error CSLTriangleStripList::RemoveTriangleStrip CSLTriangleStrip   in_pTriangleStrip
 

Remove a single triangle strip from the list.

Parameters:
CSLTriangleStripList  * Pointer to the triangle strip to remove.
Returns:
SI_Error Error code.

SI_Error CSLTriangleStripList::RemoveTriangleStrip SI_Int    in_nIndex
 

Remove a single triangle strip from the list.

Parameters:
SI_Int  Index of the triangle strip to remove.
Returns:
SI_Error Error code.

SI_Void CSLTriangleStripList::SetMaterial CSLBaseMaterial   in_pNewMaterial [inline]
 

Change the material object of the triangle strip list.

Parameters:
CSLBaseMaterial  * New material object.
Returns:
None

SI_Error CSLTriangleStripList::Synchronize   [virtual]
 

Synchronize will ensure that the animated parameter is up to date.

Returns:
SI_Error Error code

Reimplemented from CSLTemplate.

CSLTriangleStrip ** CSLTriangleStripList::TriangleStrips  
 

Returns the list of triangle strips in the object.

Returns:
CSLTriangleStrip** A list of pointers to triangle strips objects.

virtual ETemplateType CSLTriangleStripList::Type   [inline, virtual]
 

Indicate which dotXSI template this object describes.

Returns:
ETemplateType Type of template

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.