Springhead
An open source physics engine for virtual reality, haptics and motion generation.
|
構成 | |
struct | FieldInfo |
Public メソッド | |
void | SetObject (NamedObjectIf *obj, bool clearHist=true) |
select object | |
void | Update () |
reload descriptor of selected object | |
Protected 型 | |
enum | PrimitiveType { TYPE_UNKNOWN, TYPE_BOOL, TYPE_UINT8, TYPE_INT8, TYPE_UINT16, TYPE_INT16, TYPE_UINT32, TYPE_INT32, TYPE_FLOAT, TYPE_DOUBLE } |
Protected メソッド | |
size_t | NElements (std::string typeName) |
returns number of elements for primitive typedesc | |
void | FlattenTypeDesc (const void *field) |
convert composite typedesc into array of fields | |
void | Increment (bool mode) |
increment/decrement selected field[element] | |
void | Decrement (bool mode) |
double | Increase (double val, bool mode) |
double | Decrease (double val, bool mode) |
Protected 変数 | |
NamedObjectIf * | curObj |
reference to object | |
const UTTypeDesc * | typeDesc |
typedesc of current object | |
std::vector< char > | descData |
buffer to store descriptor | |
std::vector< FieldInfo > | fieldInfos |
array of field infos | |
std::vector< NamedObjectIf * > | childObjects |
array of child object names | |
std::vector< NamedObjectIf * > | hist |
history of displayed objects | |
int | curChild |
currently selected child object | |
int | curField |
currently selected field | |
int | curElement |
currently selected element (used for vectors) | |