43 lines
989 B
C++
43 lines
989 B
C++
|
|
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : XBlockTableRecordZone.h
|
|
// = Version : ver2.0
|
|
// = Author :
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: 模型空间的分区
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
|
|
#ifndef _XBlockTableRecordZone_H__
|
|
#define _XBlockTableRecordZone_H__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
#include <map>
|
|
|
|
class XBlockTableRecordZone
|
|
{
|
|
public:
|
|
XBlockTableRecordZone();
|
|
virtual ~XBlockTableRecordZone();
|
|
|
|
bool getGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
|
|
bool setGeomExtents(const AcDbObjectId& id,AcDbExtents& ext);
|
|
|
|
void remove(const AcDbObjectId& id);
|
|
|
|
void setActive(bool bActive);
|
|
bool isActive();
|
|
|
|
protected:
|
|
|
|
int m_nActiveRefCount;
|
|
std::map<AcDbObjectId,AcDbExtents> m_mapIdToExt;
|
|
};
|
|
|
|
#endif //_XBlockTableRecordZone_H__
|