TBasicReflectionFeature Class Reference
[Base Classes for plugins]

Inheritance diagram for TBasicReflectionFeature:

I3DExReflectionFeature TBasicRenderFeature IMCUnknown TBasicDataExchanger TBasicUnknown IMCUnknown List of all members.

Public Member Functions

virtual MCCOMErr MCCOMAPI QueryInterface (const MCIID &riid, void **ppvObj)
virtual uint32 MCCOMAPI AddRef ()
virtual MCCOMErr MCCOMAPI CalcReflection (ReflectionIO &reflectionIO, const LightingContext &lightingContext)

Detailed Description

Basic Reflection Feature class. Derive from this for a default implementation of I3DExReflectionFeature
See also:
I3DExReflectionFeature


Member Function Documentation

virtual uint32 MCCOMAPI TBasicReflectionFeature::AddRef (   )  [inline, virtual]
 

Increments the reference count of the object

Reimplemented from TBasicRenderFeature.

virtual MCCOMErr MCCOMAPI TBasicReflectionFeature::CalcReflection (  ReflectionIO &  reflectionIO,
const LightingContext &  lightingContext
)  [virtual]
 

Calculates the reflection given a particular lighting context (point, shading, incoming ray...)

Parameters:
reflectionIO Info specific to the reflection features
lightingContext The ligthing context (point, shading, incoming ray...)

Implements I3DExReflectionFeature.

virtual MCCOMErr MCCOMAPI TBasicReflectionFeature::QueryInterface (  const MCIID &  riid,
void **  ppvObj
)  [virtual]
 

Check if the object supports a given interface and returns a pointer to that interface if it does. Note that QueryInterface will increment the reference count of the object by one if the interface is found.

Parameters:
riid GUID of the interface
ppvObj A pointer to the pointer being returned.

Reimplemented from TBasicRenderFeature.


The documentation for this class was generated from the following file:
Generated on Mon Mar 14 12:29:07 2005 for Carrara SDK Doc by  doxygen 1.3.9.1