24 LDObject* getObject(int position) const; |
24 LDObject* getObject(int position) const; |
25 void recountTriangles(); |
25 void recountTriangles(); |
26 int triangleCount() const; |
26 int triangleCount() const; |
27 QVector<LDObject*>::iterator begin(); |
27 QVector<LDObject*>::iterator begin(); |
28 QVector<LDObject*>::iterator end(); |
28 QVector<LDObject*>::iterator end(); |
|
29 bool isEmpty() const; |
29 |
30 |
30 template<typename T, typename... Args> |
31 template<typename T, typename... Args> |
31 T* emplace(Args&& ...args) |
32 T* emplace(Args&& ...args) |
32 { |
33 { |
33 T* object = constructObject<T>(args...); |
34 T* object = constructObject<T>(args...); |