TBasicBackground Class Reference
[Base Classes for plugins]

Inheritance diagram for TBasicBackground:
I3DExBackground TBasicDataExchanger IMCUnknown TBasicUnknown IExDataExchanger TMCObject IMCUnknown IMCUnknown

List of all members.

Public Member Functions

virtual MCCOMErr MCCOMAPI QueryInterface (const MCIID &riid, void **ppvObj)
virtual uint32 MCCOMAPI AddRef ()
virtual MCCOMErr MCCOMAPI GetBackgroundColor (TMCColorRGB &resultColor, boolean &fullAreaDone, const TVector3 &direction)

Detailed Description

Basic Background class. Derive from this for a default implementation of I3DExBackground.

See also:
I3DExBackground

Member Function Documentation

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

Increments the reference count of the object

Reimplemented from TBasicDataExchanger.

virtual MCCOMErr MCCOMAPI TBasicBackground::GetBackgroundColor ( TMCColorRGB resultColor,
boolean fullAreaDone,
const TVector3 direction 
) [virtual]

Returns the color of the background in a particular direction.

Parameters:
resultColor The color in the given direction.
fullAreaDone Not used.
direction A unit vector defining the direction on the unit sphere

Implements I3DExBackground.

virtual MCCOMErr MCCOMAPI TBasicBackground::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 TBasicDataExchanger.


The documentation for this class was generated from the following file:
Generated on Mon Apr 26 22:47:54 2010 for Carrara SDK Doc by  doxygen 1.6.3