My Project
|
Base object. Virtual class. No realisation. More...
#include "model/baseobject.h"
Public Member Functions | |
virtual void | modificate (Modification *modification, Vertex *center=nullptr)=0 |
virtual bool | isVertex () |
Public Attributes | |
int | ID |
Base object. Virtual class. No realisation.
Parent of visible scene objects
Definition at line 23 of file baseobject.h.
|
inlinevirtual |
In modification methods we need to know what kind of object we use: vertex or normal so here we know
Reimplemented in Vertex.
Definition at line 39 of file baseobject.h.
|
pure virtual |
Modificate object`s coordinates (rotation/zoom etc)
[in] | modification | Type of modification |
[in] | center | Modification center |
Implemented in Brick, Vertex, Composite, and Normal.
int BaseObject::ID |
Different meanings: In composite - get highest ID of objects. In brick - get ID of this brick.
Definition at line 46 of file baseobject.h.