70 get_value_(index, r_cell_value);
75 template<
typename GetValueF>
79 const float default_width = 0.0f)
81 std::unique_ptr<ColumnValues> column_values = std::make_unique<LambdaColumnValues<GetValueF>>(
82 std::move(name),
size, std::move(get_value));
83 column_values->default_width = default_width;
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
StringRefNull name() const
ColumnValues(std::string name, const int size)
virtual void get_value(int index, CellValue &r_cell_value) const =0
virtual ~ColumnValues()=default
LambdaColumnValues(std::string name, int size, GetValueF get_value)
void get_value(int index, CellValue &r_cell_value) const final
std::unique_ptr< ColumnValues > column_values_from_function(std::string name, const int size, GetValueF get_value, const float default_width=0.0f)
static constexpr float default_float2_column_width
static constexpr float default_color_column_width
static constexpr float default_float_column_width
static constexpr float default_float3_column_width