User Tools

Site Tools


class:temp:dshape



DShape

Inherited from DItem,

Inherited by NULL

Friend class NULL

Description

Members

Public interface

Protected interface

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

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)

  • function:
  • parameters:
    1. [i] TKey tKey:
    2. [i] TCursor cr:
  • return value:

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

  • function:
  • parameters:
    1. [i] 0):
    2. [i] d_crUpperShapeLinkTail(0):
    3. [i] d_cntUpperShapeLink(0):
    4. [i] :
  • return value:

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

  • function:
  • parameters:
    1. [i] 0):
    2. [i] d_crBodyLinkTail(0):
    3. [i] d_cntBodyLink(0):
    4. [i] :
  • return value:

d_cMeshLineColor(RGB(0,0,0))

  • function:
  • parameters:
    1. [i] RGB(0:
    2. [i] 0:
    3. [i] 0:
  • return value:

virtual ~DShape()

  • function:
  • parameters: NULL
  • return value:

static const DShape* FromCursor(TCursor cr)

  • function:
  • parameters:
    1. [i] TCursor cr:
  • return value:

SHAPE_TYPE GetShapeType() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetHeadBodyPosition() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetTailBodyPosition() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetNextBodyPosition(TCursor crPos) const

  • function:
  • parameters:
    1. [i] TCursor crPos:
  • return value:

TCursor GetPrevBodyPosition(TCursor crPos) const

  • function:
  • parameters:
    1. [i] TCursor crPos:
  • return value:

long GetBodyCount() const

  • function:
  • parameters: NULL
  • return value:

const DBody* GetNextBody(TCursor& crPos) const

  • function:
  • parameters:
    1. [i] TCursor& crPos:
  • return value:

const DBody* GetPrevBody(TCursor& crPos) const

  • function:
  • parameters:
    1. [i] TCursor& crPos:
  • return value:

const DBody* GetBodyAt(TCursor crPos) const

  • function:
  • parameters:
    1. [i] TCursor crPos:
  • return value:

TCursor FindBodyLink(const DBody* pBody) const

  • function:
  • parameters:
    1. [i] const DBody* pBody:
  • return value:

TCursor GetHeadElemPosition() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetTailElemPosition() const

  • function:
  • parameters: NULL
  • return value:

const DElem* GetNextElem(TCursor& crPos) const

  • function:
  • parameters:
    1. [i] TCursor& crPos:
  • return value:

const DElem* GetPrevElem(TCursor& crPos) const

  • function:
  • parameters:
    1. [i] TCursor& crPos:
  • return value:

const DElem* GetElemAt(TCursor crPos) const

  • function:
  • parameters:
    1. [i] TCursor crPos:
  • return value:

long GetElemCount() const

  • function:
  • parameters: NULL
  • return value:

bool HasElem(const DElem* pElem) const

  • function:
  • parameters:
    1. [i] const DElem* pElem:
  • return value:

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

  • function:
  • parameters:
    1. [i] CDBSession* pDBSession:
    2. [i] const DElem* pElem:
    3. [i] const DElem* pElemBefore = NULL:
  • return value:

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

  • function:
  • parameters:
    1. [i] CDBSession* pDBSession:
    2. [i] const DElem* pElem:
  • return value:

TCursor GetHeadUpperShapeLink() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetTailUpperShapeLink() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetNextUpperShapeLink(TCursor crShapeLink) const

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
  • return value:

TCursor GetPrevUpperShapeLink(TCursor crShapeLink) const

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
  • return value:

long GetUpperShapeCount() const

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor& crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor& crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

TCursor FindUpperShapeLink(const DShape* ShapeUpper) const

  • function:
  • parameters:
    1. [i] const DShape* ShapeUpper:
  • return value:

TCursor GetHeadLowerShapeLink() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetTailLowerShapeLink() const

  • function:
  • parameters: NULL
  • return value:

TCursor GetNextLowerShapeLink(TCursor crShapeLink) const

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
  • return value:

TCursor GetPrevLowerShapeLink(TCursor crShapeLink) const

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
  • return value:

long GetLowerShapeCount() const

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor& crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor& crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

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

  • function:
  • parameters:
    1. [i] TCursor crShapeLink:
    2. [i] SHAPE_ORIENTATION& eOrientation:
  • return value:

TCursor FindLowerShapeLink(const DShape* ShapeUpper) const

  • function:
  • parameters:
    1. [i] const DShape* ShapeUpper:
  • return value:

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

  • function:
  • parameters:
    1. [i] CDBSession* pDBSession:
    2. [i] const DShape* pLowerShape:
    3. [i] SHAPE_ORIENTATION eOrientation:
    4. [i] TCursor crShapeLinkBefore = NULL:
  • return value:

void DetachLowerShape(CDBSession* pDBSession, TCursor crShapeLink)

  • function:
  • parameters:
    1. [i] CDBSession* pDBSession:
    2. [i] TCursor crShapeLink:
  • return value:

COLORREF GetColor() const

  • function:
  • parameters: NULL
  • return value:

void SetColor(COLORREF col)

  • function:
  • parameters:
    1. [i] COLORREF col:
  • return value:

void SetColor(float col[3])

  • function:
  • parameters:
    1. [i] float col[3]:
  • return value:

COLORREF GetMeshLineColor() const

  • function:
  • parameters: NULL
  • return value:

void SetMeshLineColor(COLORREF colBody)

  • function:
  • parameters:
    1. [i] COLORREF colBody:
  • return value:

void SetMeshLineColor(float colBody[3])

  • function:
  • parameters:
    1. [i] float colBody[3]:
  • return value:

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

  • function:
  • parameters:
    1. [i] CDBSession* pDBSession:
    2. [i] const vector<TCursor> &vec:
  • return value:

vector<TCursor> GetROElemCursors() const

  • function:
  • parameters: NULL
  • return value:

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

  • function:
  • parameters:
    1. [i] CTxStream* pStream:
    2. [i] CDBSession* pDBSession:
  • return value:
class/temp/dshape.txt · Last modified: 2024/04/26 11:57 (external edit)