COLLADAPolygonList.h

00001 //***************************************************************************************
00002 //
00003 // File supervisor: Crosswalk team
00004 //
00005 // Copyright 2008 Autodesk, Inc.  All rights reserved.  
00006 // Use of this software is subject to the terms of the Autodesk license agreement 
00007 // provided at the time of installation or download, or which otherwise accompanies 
00008 // this software in either electronic or hard copy form.
00009 //
00010 //***************************************************************************************
00011 
00012 #ifndef _COLLADAPOLYGONLIST_H
00013 #define _COLLADAPOLYGONLIST_H
00014 
00015 #include "XSIPolygonList.h"
00016 #include "XSISubComponentList.h"
00017 #include "COLLADATemplate.h"
00018 #include "Material.h"
00019 
00020 
00021 class XSIEXPORT CSLCOLLADAPolygonList
00022     : public CSLXSIPolygonList
00023 {
00024 public:
00031     CSLCOLLADAPolygonList(CSLScene *in_pScene, 
00032                             CSLModel *in_pModel, 
00033                             CdotXSITemplate *in_pTemplate, 
00034                             CCOLLADATemplate *in_pCOLLADATemplate,
00035                             CCOLLADATemplate *in_pVertexDef);
00036 
00039     virtual ~CSLCOLLADAPolygonList();
00040 
00044     virtual CSLXSIIndexList*    AddIndexList();
00045 
00046     virtual SI_Error Synchronize();
00047 
00051     virtual CdotXSITemplates* GetInputSemantics();
00052 
00053 protected:
00054 
00055     CCOLLADATemplate    *m_szTemplate;
00056     CCOLLADATemplate    *m_szSemantic;
00057     CdotXSIParam*       m_pSource;
00058     CdotXSIParam*       m_pCount;
00059     CdotXSIParam*       m_pAttribMaterial;
00060 };
00061 
00062 #endif