#include <CscEntityModelData.h>
Public Member Functions | |
| CscEntityModelData (const string &modelId, const string &entityType, const string &name, const string &owner, const vector< CscEntityModelMemberData * > &members, const vector< CscEntityModelPivotData * > &pivots, const vector< CscEntityModelWheelData * > &wheels, const vector< CscEntityModelTranslationData * > &translations, const vector< CscEntityModelPropellerData * > &propellers, const vector< CscEntityModelLidarData * > &lidars, CscEntityModelVisionData *vision, const vector< string > ¶ms) | |
| virtual | ~CscEntityModelData () |
| size_t | countParams () const |
| double | getParamAsFloat (int paramIndex) const |
| CscEntityModel * | createModel () |
Public Attributes | |
| const string & | modelId |
| string | entityType |
| string | name |
| string | owner |
| vector< CscEntityModelMemberData * > | members |
| vector< CscEntityModelPivotData * > | pivots |
| vector< CscEntityModelWheelData * > | wheels |
| vector< CscEntityModelTranslationData * > | translations |
| vector< CscEntityModelPropellerData * > | propellers |
| vector< CscEntityModelLidarData * > | lidars |
| CscEntityModelVisionData * | vision |
| vector< string > | params |
| CscPoint3d *const | positionMin = nullptr |
| CscPoint3d *const | positionMax = nullptr |
data struct pointers will be deleted when this class is deleted but not other pointers!
| conscience_core::core_objects::exchange::CscEntityModelData::CscEntityModelData | ( | const string & | modelId, |
| const string & | entityType, | ||
| const string & | name, | ||
| const string & | owner, | ||
| const vector< CscEntityModelMemberData * > & | members, | ||
| const vector< CscEntityModelPivotData * > & | pivots, | ||
| const vector< CscEntityModelWheelData * > & | wheels, | ||
| const vector< CscEntityModelTranslationData * > & | translations, | ||
| const vector< CscEntityModelPropellerData * > & | propellers, | ||
| const vector< CscEntityModelLidarData * > & | lidars, | ||
| CscEntityModelVisionData * | vision, | ||
| const vector< string > & | params | ||
| ) |
|
virtual |
| size_t conscience_core::core_objects::exchange::CscEntityModelData::countParams | ( | ) | const |
| CscEntityModel * conscience_core::core_objects::exchange::CscEntityModelData::createModel | ( | ) |
| double conscience_core::core_objects::exchange::CscEntityModelData::getParamAsFloat | ( | int | paramIndex | ) | const |
| string conscience_core::core_objects::exchange::CscEntityModelData::entityType |
| vector<CscEntityModelLidarData *> conscience_core::core_objects::exchange::CscEntityModelData::lidars |
| vector<CscEntityModelMemberData *> conscience_core::core_objects::exchange::CscEntityModelData::members |
| const string& conscience_core::core_objects::exchange::CscEntityModelData::modelId |
| string conscience_core::core_objects::exchange::CscEntityModelData::name |
| string conscience_core::core_objects::exchange::CscEntityModelData::owner |
| vector<string> conscience_core::core_objects::exchange::CscEntityModelData::params |
| vector<CscEntityModelPivotData *> conscience_core::core_objects::exchange::CscEntityModelData::pivots |
| CscPoint3d* const conscience_core::core_objects::exchange::CscEntityModelData::positionMax = nullptr |
this pointer won't be deleted, users need to take care of this
| CscPoint3d* const conscience_core::core_objects::exchange::CscEntityModelData::positionMin = nullptr |
this pointer won't be deleted, users need to take care of this
| vector<CscEntityModelPropellerData *> conscience_core::core_objects::exchange::CscEntityModelData::propellers |
| vector<CscEntityModelTranslationData *> conscience_core::core_objects::exchange::CscEntityModelData::translations |
| CscEntityModelVisionData* conscience_core::core_objects::exchange::CscEntityModelData::vision |
| vector<CscEntityModelWheelData *> conscience_core::core_objects::exchange::CscEntityModelData::wheels |