Blender V2.61 - r43446
Defines | Functions

BKE_colortools.h File Reference

Go to the source code of this file.

Defines

#define DO_INLINE   static inline
#define CURVEMAP_SLOPE_NEGATIVE   0
#define CURVEMAP_SLOPE_POSITIVE   1

Functions

struct CurveMappingcurvemapping_add (int tot, float minx, float miny, float maxx, float maxy)
void curvemapping_free (struct CurveMapping *cumap)
struct CurveMappingcurvemapping_copy (struct CurveMapping *cumap)
void curvemapping_set_black_white (struct CurveMapping *cumap, const float black[3], const float white[3])
void curvemap_reset (struct CurveMap *cuma, struct rctf *clipr, int preset, int slope)
void curvemap_remove (struct CurveMap *cuma, int flag)
void curvemap_insert (struct CurveMap *cuma, float x, float y)
void curvemap_sethandle (struct CurveMap *cuma, int type)
void curvemapping_changed (struct CurveMapping *cumap, int rem_doubles)
float curvemap_evaluateF (struct CurveMap *cuma, float value)
float curvemapping_evaluateF (struct CurveMapping *cumap, int cur, float value)
void curvemapping_evaluate3F (struct CurveMapping *cumap, float vecout[3], const float vecin[3])
void curvemapping_evaluateRGBF (struct CurveMapping *cumap, float vecout[3], const float vecin[3])
void curvemapping_evaluate_premulRGBF (struct CurveMapping *cumap, float vecout[3], const float vecin[3])
void curvemapping_do_ibuf (struct CurveMapping *cumap, struct ImBuf *ibuf)
void curvemapping_premultiply (struct CurveMapping *cumap, int restore)
int curvemapping_RGBA_does_something (struct CurveMapping *cumap)
void curvemapping_initialize (struct CurveMapping *cumap)
void curvemapping_table_RGBA (struct CurveMapping *cumap, float **array, int *size)
void scopes_update (struct Scopes *scopes, struct ImBuf *ibuf, int use_color_management)
void scopes_free (struct Scopes *scopes)
void scopes_new (struct Scopes *scopes)

Detailed Description

Definition in file BKE_colortools.h.


Define Documentation

#define CURVEMAP_SLOPE_NEGATIVE   0

Definition at line 53 of file BKE_colortools.h.

Referenced by brush_curve_preset().

#define CURVEMAP_SLOPE_POSITIVE   1
#define DO_INLINE   static inline

Definition at line 45 of file BKE_colortools.h.


Function Documentation

float curvemap_evaluateF ( struct CurveMap cuma,
float  value 
)
void curvemap_insert ( struct CurveMap cuma,
float  x,
float  y 
)
void curvemap_remove ( struct CurveMap cuma,
int  flag 
)
void curvemap_reset ( struct CurveMap cuma,
struct rctf clipr,
int  preset,
int  slope 
)
void curvemap_sethandle ( struct CurveMap cuma,
int  type 
)
struct CurveMapping* curvemapping_add ( int  tot,
float  minx,
float  miny,
float  maxx,
float  maxy 
) [read]
void curvemapping_changed ( struct CurveMapping cumap,
int  rem_doubles 
)
struct CurveMapping* curvemapping_copy ( struct CurveMapping cumap) [read]
void curvemapping_do_ibuf ( struct CurveMapping cumap,
struct ImBuf ibuf 
)
void curvemapping_evaluate3F ( struct CurveMapping cumap,
float  vecout[3],
const float  vecin[3] 
)

Definition at line 711 of file colortools.c.

References curvemapping_evaluateF().

Referenced by node_shader_exec_curve_vec().

void curvemapping_evaluate_premulRGBF ( struct CurveMapping cumap,
float  vecout[3],
const float  vecin[3] 
)
float curvemapping_evaluateF ( struct CurveMapping cumap,
int  cur,
float  value 
)
void curvemapping_evaluateRGBF ( struct CurveMapping cumap,
float  vecout[3],
const float  vecin[3] 
)
void curvemapping_free ( struct CurveMapping cumap)
void curvemapping_initialize ( struct CurveMapping cumap)
void curvemapping_premultiply ( struct CurveMapping cumap,
int  restore 
)
int curvemapping_RGBA_does_something ( struct CurveMapping cumap)
void curvemapping_set_black_white ( struct CurveMapping cumap,
const float  black[3],
const float  white[3] 
)
void curvemapping_table_RGBA ( struct CurveMapping cumap,
float **  array,
int *  size 
)
void scopes_free ( struct Scopes scopes)
void scopes_new ( struct Scopes scopes)
void scopes_update ( struct Scopes scopes,
struct ImBuf ibuf,
int  use_color_management 
)