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

#include <IDisplay.h>

Inheritance diagram for iview::IDisplay:
iview::IShapeObserver istd::IPolymorphic iview::IShapeView iview::IViewLayer iview::CViewBase iview::CViewLayer iview::ISelectableLayer iview::CCalibratedViewBase iview::CInteractiveViewLayer iview::CToolsViewLayer iview::CInteractiveViewLayer iview::CToolsViewLayer iview::CViewport

Public Types

enum  ChangeFlags {
  CF_TRANSFORM = 0x3f67360 , CF_COLORS , CF_SIZE , CF_EDIT_MODE ,
  CF_DISPLAY_MODE , CS_CONSOLE
}
 Define possible display change flags. More...
 

Public Member Functions

virtual IDisplayGetParentDisplayPtr () const =0
 Get parent object of this display.
 
virtual const iview::CScreenTransformGetTransform () const =0
 Return a screen transformation.
 
virtual i2d::CRect GetBoundingBox () const =0
 Get bounding box of all object in this display.
 
virtual i2d::CRect GetClientRect () const =0
 Get bounding box of client area.
 
virtual const IColorSchemaGetColorSchema () const =0
 Get color schema.
 
virtual void OnAreaInvalidated (const i2d::CRect &prevArea, const i2d::CRect &newArea)=0
 Invalidate display area.
 
- Public Member Functions inherited from iview::IShapeObserver
virtual void OnChangeShape (IShape *shapePtr)=0
 Invalidate a shape.
 
virtual bool DisconnectShape (IShape *shapePtr)=0
 Disconnect shape object from view.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

Definition at line 18 of file IDisplay.h.

Member Enumeration Documentation

◆ ChangeFlags

Define possible display change flags.

Enumerator
CF_TRANSFORM 

View transform is changed.

CF_COLORS 

View colors are changed.

CF_SIZE 

View size is changed.

CF_EDIT_MODE 

Edit mode is changed.

CF_DISPLAY_MODE 

Display mode is changed.

CS_CONSOLE 

Indicate, that changes come from display console shapes.

Definition at line 24 of file IDisplay.h.

Member Function Documentation

◆ GetBoundingBox()

virtual i2d::CRect iview::IDisplay::GetBoundingBox ( ) const
pure virtual

Get bounding box of all object in this display.

Implemented in iview::CViewBase, and iview::CViewLayer.

◆ GetClientRect()

virtual i2d::CRect iview::IDisplay::GetClientRect ( ) const
pure virtual

Get bounding box of client area.

Implemented in iview::CViewLayer, and iview::CViewport.

Referenced by iview::CViewBase::SetBackgroundBufferValid().

◆ GetColorSchema()

virtual const IColorSchema & iview::IDisplay::GetColorSchema ( ) const
pure virtual

Get color schema.

Implemented in iview::CViewBase, and iview::CViewLayer.

◆ GetParentDisplayPtr()

virtual IDisplay * iview::IDisplay::GetParentDisplayPtr ( ) const
pure virtual

Get parent object of this display.

If this display is root, it returns NULL.

Implemented in iview::CViewBase, and iview::CViewLayer.

◆ GetTransform()

virtual const iview::CScreenTransform & iview::IDisplay::GetTransform ( ) const
pure virtual

Return a screen transformation.

This transformation converts view units to screen units.

Implemented in iview::CViewBase, and iview::CViewLayer.

◆ OnAreaInvalidated()

virtual void iview::IDisplay::OnAreaInvalidated ( const i2d::CRect prevArea,
const i2d::CRect newArea 
)
pure virtual

Invalidate display area.

Parameters
prevAreaprevious area used to display object.
newAreanew area used to display object.

Implemented in iview::CViewport, iview::CViewBase, and iview::CViewLayer.


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