DShape

Inherited from DItem,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface


friend DTblShape

friend DBody

SHAPE_TYPE d_eShapeType

TCursor d_crUpperShapeLinkHead

TCursor d_crUpperShapeLinkTail

long d_cntUpperShapeLink

TCursor d_crLowerShapeLinkHead

TCursor d_crLowerShapeLinkTail

long d_cntLowerShapeLink

TCursor d_crBodyLinkHead

TCursor d_crBodyLinkTail

long d_cntBodyLink

TCursor d_crElemHead

TCursor d_crElemTail

long d_cntElem

COLORREF d_cColor

COLORREF d_cMeshLineColor

vector<TCursor> m_ROElemCrVec


DShape(TKey tKey, TCursor cr)

d_crUpperShapeLinkHead(0), d_crUpperShapeLinkTail(0), d_cntUpperShapeLink(0),

d_crBodyLinkHead(0), d_crBodyLinkTail(0), d_cntBodyLink(0),

d_cMeshLineColor(RGB(0,0,0))

virtual ~DShape()

static const DShape* FromCursor(TCursor cr)

SHAPE_TYPE GetShapeType() const

TCursor GetHeadBodyPosition() const

TCursor GetTailBodyPosition() const

TCursor GetNextBodyPosition(TCursor crPos) const

TCursor GetPrevBodyPosition(TCursor crPos) const

long GetBodyCount() const

const DBody* GetNextBody(TCursor& crPos) const

const DBody* GetPrevBody(TCursor& crPos) const

const DBody* GetBodyAt(TCursor crPos) const

TCursor FindBodyLink(const DBody* pBody) const

TCursor GetHeadElemPosition() const

TCursor GetTailElemPosition() const

const DElem* GetNextElem(TCursor& crPos) const

const DElem* GetPrevElem(TCursor& crPos) const

const DElem* GetElemAt(TCursor crPos) const

long GetElemCount() const

bool HasElem(const DElem* pElem) const

void AttachElem(CDBSession* pDBSession, const DElem* pElem, const DElem* pElemBefore = NULL)

void DetachElem(CDBSession* pDBSession, const DElem* pElem)

TCursor GetHeadUpperShapeLink() const

TCursor GetTailUpperShapeLink() const

TCursor GetNextUpperShapeLink(TCursor crShapeLink) const

TCursor GetPrevUpperShapeLink(TCursor crShapeLink) const

long GetUpperShapeCount() const

const DShape* GetNextUpperShape(TCursor& crShapeLink, SHAPE_ORIENTATION& eOrientation) const

const DShape* GetPrevUpperShape(TCursor& crShapeLink, SHAPE_ORIENTATION& eOrientation) const

const DShape* GetUpperShapeAt(TCursor crShapeLink, SHAPE_ORIENTATION& eOrientation) const

TCursor FindUpperShapeLink(const DShape* ShapeUpper) const

TCursor GetHeadLowerShapeLink() const

TCursor GetTailLowerShapeLink() const

TCursor GetNextLowerShapeLink(TCursor crShapeLink) const

TCursor GetPrevLowerShapeLink(TCursor crShapeLink) const

long GetLowerShapeCount() const

const DShape* GetNextLowerShape(TCursor& crShapeLink, SHAPE_ORIENTATION& eOrientation) const

const DShape* GetPrevLowerShape(TCursor& crShapeLink, SHAPE_ORIENTATION& eOrientation) const

const DShape* GetLowerShapeAt(TCursor crShapeLink, SHAPE_ORIENTATION& eOrientation) const

TCursor FindLowerShapeLink(const DShape* ShapeUpper) const

TCursor AttachLowerShape(CDBSession* pDBSession, const DShape* pLowerShape, SHAPE_ORIENTATION eOrientation, TCursor crShapeLinkBefore = NULL)

void DetachLowerShape(CDBSession* pDBSession, TCursor crShapeLink)

COLORREF GetColor() const

void SetColor(COLORREF col)

void SetColor(float col[3])

COLORREF GetMeshLineColor() const

void SetMeshLineColor(COLORREF colBody)

void SetMeshLineColor(float colBody[3])

void SetROElemCursors(CDBSession* pDBSession, const vector<TCursor> &vec)

vector<TCursor> GetROElemCursors() const


virtual void TxDataExchange(CTxStream* pStream, CDBSession* pDBSession)