c4d_basedraw.h File Reference

Classes

class  BaseDrawHelp
 
struct  OITInfo
 
struct  BDSetSceneCameraMsg
 
class  HUDTextEntry
 
class  BaseView
 
class  BaseDraw
 
struct  ViewportPixel
 
class  ViewportSelect
 

Macros

#define SET_PEN_USE_PROFILE_COLOR
 
#define MAX_Z
 
#define VIEW_NEARCLIPPING
 
#define DRAW_STATISTIC_TRIANGLES
 
#define DRAW_STATISTIC_QUADS
 
#define DRAW_STATISTIC_LINES
 
#define DRAW_STATISTIC_POINTS
 
#define DRAW_STATISTIC_TRIANGLE_STRIPS
 
#define DRAW_STATISTIC_LINE_STRIPS
 
#define DRAW_STATISTIC_PATCHES
 
#define DRAW_GET_VIEWMATRIX_PROJECTION
 
#define DRAW_GET_VIEWMATRIX_PROJECTION_LARGE_Z
 
#define DRAW_GET_VIEWMATRIX_INV_CAMERA
 
#define DRAW_GET_VIEWMATRIX_MODELVIEW_PROJECTION
 
#define NOCLIP_D
 
#define NOCLIP_Z
 
#define DRAW_Z_LOWEREQUAL
 
#define DRAW_Z_GREATER
 
#define DRAW_Z_ALWAYS
 
#define DRAW_Z_EQUAL
 
#define DRAW_Z_LOWER
 
#define DRAW_PARAMETER_OGL_CULLING_OFF
 
#define DRAW_PARAMETER_OGL_CULLING_FRONT
 
#define DRAW_PARAMETER_OGL_CULLING_BACK
 
#define DRAW_PARAMETER_OGL_CULLING_FRONT_AND_BACK
 
#define DRAWPORT_TYPE_SOFTWARE
 
#define DRAWPORT_TYPE_OGL_HQ
 
#define VIEWPORT_CLEAR_POINT
 
#define VIEWPORT_CLEAR_POLYGON
 
#define VIEWPORT_CLEAR_EDGE
 

Enumerations

enum  OITMODE {
  OITMODE_OFF,
  OITMODE_FIRST,
  OITMODE_MIDDLE,
  OITMODE_LAST
}
 

Functions

void DrawTools (const AtomArray *activeobjects, const AtomArray *activetags, BaseDocument *doc, BaseDraw *bd, BaseThread *bt, Int32 drawflags, Bool inversez)
 

Initialization

#define INIT_CLIPBOX_ADJUSTGLSIZE
 

Drawing Setup

#define BDRAW_SETLIGHTLIST_NOLIGHTS
 
#define BDRAW_SETLIGHTLIST_SCENELIGHTS
 
#define BDRAW_SETLIGHTLIST_QUICKSHADING
 

3D Drawing

#define BDRAW_DRAW_SPHERE_FLAGS_NO_SHADING
 

Draw Parameters

#define DRAW_PARAMETER_LINEWIDTH
 
#define DRAW_PARAMETER_ALPHA_THRESHOLD
 
#define DRAW_PARAMETER_SETZ
 
#define DRAW_PARAMETER_OGL_CULLING
 
#define DRAW_PARAMETER_USE_Z
 
#define DRAW_PARAMETER_OGL_PRIMITIVERESTARTINDEX
 

Macro Definition Documentation

§ SET_PEN_USE_PROFILE_COLOR

#define SET_PEN_USE_PROFILE_COLOR

Set if the color is already in the color space of the BaseDraw. Otherwise the color will be converted.

§ MAX_Z

#define MAX_Z

The far clipping value in the editor perspective mode.

§ VIEW_NEARCLIPPING

#define VIEW_NEARCLIPPING

The near clipping value in the editor perspective mode.

§ INIT_CLIPBOX_ADJUSTGLSIZE

#define INIT_CLIPBOX_ADJUSTGLSIZE

Adjust the size of the frame buffer.

§ BDRAW_DRAW_SPHERE_FLAGS_NO_SHADING

#define BDRAW_DRAW_SPHERE_FLAGS_NO_SHADING

If set for DrawSphere(), the sphere will not be shaded, it will be drawn with the specified color.

Function Documentation

§ DrawTools()

void DrawTools ( const AtomArray activeobjects,
const AtomArray activetags,
BaseDocument doc,
BaseDraw bd,
BaseThread bt,
Int32  drawflags,
Bool  inversez 
)

Private.