36#include <dime/Basic.h>
37#include <dime/entities/Entity.h>
38#include <dime/util/Linear.h>
55 virtual bool getRecord(
const int groupcode,
57 const int index = 0)
const;
62 virtual int typeId()
const;
65 void setInsertionPoint(
const dimeVec3f &v);
66 const dimeVec3f &getInsertionPoint()
const;
71 void setRotAngle(dxfdouble angle);
72 dxfdouble getRotAngle()
const;
82 dimeCallback callback,
88 int16 attributesFollow;
89 const char *blockName;
102 dxfdouble rowSpacing;
103 dxfdouble columnSpacing;
112dimeInsert::setInsertionPoint(
const dimeVec3f &v)
114 this->insertionPoint = v;
118dimeInsert::getInsertionPoint()
const
120 return this->insertionPoint;
124dimeInsert::getBlock()
const
136dimeInsert::getScale()
const
142dimeInsert::setRotAngle(dxfdouble angle)
144 this->rotAngle = angle;
148dimeInsert::getRotAngle()
const
150 return this->rotAngle;
virtual int typeId() const =0
The dimeBlock class handles a BLOCK entity.
Definition Block.h:46
The dimeBlocksSection class handles a BLOCKS section.
Definition BlocksSection.h:40
The dimeEntitiesSection class handles an ENTITIES section.
Definition EntitiesSection.h:40
The dimeEntity class is the superclass of all entity classes.
Definition Entity.h:61
virtual bool getRecord(const int groupcode, dimeParam ¶m, const int index=0) const
Definition Entity.cpp:715
virtual bool write(dimeOutput *const out)
Definition Entity.cpp:271
virtual void fixReferences(dimeModel *const model)
Definition Entity.cpp:476
virtual bool read(dimeInput *const in)
Definition Entity.cpp:612
virtual const char * getEntityName() const =0
virtual int countRecords() const
Definition Entity.cpp:526
virtual bool handleRecord(const int groupcode, const dimeParam ¶m, dimeMemHandler *const memhandler)
Definition Entity.cpp:659
virtual dimeEntity * copy(dimeModel *const model) const =0
virtual bool traverse(const dimeState *const state, dimeCallback callback, void *userdata)
Definition Entity.cpp:541
The dimeInsert class handles an INSERT entity.
Definition Insert.h:43
The dimeMatrix class is for containing and operating on a four-by-four matrix.
Definition Linear.h:159
The dimeMemHandler class is a special-purpose memory manager.
Definition MemHandler.h:39
The dimeModel class organizes a model.
Definition Model.h:55
The dimeOutput class handles writing of DXF and DXB files.
Definition Output.h:42
The dimeState class manages various state variables while the model is traversed.
Definition State.h:41
The dimeVec3f class is for containing and operating on a 3D vector / coordinate.
Definition Linear.h:62
The dimeParam class is a union of the different parameter types.
Definition Basic.h:102