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::CImageShape iview::CInteractiveShapeBase iview::CPolypointShape iview::CInteractiveShapeBase iqtgui::TGuiObserverWrap< CViewProviderGuiComp, iview::CImageShape > iview::CAffineTransformation2dShape iview::CLineShape iview::CParallelogramShape iview::CPinShape iview::CRectangleShape iview::CRectControlledShapeBase iview::CAffineTransformation2dShape iview::CLineShape iview::CParallelogramShape iview::CPinShape iview::CRectangleShape iview::CRectControlledShapeBase

Public Member Functions

virtual bool IsVisible () const =0
 Check, if this object is visible. More...
 
virtual bool IsDisplayAccepted (const IDisplay &display) const =0
 Check if this object can be connected to this display. More...
 
virtual void OnConnectDisplay (IDisplay *displayPtr)=0
 Called after display is connected. More...
 
virtual void OnDisconnectDisplay (IDisplay *displayPtr)=0
 Called after display is disconnected. More...
 
virtual void Draw (QPainter &drawContext) const =0
 Draw this shape using draw context. More...
 
virtual bool OnDisplayChange (const istd::IChangeable::ChangeSet &changeSet)=0
 It informs about changes in display. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Definition at line 20 of file IVisualizable.h.

Member Function Documentation

virtual void iview::IVisualizable::Draw ( QPainter &  drawContext) const
pure virtual
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.

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

Check, if this object is visible.

Implemented in iview::CShapeBase.

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.

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.

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:

© 2007-2017 Witold Gantzke and Kirill Lepskiy