dxfblock.h

来自「最新osg包」· C头文件 代码 · 共 48 行

H
48
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?