src/linetypes/edge.h

Sun, 13 Mar 2022 18:46:10 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 13 Mar 2022 18:46:10 +0200
changeset 180
5b7a8f2270ff
parent 177
f69d53c053df
permissions
-rw-r--r--

Handle properties in a generic manner in the object editor

#pragma once
#include "polygonobject.h"

namespace ldraw
{
	class Edge;
}

class ldraw::Edge : public PolygonObject<2>
{
public:
	using PolygonObject::PolygonObject;
	QString textRepresentation() const override;
	void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override;
	Type typeIdentifier() const override;
	QString toLDrawCode() const override;
	QString iconName() const override;
	QString typeName() const override;
};

mercurial