Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLShape_35 Class Reference

Mesh shape class for dotXSI 3.5+. More...

#include <Shape_35.h>

Inheritance diagram for CSLShape_35::

CSLBaseShape CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

Mesh shape class for dotXSI 3.5+.

Describes a mesh shape

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

This class allows a shape to contain more than one array of texture coordinates. Also, each array contains information about its texture projetion.


Constructor & Destructor Documentation

CSLShape_35::CSLShape_35 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_35::~CSLShape_35   [virtual]
 

Destructor


Member Function Documentation

CSLUVCoordArray * CSLShape_35::AddUVCoordArray  
 

Add a new texture coordinate array.

Returns:
CSLUVCoordArray* Pointer to the newly created array.

SI_Error CSLShape_35::ClearUVCoordArrays  
 

Remove all texture coordinate arrays.

Returns:
SI_Error Error code.

SI_Int CSLShape_35::GetUVCoordArrayCount  
 

Return the number of texture coordinate arrays.

Returns:
SI_Int Number of UV arrays.

SI_Error CSLShape_35::RemoveUVCoordArray  
 

Remove the last texture coordinate array.

Returns:
SI_Error Error code.

SI_Error CSLShape_35::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_35::Type   [inline, virtual]
 

Get the template type

Returns:
ETemplateType the template type of the shape surface

Reimplemented from CSLTemplate.

CSLUVCoordArray ** CSLShape_35::UVCoordArrays  
 

Return an array of all texture coordinate arrays.

Returns:
CSLUVCoordArray** Array of pointers to UV array.


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.