c4d_basedraw.h File Reference

Classes

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

Namespaces

 maxon
 

Macros

#define SET_PEN_USE_PROFILE_COLOR
 
#define MAX_Z
 
#define VIEW_NEARCLIPPING
 
#define DRAW_GET_VIEWMATRIX_PROJECTION
 
#define DRAW_GET_VIEWMATRIX_PROJECTION_LARGE_Z
 
#define DRAW_GET_VIEWMATRIX_INV_CAMERA
 
#define DRAW_GET_VIEWMATRIX_MODELVIEW_PROJECTION_EX
 
#define LEGACY_DRAW_FLAGS_DEPTH_TEST_ALWAYS
 
#define LEGACY_DRAW_FLAGS_CLIPPING_DISABLE_BORDER
 
#define LEGACY_DRAW_FLAGS_CLIPPING_DISABLE_DEPTH
 
#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_OGL_HQ
 
#define VIEWPORT_CLEAR_POINT
 
#define VIEWPORT_CLEAR_POLYGON
 
#define VIEWPORT_CLEAR_EDGE
 

Functions

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

Variables

static const Int32 ID_DISPLAYFILTER_BROWSERPRESET
 

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_BGIMAGE_RATIO
 
#define DRAW_PARAMETER_SETZ
 
#define DRAW_PARAMETER_OGL_CULLING
 
#define DRAW_PARAMETER_USE_Z
 
#define DRAW_PARAMETER_OGL_PRIMITIVERESTARTINDEX
 
#define DRAW_PARAMETER_OGL_SEMI
 

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,
TOOLDRAW  drawflags,
Bool  inversez 
)

Private.

Variable Documentation

◆ ID_DISPLAYFILTER_BROWSERPRESET

const Int32 ID_DISPLAYFILTER_BROWSERPRESET
static

BaseDraw Display Filter preset ID.

Plugin ID for BaseDraw Display Filter preset type.
Can be used to filter a list of presets for the Content Browser.