Views
Manager Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions | Public Attributes
IlvManagerObjectGeometryMessage Class Reference

Manager message class used when modifying the geometry of a graphic object. More...

#include <ilviews/manager/observer.h>

Inheritance diagram for IlvManagerObjectGeometryMessage:
IlvManagerObjectMessage IlvManagerMessage

Public Member Functions

 IlvManagerObjectGeometryMessage (IlvGraphic *obj, const IlvRect &oldBBox, IlvRect &newBBox, IlUInt mask=0x00000010)
 Constructor. More...
 
- Public Member Functions inherited from IlvManagerObjectMessage
IlvGraphicgetObject () const
 Returns the graphic object. More...
 
- Public Member Functions inherited from IlvManagerMessage
 IlvManagerMessage (IlUInt reason, IlUInt mask, IlAny data=0)
 Constructor. More...
 

Public Attributes

IlvRect_newBBox
 New bounding box. More...
 
const IlvRect_oldBBox
 Previous bounding box. More...
 
- Public Attributes inherited from IlvManagerMessage
IlAny _data
 Additional message information. More...
 
IlUInt _mask
 Message mask (or message category). More...
 
IlUInt _reason
 Message type. More...
 

Detailed Description

Manager message class used when modifying the geometry of a graphic object.

Library: ilvmgr

This message class is used when the manager detects that the geometry of a graphic object has changed.

Note
Modifications of object geometry must occur within a call to a the manager member function such as IlvManager::applyToObjects().

Constructor & Destructor Documentation

◆ IlvManagerObjectGeometryMessage()

IlvManagerObjectGeometryMessage::IlvManagerObjectGeometryMessage ( IlvGraphic obj,
const IlvRect oldBBox,
IlvRect newBBox,
IlUInt  mask = 0x00000010 
)

Constructor.

Parameters
objThe graphic object.
oldBBoxThe previous bounding box of the graphic object.
newBBoxThe new bounding box of the graphic object.
maskThe message category.

Member Data Documentation

◆ _newBBox

IlvRect& IlvManagerObjectGeometryMessage::_newBBox

New bounding box.

The new bounding box of the graphic object.

◆ _oldBBox

const IlvRect& IlvManagerObjectGeometryMessage::_oldBBox

Previous bounding box.

The previous bounding box of the graphic object.