SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > > Class Template Reference

#include <SimpleDataWidget.h>

sofa::defaulttype::Vec support More...

Detailed Description

template<sofa::Size N, class T>
class sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >

sofa::defaulttype::Vec support

Static Public Member Functions

static Size size (const data_type &)
 
static const charheader (const data_type &, Size=0)
 
static const value_typeget (const data_type &d, Size i=0)
 
static void set (const value_type &v, data_type &d, Size i=0)
 
static void resize (Size, data_type &)
 

Function details

◆ get()

template<sofa::Size N, class T >
static const value_type* sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >::get ( const data_type d,
Size  i = 0 
)
inlinestatic

◆ header()

template<sofa::Size N, class T >
static const char* sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >::header ( const data_type ,
Size  = 0 
)
inlinestatic

◆ resize()

template<sofa::Size N, class T >
static void sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >::resize ( Size  ,
data_type  
)
inlinestatic

◆ set()

template<sofa::Size N, class T >
static void sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >::set ( const value_type v,
data_type d,
Size  i = 0 
)
inlinestatic

◆ size()

template<sofa::Size N, class T >
static Size sofa::gui::qt::vector_data_trait< sofa::type::Vec< N, T > >::size ( const data_type )
inlinestatic

Enum details

◆ anonymous enum

template<sofa::Size N, class T >
anonymous enum
Enumerator
NDIM 

◆ anonymous enum

template<sofa::Size N, class T >
anonymous enum
Enumerator
SIZE