naturalLight.h File Reference

naturalLight.h File Reference
#include "ifnpub.h"
#include "GetCOREInterface.h"
#include "Animatable.h"
#include "plugapi.h"

Classes

class  INaturalLightClass
 

class INaturalLightClass: public BaseInterface

More...
 
class  NaturalLightClassBaseImp
 
class  ISunLight
 class ISunLight : public BaseInterface

More...
 
class  SkyLightEval
 class SkyLightEval : public BaseInterface

More...
 
class  ISkyLight
 class ISkyLight : public BaseInterface

More...
 

Macros

#define NATURAL_LIGHT_CLASS_INTERFACE_ID   Interface_ID(0x75985ea5, 0x115c2791)
 
#define SUNLIGHT_INTERFACE_ID   Interface_ID(0x43b76ff2, 0x60ae0d61)
 
#define SKYLIGHT_INTERFACE_ID   Interface_ID(0x47056297, 0x7f8b06e3)
 

Functions

INaturalLightClassGetNaturalLightClass (SClass_ID s, const Class_ID &id)
 
INaturalLightClassGetNaturalLightClass (Animatable *a)
 
INaturalLightClassGetNaturalLightClassInterface (ClassDesc *c)
 
ISunLightGetSunLightInterface (Animatable *o)
 
ISkyLightGetSkyLightInterface (Animatable *o)
 

Macro Definition Documentation

#define NATURAL_LIGHT_CLASS_INTERFACE_ID   Interface_ID(0x75985ea5, 0x115c2791)
#define SUNLIGHT_INTERFACE_ID   Interface_ID(0x43b76ff2, 0x60ae0d61)
#define SKYLIGHT_INTERFACE_ID   Interface_ID(0x47056297, 0x7f8b06e3)

Function Documentation

INaturalLightClass* GetNaturalLightClass ( SClass_ID  s,
const Class_ID id 
)
inline
113 {
114  return static_cast<INaturalLightClass*>( GetInterface(s, id, NATURAL_LIGHT_CLASS_INTERFACE_ID) );
115 }
class INaturalLightClass: public BaseInterface
Definition: naturalLight.h:85
#define NATURAL_LIGHT_CLASS_INTERFACE_ID
Definition: naturalLight.h:57
CoreExport FPInterface * GetInterface(SClass_ID super, Class_ID cls, Interface_ID id)
Get ID'd interface from ClassDesc for given class/sclass.
INaturalLightClass* GetNaturalLightClass ( Animatable a)
inline
118 {
119  return a == NULL ? NULL
121 }
virtual CoreExport Class_ID ClassID()
Retrieves a constant that uniquely identifies the plugin class.
INaturalLightClass * GetNaturalLightClass(SClass_ID s, const Class_ID &id)
Definition: naturalLight.h:112
#define NULL
Definition: autoptr.h:18
virtual CoreExport SClass_ID SuperClassID()=0
Retrieves a constant representing the type of the plugin.
INaturalLightClass* GetNaturalLightClassInterface ( ClassDesc c)
inline
136 {
138 }
class INaturalLightClass: public BaseInterface
Definition: naturalLight.h:85
#define NATURAL_LIGHT_CLASS_INTERFACE_ID
Definition: naturalLight.h:57
virtual CoreExport FPInterface * GetInterface(Interface_ID id)
Returns a pointer to the function publishing interface whose ID is specified.
ISunLight* GetSunLightInterface ( Animatable o)
inline
164 {
165  return static_cast<ISunLight*>(o->GetInterface(SUNLIGHT_INTERFACE_ID));
166 }
#define SUNLIGHT_INTERFACE_ID
Definition: naturalLight.h:140
class ISunLight : public BaseInterface
Definition: naturalLight.h:154
virtual CoreExport void * GetInterface(ULONG id)
ISkyLight* GetSkyLightInterface ( Animatable o)
inline
272 {
273  return static_cast<ISkyLight*>(o->GetInterface(SKYLIGHT_INTERFACE_ID));
274 }
#define SKYLIGHT_INTERFACE_ID
Definition: naturalLight.h:212
class ISkyLight : public BaseInterface
Definition: naturalLight.h:241
virtual CoreExport void * GetInterface(ULONG id)