Public Member Functions | List of all members
iview::IShapeFactory Class Referenceabstract

Interface for creation of visualization shapes of some geometrical object. More...

#include <IShapeFactory.h>

Inheritance diagram for iview::IShapeFactory:
istd::IPolymorphic iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel > iqtprm::CComposedParamsSetGuiComp iview::CSimpleShapeFactoryComp iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d > iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusParamsGuiComp, iview::CAnnulusShape, i2d::CAnnulus > iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment > iqt2d::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CArc > iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, CircleBasedShape, CircleBasedModel > iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::CCircleShape, i2d::CCircle > iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::COrientedCircleShape, i2d::COrientedCircle > iqt2d::TShapeParamsGuiCompBase< Ui::CLine2dParamsGuiComp, iview::CLineShape, i2d::CLine2d > iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolygonShape, i2d::CPolygon > iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolylineShape, i2d::CPolyline > iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CTubePolylineShape, i2d::CTubePolyline > iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel > iqt2d::TShapeParamsGuiCompBase< Ui::CPosition2dParamsGuiComp, iview::CPinShape, i2d::CPosition2d > iqt2d::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle > iqt2d::TShapeParamsGuiCompBase< Ui::CRectangleParamsGuiComp, iview::CRectangleShape, i2d::CRectangle >

Public Member Functions

virtual IShapeCreateShape (const istd::IChangeable *objectPtr, bool connectToModel=false) const =0
 Create a graphical representation of the given 2D-object object. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Interface for creation of visualization shapes of some geometrical object.

Definition at line 18 of file IShapeFactory.h.

Member Function Documentation

virtual IShape* iview::IShapeFactory::CreateShape ( const istd::IChangeable objectPtr,
bool  connectToModel = false 
) const
pure virtual

Create a graphical representation of the given 2D-object object.

If is enabled, the created shape will be connected to the object's data model. If connection has failed, then no shape will be returned. The method returns NULL if the shape could not be created.

Parameters
objectPtrObject for which the shape will be created. If it is NULL, this will be anonymous. It is declared as const, but for attachement to model this const will be removed.
connectToModelIf this flag is enabled, the shape will be attached to model of object using observer/observable mechanism.

Implemented in iqtprm::CComposedParamsSetGuiComp, iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CArc >, iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CLine2dParamsGuiComp, iview::CLineShape, i2d::CLine2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CTubePolylineShape, i2d::CTubePolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::COrientedCircleShape, i2d::COrientedCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CRectangleParamsGuiComp, iview::CRectangleShape, i2d::CRectangle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusParamsGuiComp, iview::CAnnulusShape, i2d::CAnnulus >, iqt2d::TShapeParamsGuiCompBase< Ui::CPosition2dParamsGuiComp, iview::CPinShape, i2d::CPosition2d >, iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, iview::CCircleShape, i2d::CCircle >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolygonShape, i2d::CPolygon >, iqt2d::TShapeParamsGuiCompBase< Ui::CCircleParamsGuiComp, CircleBasedShape, CircleBasedModel >, iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolylineShape, i2d::CPolyline >, iqt2d::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle >, and iview::CSimpleShapeFactoryComp.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy