Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLShape Class Reference

Mesh shape class. More...

#include <Shape.h>

Inheritance diagram for CSLShape::

CSLBaseShape CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

Mesh shape class.

Describes a mesh shape

The CSLShape holds the mesh's vertex positions, normals, texture coordinates and color information.


Constructor & Destructor Documentation

CSLShape::CSLShape CSLScene   in_pScene,
CSLModel   in_pModel,
CdotXSITemplate   in_pTemplate,
EShapeType    in_Type
 

Constructor

Parameters:
in_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
in_Type  the type of shape to construct
Returns:
an instance of CSLShape

CSLShape::~CSLShape   [virtual]
 

Destructor


Member Function Documentation

CSLBaseShape::CSLIndexedVector2DArray * CSLShape::CreateIndexedUVCoords  
 

Create an indexed texture coordinates array.

Returns:
CSLIndexedVector2DArray* Pointer to the newly created indexed array.

CSLBaseShape::CSLVector2DArray * CSLShape::CreateUVCoords  
 

Create a texture coordinates array.

Returns:
CSLVector2DArray* Pointer to the newly created array.

SI_Error CSLShape::DestroyUVCoords  
 

Destroy the texture coordinates array.

Returns:
SI_Error Error code.

CSLBaseShape::CSLIndexedVector2DArray * CSLShape::GetIndexedUVCoordList  
 

Return the indexed texture coordinate array proxy.

Returns:
CSLIndexedVector2DArray* Pointer to an array proxy of indexed UV.

SLIndexedVector2D * CSLShape::GetIndexedUVCoordListPtr  
 

Returns an array of SLIndexedVector2D that describes the indexed texture coordinates for this mesh.

Returns:
SLIndexedVector2D* Array of indexed texture coordinates

SI_Int CSLShape::GetUVCoordCount  
 

Return the number of texture coordinates.

Returns:
SI_Int Number of UV.

CSLBaseShape::CSLVector2DArray * CSLShape::GetUVCoordList  
 

Return the texture coordinate array proxy.

Returns:
CSLVector2DArray* Pointer to an array proxy of UV.

CSIBCVector2D * CSLShape::GetUVCoordListPtr  
 

Returns an array of CSIBCVector2D that describes the texture coordinates for this mesh.

Returns:
CSIBCVector2D* Array of texture coordinates

SI_Error CSLShape::Synchronize   [virtual]
 

Synchronizes this shape instance with its IO layer representation

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

Reimplemented from CSLBaseShape.

virtual ETemplateType CSLShape::Type   [inline, virtual]
 

Get the template type

Returns:
ETemplateType the template type of the shape surface

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.