Blender  V3.3
Classes | Namespaces | Functions
type_conversions.cc File Reference
#include "BKE_type_conversions.hh"
#include "DNA_meshdata_types.h"
#include "FN_multi_function_builder.hh"
#include "BLI_color.hh"
#include "BLI_math_vector.hh"

Go to the source code of this file.

Classes

class  blender::bke::GVArray_For_ConvertedGVArray
 
class  blender::bke::GVMutableArray_For_ConvertedGVMutableArray
 

Namespaces

 blender
 
 blender::bke
 

Functions

template<typename From , typename To , To(*)(const From &) ConversionF>
static void blender::bke::add_implicit_conversion (DataTypeConversions &conversions)
 
static float2 blender::bke::float_to_float2 (const float &a)
 
static float3 blender::bke::float_to_float3 (const float &a)
 
static int32_t blender::bke::float_to_int (const float &a)
 
static bool blender::bke::float_to_bool (const float &a)
 
static int8_t blender::bke::float_to_int8 (const float &a)
 
static ColorGeometry4f blender::bke::float_to_color (const float &a)
 
static ColorGeometry4b blender::bke::float_to_byte_color (const float &a)
 
static float3 blender::bke::float2_to_float3 (const float2 &a)
 
static float blender::bke::float2_to_float (const float2 &a)
 
static int blender::bke::float2_to_int (const float2 &a)
 
static bool blender::bke::float2_to_bool (const float2 &a)
 
static int8_t blender::bke::float2_to_int8 (const float2 &a)
 
static ColorGeometry4f blender::bke::float2_to_color (const float2 &a)
 
static ColorGeometry4b blender::bke::float2_to_byte_color (const float2 &a)
 
static bool blender::bke::float3_to_bool (const float3 &a)
 
static int8_t blender::bke::float3_to_int8 (const float3 &a)
 
static float blender::bke::float3_to_float (const float3 &a)
 
static int blender::bke::float3_to_int (const float3 &a)
 
static float2 blender::bke::float3_to_float2 (const float3 &a)
 
static ColorGeometry4f blender::bke::float3_to_color (const float3 &a)
 
static ColorGeometry4b blender::bke::float3_to_byte_color (const float3 &a)
 
static bool blender::bke::int_to_bool (const int32_t &a)
 
static int8_t blender::bke::int_to_int8 (const int32_t &a)
 
static float blender::bke::int_to_float (const int32_t &a)
 
static float2 blender::bke::int_to_float2 (const int32_t &a)
 
static float3 blender::bke::int_to_float3 (const int32_t &a)
 
static ColorGeometry4f blender::bke::int_to_color (const int32_t &a)
 
static ColorGeometry4b blender::bke::int_to_byte_color (const int32_t &a)
 
static bool blender::bke::int8_to_bool (const int8_t &a)
 
static int blender::bke::int8_to_int (const int8_t &a)
 
static float blender::bke::int8_to_float (const int8_t &a)
 
static float2 blender::bke::int8_to_float2 (const int8_t &a)
 
static float3 blender::bke::int8_to_float3 (const int8_t &a)
 
static ColorGeometry4f blender::bke::int8_to_color (const int8_t &a)
 
static ColorGeometry4b blender::bke::int8_to_byte_color (const int8_t &a)
 
static float blender::bke::bool_to_float (const bool &a)
 
static int8_t blender::bke::bool_to_int8 (const bool &a)
 
static int32_t blender::bke::bool_to_int (const bool &a)
 
static float2 blender::bke::bool_to_float2 (const bool &a)
 
static float3 blender::bke::bool_to_float3 (const bool &a)
 
static ColorGeometry4f blender::bke::bool_to_color (const bool &a)
 
static ColorGeometry4b blender::bke::bool_to_byte_color (const bool &a)
 
static bool blender::bke::color_to_bool (const ColorGeometry4f &a)
 
static float blender::bke::color_to_float (const ColorGeometry4f &a)
 
static int32_t blender::bke::color_to_int (const ColorGeometry4f &a)
 
static int8_t blender::bke::color_to_int8 (const ColorGeometry4f &a)
 
static float2 blender::bke::color_to_float2 (const ColorGeometry4f &a)
 
static float3 blender::bke::color_to_float3 (const ColorGeometry4f &a)
 
static ColorGeometry4b blender::bke::color_to_byte_color (const ColorGeometry4f &a)
 
static bool blender::bke::byte_color_to_bool (const ColorGeometry4b &a)
 
static float blender::bke::byte_color_to_float (const ColorGeometry4b &a)
 
static int32_t blender::bke::byte_color_to_int (const ColorGeometry4b &a)
 
static int8_t blender::bke::byte_color_to_int8 (const ColorGeometry4b &a)
 
static float2 blender::bke::byte_color_to_float2 (const ColorGeometry4b &a)
 
static float3 blender::bke::byte_color_to_float3 (const ColorGeometry4b &a)
 
static ColorGeometry4f blender::bke::byte_color_to_color (const ColorGeometry4b &a)
 
static DataTypeConversions blender::bke::create_implicit_conversions ()
 
const DataTypeConversions & blender::bke::get_implicit_type_conversions ()