ICF 3.0.5.47
Technical documentation of ICF Libraries
IShapeFactory.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iview_IShapeFactory_included
7#define iview_IShapeFactory_included
8
9
10// ICF includes
11#include <i2d/IObject2d.h>
12
13#include <iview/IShape.h>
14
15
16namespace iview
17{
18
19
23class IShapeFactory: virtual public istd::IPolymorphic
24{
25public:
37 virtual std::unique_ptr<IShape> CreateShape(const istd::IChangeable* objectPtr, bool connectToModel = false) const = 0;
38};
39
40
41} // namespace iview
42
43
44#endif // !iview_IShapeFactory_included
45
46
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Interface for creation of visualization shapes of some geometrical object.
virtual std::unique_ptr< IShape > CreateShape(const istd::IChangeable *objectPtr, bool connectToModel=false) const =0
Create a graphical representation of the given 2D-object object.
In this library is defined 2D view concept and standard visualisation objects.

© Witold Gantzke and Kirill Lepskiy