IDaylightControlledLightSystem.h

Go to the documentation of this file.
00001 //*****************************************************************************/
00002 // Copyright (c) 1998-2007 Autodesk, Inc.
00003 // All rights reserved.
00004 // 
00005 // These coded instructions, statements, and computer programs contain
00006 // unpublished proprietary information written by Autodesk, Inc., and are
00007 // protected by Federal copyright law. They may not be disclosed to third
00008 // parties or copied or duplicated in any form, in whole or in part, without
00009 // the prior written consent of Autodesk, Inc.
00010 //*****************************************************************************/
00011 /*===========================================================================*\
00012  | 
00013  |  AUTH:   Michael Zyracki
00014  |         
00015 \*===========================================================================*/
00016 
00017 #pragma once
00018 
00019 #include "BaseInterface.h"
00020 #include "Maxtypes.h"
00021 #include "IDaylightSystem.h"
00022 
00024 #define DAYLIGHT_CONTROLLED_LIGHT_SYSTEM Interface_ID(0x257c2747, 0x78cf4e71)
00025 
00027 
00039 #define IDCLS_ILLEGAL_VALUE     -9999.0f
00040 class IDaylightControlledLightSystem : public BaseInterface {
00041 public:
00042 
00044     struct DaylightSimulationParams
00045     {
00046         float mDryBulbTemperature;
00047         float mDewPointTemperature;
00048         float mDirectNormalIrradiance;  
00049         float mDiffuseHorizontalIrradiance;  
00050         float mDirectNormalIlluminance;     
00051         float mDiffuseHorizontalIlluminance; 
00052         float mZenithLuminance;
00053 
00054     };
00055 
00058     virtual Interface_ID GetID() { return  DAYLIGHT_CONTROLLED_LIGHT_SYSTEM; };
00059     
00061     virtual ~IDaylightControlledLightSystem() {};
00062 
00066     virtual void ControlledByDaylightSystem(IDaylightSystem2 *dls,bool val) =0;
00067 
00072     virtual void SetSimulationParams(IDaylightControlledLightSystem::DaylightSimulationParams &params) =0;
00073 };
00074