57 lines
1.1 KiB
C++
57 lines
1.1 KiB
C++
//-----------------------------------------------------------------------------+
|
|||
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
||
|
|
// = FileName : TWallBase.h
|
||
|
|
// = Version : ver2.0
|
||
|
|
// = Author : xlc
|
||
|
|
// = CreateDate : 2002-09-09
|
||
|
|
// = Description: ÀàµÄÉùÃ÷
|
||
|
|
// = Maintainers:
|
||
|
|
//
|
||
|
|
//-----------------------------------------------------------------------------+
|
||
|
|
#ifndef _TWALLBASE_H_
|
||
|
|
#define _TWALLBASE_H_
|
||
|
|
|
||
|
|
#ifndef _TDPTRLIST_H_
|
||
|
|
#include "TDPtrList.h"
|
||
|
|
#endif
|
||
|
|
|
||
|
|
class TDbColumn;
|
||
|
|
class TDbWall;
|
||
|
|
class TDbWallPatch;
|
||
|
|
|
||
|
|
class TARCH_EXP TWallBase
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
|
||
|
|
TWallBase();
|
||
|
|
|
||
|
|
virtual ~TWallBase();
|
||
|
|
|
||
|
|
enum Usage
|
||
|
|
{
|
||
|
|
kUnknown = -1,
|
||
|
|
kWall = 0,
|
||
|
|
kColumn = 1,
|
||
|
|
kPatch = 2
|
||
|
|
};
|
||
|
|
|
||
|
|
virtual int GetMaterialIndex() const = 0;
|
||
|
|
|
||
|
|
virtual AcDbEntity* GetMyEntity() const = 0;
|
||
|
|
|
||
|
|
virtual TWallBase::Usage GetUsage() const;
|
||
|
|
|
||
|
|
TDbWall *GetMyDbWall() const;
|
||
|
|
|
||
|
|
TDbColumn* GetMyDbColumn() const;
|
||
|
|
|
||
|
|
TDbWallPatch* GetMyDbWallPatch() const;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
|
||
|
|
TDPtrList<AcDbSoftPointerId> m_lstNeighbourId;
|
||
|
|
|
||
|
|
TDPtrList<TWallBase> m_lstNeighbourWall; //ÒýÓÃ
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|