====== BCContact ====== **//Inherited from//** [[class:iwhrpre:ilbc|ILBC]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Members//** * ContactAttribute [[bccontact#m_atb|m_Atb]] * LinkList * [[bccontact#m_pappliedlist|m_pAppliedList]] * IdPairHash * [[bccontact#m_pcontactpairs|m_pContactPairs]] **//Public interface//** * [[bccontact#bccontact1|BCContact]](MemPool * pListPool) * void [[bccontact#addentity|addEntity]](ModelTypeID mt,ulong id,UniqueEntityTagID t,EntityRole r = Role_None) * LBCTypeID [[bccontact#gettype|getType]]() * LBCAttribute * [[bccontact#getattribute|getAttribute]]() * void [[bccontact#savetoxml|saveToXml]](const char * xml) * void [[bccontact#loadfromxml|loadFromXml]](const char * xml) * void [[bccontact#bindentityiterator|bindEntityIterator]](Iterator * iter) * ulong [[bccontact#getentitycount|getEntityCount]]() * void [[bccontact#clearentity|clearEntity]]() * void [[bccontact#buildglmarker|buildGLMarker]](Model *pModel) * void [[bccontact#updategldata|updateGLData]](float *lineVertex,float scale) * int [[bccontact#getglvertexsize|getGLVertexSize]]() * void [[bccontact#write|write]](IOFile * io) * ErrorCode [[bccontact#read|read]](IOFile * io) * void [[bccontact#dispersetofem|disperseToFEM]](Model* mdl,void * datas = 0,ConflictStrategy cs = Strategy_Accumlate) * void * [[bccontact#getfemdata|getFEMData]]() * UniqueEntity * [[bccontact#getentitybyrole|getEntityByRole]](EntityRole r) ---- {{anchor:m_atb}} **ContactAttribute m_Atb** {{anchor:m_pappliedlist}} **LinkList * m_pAppliedList** {{anchor:m_pcontactpairs}} **IdPairHash * m_pContactPairs** ---- {{anchor:bccontact1}} **BCContact(MemPool * pListPool)** *function: *parameters: - [i]MemPool * pListPool: *return value: {{anchor:addentity}} **void addEntity(ModelTypeID mt,ulong id,UniqueEntityTagID t,EntityRole r = Role_None)** *function: *parameters: - [i]ModelTypeID mt: - [i]ulong id: - [i]UniqueEntityTagID t: - [i]EntityRole r = Role_None: *return value: {{anchor:gettype}} **LBCTypeID getType()** *function: *parameters: NULL *return value: {{anchor:getattribute}} **LBCAttribute * getAttribute()** *function: *parameters: NULL *return value: {{anchor:savetoxml}} **void saveToXml(const char * xml)** *function: *parameters: - [i]const char * xml: *return value: {{anchor:loadfromxml}} **void loadFromXml(const char * xml)** *function: *parameters: - [i]const char * xml: *return value: {{anchor:bindentityiterator}} **void bindEntityIterator(Iterator * iter)** *function: *parameters: - [i]Iterator * iter: *return value: {{anchor:getentitycount}} **ulong getEntityCount()** *function: *parameters: NULL *return value: {{anchor:clearentity}} **void clearEntity()** *function: *parameters: NULL *return value: {{anchor:buildglmarker}} **void buildGLMarker(Model *pModel)** *function: *parameters: - [i]Model *pModel: *return value: {{anchor:updategldata}} **void updateGLData(float *lineVertex,float scale)** *function: *parameters: - [i]float *lineVertex: - [i]float scale: *return value: {{anchor:getglvertexsize}} **int getGLVertexSize()** *function: *parameters: NULL *return value: {{anchor:write}} **void write(IOFile * io)** *function: *parameters: - [i]IOFile * io: *return value: {{anchor:read}} **ErrorCode read(IOFile * io)** *function: *parameters: - [i]IOFile * io: *return value: {{anchor:dispersetofem}} **void disperseToFEM(Model* mdl,void * datas = 0,ConflictStrategy cs = Strategy_Accumlate)** *function: *parameters: - [i]Model* mdl: - [i]void * datas = 0: - [i]ConflictStrategy cs = Strategy_Accumlate: *return value: {{anchor:getfemdata}} **void * getFEMData()** *function: *parameters: NULL *return value: {{anchor:getentitybyrole}} **UniqueEntity * getEntityByRole(EntityRole r)** *function: *parameters: - [i]EntityRole r: *return value: