Shape_35.h



Your Ad Here

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Softimage 3D Games & 3D Bridge team
00004 //
00005 // (c) Copyright 2001-2002 Avid Technology, Inc. . All rights reserved.
00006 //
00007 //***************************************************************************************
00008 
00009 /****************************************************************************************
00010 THIS CODE IS PUBLISHED AS A SAMPLE ONLY AND IS PROVIDED "AS IS".
00011 IN NO EVENT SHALL SOFTIMAGE, AVID TECHNOLOGY, INC. AND/OR THEIR RESPECTIVE
00012 SUPPLIERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
00013 DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00014 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
00015 CONNECTION WITH THE USE OR PERFORMANCE OF THIS CODE .
00016 
00017 COPYRIGHT NOTICE. Copyright © 1999-2002 Avid Technology Inc. . All rights reserved. 
00018 
00019 SOFTIMAGE is a registered trademark of Avid Technology Inc. or its subsidiaries 
00020 or divisions. Windows NT is a registered trademark of Microsoft Corp. All other
00021 trademarks contained herein are the property of their respective owners. 
00022 ****************************************************************************************/
00023 
00024 #ifndef _SHAPE_35_H
00025 #define _SHAPE_35_H
00026 
00027 #include "BaseShape.h"
00028 
00029 class CSLUVCoordArray;
00030 
00032 
00041 class XSIEXPORT CSLShape_35
00042     : public CSLBaseShape
00043 {
00044 public:
00052     CSLShape_35(CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, EShapeType in_Type);
00053 
00056     virtual ~CSLShape_35();
00057 
00061     CSLUVCoordArray*                AddUVCoordArray();
00062 
00066     SI_Int                          GetUVCoordArrayCount();
00067 
00071     CSLUVCoordArray**               UVCoordArrays();
00072 
00076     SI_Error                        RemoveUVCoordArray();
00077 
00081     SI_Error                        ClearUVCoordArrays();
00082 
00086     virtual ETemplateType           Type() { return SI_SHAPE35; };
00087 
00092     virtual SI_Error                Synchronize();
00093 
00094 private:
00095     CSIBCArray<CSLUVCoordArray *>   m_UVCoordArrays;
00096 
00097     void *m_pReserved;  // reserved for future extension
00098 };
00099 
00100 #endif

Return to Softimage XSI Index


Your Ad Here