SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::defaulttype::BoundingBoxTypeInfo Struct Reference

#include <BoundingBox.h>

Inheritance diagram for sofa::defaulttype::BoundingBoxTypeInfo:

Static Public Member Functions

static size_t size ()
 
static size_t byteSize ()
 
static size_t size (const DataType &)
 
static bool setSize (DataType &, size_t)
 
template<typename T >
static void getValue (const DataType &data, size_t index, T &value)
 since TypeInfos abstract all containers as 1D arrays, T here is of ValueType More...
 
template<typename T >
static void setValue (DataType &data, size_t index, const T &value)
 
static double getScalarValue (const void *data, size_t index)
 
static void setScalarValue (const void *data, size_t index, double value)
 
static void getValueString (const DataType &data, size_t index, std::string &value)
 
static void setValueString (DataType &data, size_t index, const std::string &value)
 
static const void * getValuePtr (const DataType &bbox)
 
static void * getValuePtr (DataType &bbox)
 

Function details

static size_t sofa::defaulttype::BoundingBoxTypeInfo::byteSize ( )
inlinestatic
static double sofa::defaulttype::BoundingBoxTypeInfo::getScalarValue ( const void *  data,
size_t  index 
)
inlinestatic
template<typename T >
static void sofa::defaulttype::BoundingBoxTypeInfo::getValue ( const DataType data,
size_t  index,
T &  value 
)
inlinestatic

since TypeInfos abstract all containers as 1D arrays, T here is of ValueType

static const void* sofa::defaulttype::BoundingBoxTypeInfo::getValuePtr ( const DataType bbox)
inlinestatic
static void* sofa::defaulttype::BoundingBoxTypeInfo::getValuePtr ( DataType bbox)
inlinestatic
static void sofa::defaulttype::BoundingBoxTypeInfo::getValueString ( const DataType data,
size_t  index,
std::string &  value 
)
inlinestatic
static void sofa::defaulttype::BoundingBoxTypeInfo::setScalarValue ( const void *  data,
size_t  index,
double  value 
)
inlinestatic
static bool sofa::defaulttype::BoundingBoxTypeInfo::setSize ( DataType ,
size_t   
)
inlinestatic
template<typename T >
static void sofa::defaulttype::BoundingBoxTypeInfo::setValue ( DataType data,
size_t  index,
const T &  value 
)
inlinestatic
static void sofa::defaulttype::BoundingBoxTypeInfo::setValueString ( DataType data,
size_t  index,
const std::string &  value 
)
inlinestatic
static size_t sofa::defaulttype::BoundingBoxTypeInfo::size ( )
inlinestatic
static size_t sofa::defaulttype::BoundingBoxTypeInfo::size ( const DataType )
inlinestatic

Enum details

anonymous enum
Enumerator
ValidInfo 
anonymous enum
Enumerator
FixedSize 
anonymous enum
Enumerator
ZeroConstructor 
anonymous enum

-> I don't think so, bbox are initialized with +inf / -inf usually

Enumerator
SimpleCopy 
anonymous enum
Enumerator
SimpleLayout 
anonymous enum
Enumerator
Integer 
anonymous enum
Enumerator
Scalar 
anonymous enum
Enumerator
Text 
anonymous enum
Enumerator
CopyOnWrite 
anonymous enum
Enumerator
Container 
anonymous enum
Enumerator
Size