ICF 3.0.5.47
Technical documentation of ICF Libraries
icmpstr::ISceneProvider Class Referenceabstract

Interface for GUI objects managing scene. More...

#include <ISceneProvider.h>

Inheritance diagram for icmpstr::ISceneProvider:
Collaboration diagram for icmpstr::ISceneProvider:

Public Types

enum  SceneFlags { SF_FIXED_SIZE = 1 , SF_ALIGNED = 2 }
 

Public Member Functions

virtual int GetSceneId () const =0
 Get ID indentifing this scene.
 
virtual QGraphicsScene * GetScene () const =0
 Called when items should be removed from specified scene.
 
virtual bool GetSceneAlignment (double &distance) const =0
 Get parameters of grid alignment.
 
virtual int GetSceneFlags () const =0
 Get scene's paremeter info.
 

Detailed Description

Interface for GUI objects managing scene.

Definition at line 25 of file ISceneProvider.h.

Member Enumeration Documentation

◆ SceneFlags

Enumerator
SF_FIXED_SIZE 

Scene has a fixed size and cannot be resized by user.

SF_ALIGNED 

Scene has a grid alignment.

See also
GetSceneAlignment

Definition at line 29 of file ISceneProvider.h.

Member Function Documentation

◆ GetScene()

virtual QGraphicsScene * icmpstr::ISceneProvider::GetScene ( ) const
pure virtual

Called when items should be removed from specified scene.

Implemented in icmpstr::CSceneProviderGuiComp.

◆ GetSceneAlignment()

virtual bool icmpstr::ISceneProvider::GetSceneAlignment ( double & distance) const
pure virtual

Get parameters of grid alignment.

Parameters
distancedistance between nearest alignment positions.
Returns
true if grid alignment is enabled.
See also
SceneFlags

Implemented in icmpstr::CSceneProviderGuiComp.

◆ GetSceneFlags()

virtual int icmpstr::ISceneProvider::GetSceneFlags ( ) const
pure virtual

Get scene's paremeter info.

See also
SceneFlags

Implemented in icmpstr::CSceneProviderGuiComp.

◆ GetSceneId()

virtual int icmpstr::ISceneProvider::GetSceneId ( ) const
pure virtual

Get ID indentifing this scene.

Typically this ID is 0 for first scene, 1 for the second etc.

Implemented in icmpstr::CSceneProviderGuiComp.


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

© Witold Gantzke and Kirill Lepskiy