|
ACF $AcfVersion:0$
|
#include <IVisualizable.h>
Public Member Functions | |
| virtual bool | IsVisible () const =0 |
| Check, if this object is visible. | |
| virtual bool | IsDisplayAccepted (const IDisplay &display) const =0 |
| Check if this object can be connected to this display. | |
| virtual void | OnConnectDisplay (IDisplay *displayPtr)=0 |
| Called after display is connected. | |
| virtual void | OnDisconnectDisplay (IDisplay *displayPtr)=0 |
| Called after display is disconnected. | |
| virtual void | Draw (QPainter &drawContext) const =0 |
| Draw this shape using draw context. | |
| virtual bool | OnDisplayChange (const istd::IChangeable::ChangeSet &changeSet)=0 |
| It informs about changes in display. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Definition at line 20 of file IVisualizable.h.
|
pure virtual |
Draw this shape using draw context.
Implemented in iview::CAffineTransformation2dShape, iview::CAnnulusSegmentShape, iview::CAnnulusShape, iview::CArcShape, iview::CCenterPinShape, iview::CCircleShape, iview::CDistanceToolShape, iview::CImageShape, iview::CLabelShape, iview::CLineShape, iview::COrientedCircleShape, iview::CParallelogramShape, iview::CPinShape, iview::CPolygonShape, iview::CPolypointShape, iview::CRectangleShape, iview::CRectControlledShapeBase, and iview::CStarShape.
|
pure virtual |
Check if this object can be connected to this display.
Implemented in iview::CShapeBase.
|
pure virtual |
Check, if this object is visible.
Implemented in iview::CShapeBase.
|
pure virtual |
Called after display is connected.
It can be called only, when display is accepted (
| displayPtr | an observer object, which should be informed about all shape changes. |
Implemented in iview::CShapeBase.
|
pure virtual |
Called after display is disconnected.
Note, that this display must be previously connected.
| displayPtr | a disconnected observer object. |
Implemented in iview::CShapeBase.
|
pure virtual |
It informs about changes in display.
It is called e.g. after view transformation change.
Implemented in iview::CShapeBase.