Cloud

Detailed Description

Groups

 CLOUD_CELL_SIZE
 

Classes

class  CloudObject
 

Macros

#define CLOUD_NODE
 
#define CLOUD_GROUP_NODE
 
#define MSG_SKY_INIALIZED
 
#define LIB_CLOUD
 

Typedefs

typedef Bool(* CloudDrawFn) (BaseObject *op, BaseDraw *pDraw, BaseDrawHelp *pDrawHelp, Int32 lGrid, Float rQuality, const Vector &vScale, BaseObject *pSun, Bool bDrawPlane)
 
typedef void *(* CloudDataAllocator) (BaseObject *pCloud)
 
typedef void(* ClodDataDeleter) (BaseObject *pCloud, void *&pData)
 

Functions

BaseObjectFindSkyObject (BaseDocument *pDoc)
 

Macro Definition Documentation

◆ CLOUD_NODE

#define CLOUD_NODE

Cloud node ID.

◆ CLOUD_GROUP_NODE

#define CLOUD_GROUP_NODE

Cloud group ID.

◆ MSG_SKY_INIALIZED

#define MSG_SKY_INIALIZED

Sky initialized message ID.

◆ LIB_CLOUD

#define LIB_CLOUD

Cloud library ID.

Typedef Documentation

◆ CloudDrawFn

typedef Bool(* CloudDrawFn) (BaseObject *op, BaseDraw *pDraw, BaseDrawHelp *pDrawHelp, Int32 lGrid, Float rQuality, const Vector &vScale, BaseObject *pSun, Bool bDrawPlane)

Cloud draw callback.

Parameters
[in]opThe object.
[in]pDrawThe draw view.
[in]pDrawHelpThe draw helper.
[in]lGridThe grid.
[in]rQualityThe quality.
[in]vScaleThe scale.
[in]pSunThe sun object.
[in]bDrawPlaneThe draw plane option.
Returns
true if successful, otherwise false.

◆ CloudDataAllocator

typedef void*(* CloudDataAllocator) (BaseObject *pCloud)

Cloud data allocator callback.

Parameters
[in]pCloudThe cloud object.
Returns
The allocated data.

◆ ClodDataDeleter

typedef void(* ClodDataDeleter) (BaseObject *pCloud, void *&pData)

Cloud data deleter callback.

Parameters
[in]pCloudThe cloud object.
[in]pDataThe data to delete.

Function Documentation

◆ FindSkyObject()

BaseObject* FindSkyObject ( BaseDocument pDoc)

Finds the sky object in pDoc.

Parameters
[in]pDocThe document to search in. The caller owns the pointed document.
Returns
The sky object found, or nullptr.