====== CMapDataNodeToOffsetVector ====== **//Inherited from//** [[class::cmapdata|CMapData]],[[class::tcursor|TCursor]],[[class::tvector3f|TVector3f]], **//Inherited by//** NULL **//Friend class//** NULL **//Description//** **//Members//** * shared_ptr [[cmapdatanodetooffsetvector#m_resultdataset|m_resultDataSet]] * int [[cmapdatanodetooffsetvector#m_unitlength|m_unitLength]] * bool [[cmapdatanodetooffsetvector#m_usemidnoderesult|m_useMidNodeResult]] * bool [[cmapdatanodetooffsetvector#m_hasmidnode|m_hasMidNode]] * IWallFaceDataSet* [[cmapdatanodetooffsetvector#m_wallface|m_wallface]] **//Public interface//** * [[cmapdatanodetooffsetvector#cmapdatanodetooffsetvector1|CMapDataNodeToOffsetVector]]() * , [[cmapdatanodetooffsetvector#m_unitlength|m_unitLength]](0) * , [[cmapdatanodetooffsetvector#m_hasmidnode|m_hasMidNode]](false) * virtual [[cmapdatanodetooffsetvector#~cmapdatanodetooffsetvector|~CMapDataNodeToOffsetVector]]() * void [[cmapdatanodetooffsetvector#setresultdataset|SetResultDataSet]](shared_ptr resultDataSet, int unitLength) * bool [[cmapdatanodetooffsetvector#getvalue|GetValue]](int nid, TVector3f* value) * virtual bool [[cmapdatanodetooffsetvector#getvalue|GetValue]](TCursor key, TVector3f* value) * virtual void [[cmapdatanodetooffsetvector#onupdatedb|OnUpdateDB]](CDBSession* pDBSession, bool isInitialize) * bool [[cmapdatanodetooffsetvector#isempty|IsEmpty]]() override * bool [[cmapdatanodetooffsetvector#gethasmidnode|GetHasMidNode]]() * void [[cmapdatanodetooffsetvector#setusemidnoderesult|SetUseMidNodeResult]](bool flag) * void [[cmapdatanodetooffsetvector#setwallface|SetWallFace]](IWallFaceDataSet* wallface) ---- {{anchor:m_resultdataset}} **shared_ptr m_resultDataSet** {{anchor:m_unitlength}} **int m_unitLength** {{anchor:m_usemidnoderesult}} **bool m_useMidNodeResult** {{anchor:m_hasmidnode}} **bool m_hasMidNode** {{anchor:m_wallface}} **IWallFaceDataSet* m_wallface** ---- {{anchor:cmapdatanodetooffsetvector1}} **CMapDataNodeToOffsetVector()** *function: *parameters: NULL *return value: {{anchor:m_unitlength}} **, m_unitLength(0)** *function: *parameters: - [i] 0): - [i] , [[cmapdatanodetooffsetvector#m_unitlength|m_unitLength]](0: *return value: {{anchor:m_hasmidnode}} **, m_hasMidNode(false)** *function: *parameters: - [i] false): - [i] , [[cmapdatanodetooffsetvector#m_hasmidnode|m_hasMidNode]](false: *return value: {{anchor:~cmapdatanodetooffsetvector}} **virtual ~CMapDataNodeToOffsetVector()** *function: *parameters: NULL *return value: {{anchor:setresultdataset}} **void SetResultDataSet(shared_ptr resultDataSet, int unitLength)** *function: *parameters: - [i] shared_ptr resultDataSet: - [i] int unitLength: *return value: {{anchor:getvalue}} **bool GetValue(int nid, TVector3f* value)** *function: *parameters: - [i] int nid: - [i] TVector3f* value: *return value: {{anchor:getvalue}} **virtual bool GetValue(TCursor key, TVector3f* value)** *function: *parameters: - [i] TCursor key: - [i] TVector3f* value: *return value: {{anchor:onupdatedb}} **virtual void OnUpdateDB(CDBSession* pDBSession, bool isInitialize)** *function: *parameters: - [i] CDBSession* pDBSession: - [i] bool isInitialize: *return value: {{anchor:isempty}} **bool IsEmpty() override** *function: *parameters: NULL *return value: {{anchor:gethasmidnode}} **bool GetHasMidNode()** *function: *parameters: NULL *return value: {{anchor:setusemidnoderesult}} **void SetUseMidNodeResult(bool flag)** *function: *parameters: - [i] bool flag: *return value: {{anchor:setwallface}} **void SetWallFace(IWallFaceDataSet* wallface)** *function: *parameters: - [i] IWallFaceDataSet* wallface: *return value: