Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLMesh Class Reference

#include <Mesh.h>

Inheritance diagram for CSLMesh::

CSLGeometry CSLPrimitive CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

CSLMesh class

Describes a mesh primitive.

The CSLMesh class is used to manipulate the polygon, tiangle or tri-strip lists.


Member Function Documentation

CSLPolygonList * CSLMesh::AddPolygonList  
 

Add a new polygon list to the mesh.

Returns:
CSLPolygonList* Pointer to the newly created polygon list object.

CSLTriangleList * CSLMesh::AddTriangleList  
 

Add a new triangle list to the mesh.

Returns:
CSLTriangleList* Pointer to the newly created triangle list object.

CSLTriangleStripList * CSLMesh::AddTriangleStripList  
 

Add a new triangle strip list to the mesh.

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

SI_Error CSLMesh::ClearPolygonLists  
 

Clears the entire list of polygon lists

Returns:
SI_Error Error code

SI_Error CSLMesh::ClearTriangleLists  
 

Clears the entire list of triangle lists

Returns:
SI_Error Error code

SI_Error CSLMesh::ClearTriangleStripLists  
 

Clears the entire list of triangle strip lists

Returns:
SI_Error Error code

SI_Error CSLMesh::Fix   [virtual]
 

Clean invalid data from the template.

Returns:
SI_Error Error code

Reimplemented from CSLTemplate.

SI_Int CSLMesh::GetPolygonListCount  
 

Returns the number of polygon lists for this mesh

Returns:
SI_Int Number of polygon lists

SI_Int CSLMesh::GetTriangleListCount  
 

Returns the number of triangle lists for this mesh

Returns:
SI_Int Number of triangle lists

SI_Int CSLMesh::GetTriangleStripListCount  
 

Returns the number of triangle strip lists for this mesh

Returns:
SI_Int Number of triangle strip lists

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

Gets a handle on one of this geometry's parameters by using its name

Parameters:
in_szName  the name of the parameter to get the handle from
Returns:
CSLAnimatableType* the handle to the parameter

Reimplemented from CSLGeometry.

CSLPolygonList ** CSLMesh::PolygonLists  
 

Returns the list of polygon lists used by this mesh

Returns:
CSLPolygonList** A list of CSLPolygonList SI_Int GetTriangleListCount(); SI_Int GetTriangleStripListCount();

SI_Error CSLMesh::RemovePolygonList CSLPolygonList   in_pObject
 

Remove a single polygon list from the mesh.

Parameters:
CSLPolygonList  * Pointer to the polygon list to remove.
Returns:
SI_Error Error code.

SI_Error CSLMesh::RemovePolygonList SI_Int    in_nIndex
 

Remove a single polygon list from the mesh.

Parameters:
SI_Int  Index of the polygon list to remove.
Returns:
SI_Error Error code.

SI_Error CSLMesh::RemoveTriangleList CSLTriangleList   in_pObject
 

Remove a single triangle list from the mesh.

Parameters:
CSLTriangleList  * Pointer to the triangle list to remove.
Returns:
SI_Error Error code.

SI_Error CSLMesh::RemoveTriangleList SI_Int    in_nIndex
 

Remove a single triangle list from the mesh.

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

SI_Error CSLMesh::RemoveTriangleStripList CSLTriangleStripList   in_pObject
 

Remove a single triangle strip list from the mesh.

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

SI_Error CSLMesh::RemoveTriangleStripList SI_Int    in_nIndex
 

Remove a single triangle strip list from the mesh.

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

CSLBaseShape* CSLMesh::Shape   [inline]
 

Return the shape object of the mesh.

Returns:
CSLBaseShape* Pointer to a shape object.

SI_Error CSLMesh::Synchronize   [virtual]
 

Synchronizes this geometry instance with its IO layer representation

Returns:
SI_Error
Return values:
SI_SUCCESS  this function always returns SI_SUCCESS

Reimplemented from CSLGeometry.

CSLTriangleList ** CSLMesh::TriangleLists  
 

Returns the list of triangle lists used by this mesh

Returns:
CSLTriangleList** A list of CSLTriangleList

CSLTriangleStripList ** CSLMesh::TriangleStripLists  
 

Returns the list of triangle strip lists used by this mesh

Returns:
CSLTriangleStripList** A list of CSLTriangleStripList

virtual ETemplateType CSLMesh::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.