imaterial.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: IMaterial.h
00004 
00005     DESCRIPTION: Material extension Interface class
00006 
00007     CREATED BY: Nikolai Sander
00008 
00009     HISTORY:
00010 
00011  *> Copyright (c) 2000, All Rights Reserved.
00012  **********************************************************************/
00013 #pragma once
00014 
00015 #include "baseinterface.h"
00016 // forward declarations
00017 class MtlBase;
00018 class INode;
00019 
00020 #define IMATERIAL_INTERFACE_ID Interface_ID(0x578773a5, 0x44cc0d7d)
00021 
00027 class IMaterial : public BaseInterface
00028 {
00029 public:
00030     // We'll do this as soon as Animatable derives from GenericInterfaceServer<BaseInterface>
00035     virtual void SetMtl(MtlBase *mtl)=0;
00037     virtual MtlBase *GetMtl()=0;
00038 
00044     virtual void SetINode(INode *node)=0;
00047     virtual INode *GetINode()=0;
00048 };
00049