![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Interface for scene manipulation and query the restrictions. More...
#include <ISceneController.h>
Public Types | |
enum | RestrictionFlags { SR_NONE = 0x0 , SR_ROTATE = 0x1 , SR_SHIFT = 0x2 , SR_SCALE = 0x4 , SR_ALL = 0xff } |
enum | FittingMode { FM_NONE , FM_ISOTROPIC_REDUCTION , FM_ISOTROPIC , FM_ANISOTROPIC } |
Vieport scale fitting mode. More... | |
enum | ScaleMode { SM_SET , SM_COMBINE , SM_RESET , SM_ZOOM_IN , SM_ZOOM_OUT , SM_FIT_ISOTROPIC_REDUCTION , SM_FIT_ISOTROPIC , SM_FIT_ANISOTROPIC } |
Describe mode for setting of scale value. More... | |
Public Member Functions | |
virtual int | GetSceneRestrictionFlags () const =0 |
Get the restriction flags, to tell the scene manipulator, what can be changed on the scene. | |
virtual FittingMode | GetFitMode () const =0 |
Get vieport scale fitting mode. | |
virtual bool | SetFitMode (FittingMode fitMode)=0 |
Set vieport scale fitting mode. | |
virtual bool | IsFullScreenMode () const =0 |
Check if full screen mode is enabled. | |
virtual bool | SetFullScreenMode (bool isFullScreen)=0 |
Set full screen mode on/off. | |
virtual double | GetScale () const =0 |
Get actual scale factor. | |
virtual bool | SetScale (int scaleMode=SM_SET, double value=1.0)=0 |
Set or modify scale factor. | |
Interface for scene manipulation and query the restrictions.
Definition at line 21 of file ISceneController.h.
Vieport scale fitting mode.
Definition at line 55 of file ISceneController.h.
Definition at line 24 of file ISceneController.h.
Describe mode for setting of scale value.
Definition at line 77 of file ISceneController.h.
|
pure virtual |
Get vieport scale fitting mode.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Get actual scale factor.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Get the restriction flags, to tell the scene manipulator, what can be changed on the scene.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Check if full screen mode is enabled.
In full screen mode scene is shown on whole screen area.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Set vieport scale fitting mode.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Set full screen mode on/off.
In full screen mode scene is shown on whole screen area.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Set or modify scale factor.
See ScaleMode for possible modes.
Implemented in icmpstr::CSceneProviderGuiComp.
© Witold Gantzke and Kirill Lepskiy