imrPhysicalSkyEnvironmentMap.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  |  FILE:  imrPhysicalSunLight.h
00014  |         
00015  | 
00016  |  AUTH:   Benjamin Cecchetto
00017  |          Nov 7th, 2007
00018  |          
00019 \*===========================================================================*/
00020 
00021 #pragma once
00022 
00023 #include "..\baseinterface.h"
00024 #include "..\maxtypes.h"
00025 
00026 // forward declarations
00027 class Interval;
00028 
00030 #define MRSKYENVSHADER_CLASS_ID Class_ID(0x628e269e, 0x72386abf) 
00031 
00032 #define IID_MR_PHYSICAL_SKY_ENV_MAP Interface_ID(0x72941467, 0x1a8f3ae2)
00033 
00034 class Texmap;
00035 
00037 
00046 class IMRPhysicalSkyEnvironmentMap : public BaseInterface {
00047 public:
00049     virtual Interface_ID GetID() { return IID_MR_PHYSICAL_SKY_ENV_MAP; };
00050     
00052     virtual ~IMRPhysicalSkyEnvironmentMap() {};
00053 
00058 
00059 
00064     virtual bool   getInheritFromSky(TimeValue &t, Interval &valid) const = 0;
00070     virtual bool   setInheritFromSky(TimeValue t, bool inherits) = 0;
00072 
00081 
00082 
00087     virtual bool   getBackgroundEnabled(TimeValue &t, Interval &valid) const = 0;
00093     virtual bool   setBackgroundEnabled(TimeValue t, bool enableBackground) = 0;
00095 
00098 
00099 
00104     virtual float  getSunDiskIntensity(TimeValue &t, Interval &valid) const = 0;
00110     virtual bool   setSunDiskIntensity(TimeValue t, float sunDiskIntensity) = 0;
00112 
00115 
00116 
00121     virtual float  getSunDiskScale(TimeValue &t, Interval &valid) const = 0;
00127     virtual bool   setSunDiskScale(TimeValue t, float sunDiskScale) = 0;
00129 
00132 
00133 
00138     virtual float  getSunGlowIntensity(TimeValue &t, Interval &valid) const = 0;
00144     virtual bool   setSunGlowIntensity(TimeValue t, float sunGlowIntensity) = 0;
00146 
00150 
00151 
00156     virtual Texmap*  getBackground(TimeValue &t, Interval &valid) const = 0;
00162     virtual bool     setBackground(TimeValue t, Texmap* background) = 0;
00164 };
00165