📄 dxfblock.h
字号:
/* dxfReader for OpenSceneGraph Copyright (C) 2005 by GraphArchitecture ( grapharchitecture.com ) * Programmed by Paul de Repentigny <pdr@grapharchitecture.com> * * OpenSceneGraph is (C) 2004 Robert Osfield * * This library is provided as-is, without support of any kind. * * Read DXF docs or OSG docs for any related questions. * * You may contact the author if you have suggestions/corrections/enhancements. */#ifndef DXF_BLOCK#define DXF_BLOCK 1#include <map>#include <vector>#include <string>#include <osg/Referenced>#include <osg/Vec3d>#include <osg/ref_ptr>class dxfFile;class codeValue;class dxfEntity;typedef std::vector<osg::ref_ptr<dxfEntity> > EntityList;class dxfBlock : public osg::Referenced{public: dxfBlock() : _currentEntity(NULL) {} virtual ~dxfBlock() {} inline const std::string& getName() const { return _name; } virtual void assign(dxfFile* dxf, codeValue& cv); EntityList& getEntityList() { return _entityList; } const osg::Vec3d& getPosition() const; protected: EntityList _entityList; dxfEntity* _currentEntity; std::string _name; osg::Vec3d _position;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -