/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2008 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg Melashenko
 *--------------------------------------------------------------------------
 * @purpose:  Declaration of the class IUVMeshNode
 *   Node for sturing mesh for UVMapper view. This interface adds
 *   functionality for managing material, synchronization and mesh
 *   restoration (certain tools don't pay attention to viewport and can
 *   corrupt UV Mesh)
 *--------------------------------------------------------------------------
 * @created: Tuesday, January 13, 2004 19:58:49
 */

#if !defined(IUVMeshNode_h_included)
#define IUVMeshNode_h_included
//forward declaration of this class might require
namespace scene
{ class IUVMeshNode; };
#include <zmodeler.h>
#include <scene/zmSceneTypes.h>
#include <scene/IMeshNode.h>


namespace scene
{
  
  class IUVMeshNode : public scene::IMeshNode
  {
  public:
    virtual ZRESULT setMaterial(long nMat)=0;
    virtual ZRESULT getMaterial(long& nMat)=0;
    virtual ZRESULT setUVChannel(long nChnl)=0;
    virtual ZRESULT getUVChannel(long& nChnl)=0;
    virtual ZRESULT setTargetNode(scene::IMeshNode* pMeshNode)=0;
    virtual ZRESULT getTargetNode(scene::IMeshNode** ppMeshNode)=0;
  
  };//class IUVMeshNode
};//scene

#endif
