Go to the documentation of this file.
6#ifndef iview_CSimpleShapeFactoryComp_included
7#define iview_CSimpleShapeFactoryComp_included
33 I_ASSIGN(m_useInteractiveShapesAttrPtr,
"UseInteractiveShapes",
"If true, the created shapes will be editable",
true,
true);
34 I_ASSIGN(m_colorSchemaCompPtr,
"ShapeColorSchema",
"Color schema used by displayed shape",
false,
"ShapeColorSchema");
44 I_ATTR(
bool, m_useInteractiveShapesAttrPtr);
Base class for component implementation.
Common interface for data model objects, which can be changed.
Simple shape factory for common 2D-objects.
std::unique_ptr< iview::IShape > CreateShape(const istd::IChangeable *objectPtr, bool connectToModel=false) const override
Create a graphical representation of the given 2D-object object.
virtual std::unique_ptr< IShape > CreateShapeInstance(const istd::IChangeable &object) const
icomp::CComponentBase BaseClass
Defines set of standard pens, brushes and simple management of unions.
Interface for creation of visualization shapes of some geometrical object.
In this library is defined 2D view concept and standard visualisation objects.
© Witold Gantzke and Kirill Lepskiy