ACF $AcfVersion:0$
Public Member Functions | List of all members
iview::IVisualizable Class Referenceabstract

#include <IVisualizable.h>

Inheritance diagram for iview::IVisualizable:
istd::IPolymorphic iview::IShape iview::CShapeBase iview::IInteractiveShape iview::CDistanceToolShape iview::CImageShape iview::CInteractiveShapeBase iview::CPolypointShape iview::CDistanceToolShape iview::CInteractiveShapeBase iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape > iview::CAffineTransformation2dShape iview::CLineShape iview::CParallelogramShape iview::CPinShape iview::CRectControlledShapeBase iview::CRectangleShape iview::CAffineTransformation2dShape iview::CLineShape iview::CParallelogramShape iview::CPinShape iview::CRectControlledShapeBase iview::CRectangleShape

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 ()
 

Detailed Description

Definition at line 20 of file IVisualizable.h.

Member Function Documentation

◆ Draw()

virtual void iview::IVisualizable::Draw ( QPainter &  drawContext) const
pure virtual

◆ IsDisplayAccepted()

virtual bool iview::IVisualizable::IsDisplayAccepted ( const IDisplay display) const
pure virtual

Check if this object can be connected to this display.

Implemented in iview::CShapeBase.

◆ IsVisible()

virtual bool iview::IVisualizable::IsVisible ( ) const
pure virtual

Check, if this object is visible.

Implemented in iview::CShapeBase.

◆ OnConnectDisplay()

virtual void iview::IVisualizable::OnConnectDisplay ( IDisplay displayPtr)
pure virtual

Called after display is connected.

It can be called only, when display is accepted (

See also
IsDisplayAccepted()).
Parameters
displayPtran observer object, which should be informed about all shape changes.

Implemented in iview::CShapeBase.

◆ OnDisconnectDisplay()

virtual void iview::IVisualizable::OnDisconnectDisplay ( IDisplay displayPtr)
pure virtual

Called after display is disconnected.

Note, that this display must be previously connected.

Parameters
displayPtra disconnected observer object.

Implemented in iview::CShapeBase.

◆ OnDisplayChange()

virtual bool iview::IVisualizable::OnDisplayChange ( const istd::IChangeable::ChangeSet changeSet)
pure virtual

It informs about changes in display.

It is called e.g. after view transformation change.

Returns
true, if this change follow shape changes.

Implemented in iview::CShapeBase.


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