Views
Prototypes Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvGroupGraphic Class Reference

Graphic object encapsulating an IlvGroup. More...

#include <ilviews/protos/grpgraph.h>

Inheritance diagram for IlvGroupGraphic:
IlvSimpleGraphic IlvGraphic IlvStylable IlvValueInterface IlvProtoGraphic

Public Member Functions

 IlvGroupGraphic (IlvDisplay *display, IlvGroup *group, IlBoolean owner=IlTrue, IlvPalette *palette=0)
 Initializes a new group graphic attached to a specified group. More...
 
IlvGroupgetGroup () const
 Gets the group associated with this group graphic. More...
 

Detailed Description

Graphic object encapsulating an IlvGroup.

Library: ilvproto

IlvGroupGraphic is a graphic object used to display and manipulate a group that contains graphic objects. It appears as a rectangle that corresponds to the bounding box of the graphic objects contained in the group. Applying a transformation to the group graphic applies the same transformation to all the nodes of the group. An IlvGroupGraphic is mainly used by a special IlvSelectInteractor in Studio to display, move, and resize the currently selected group.

See also
IlvGroup, IlvGroupNode.

Constructor & Destructor Documentation

◆ IlvGroupGraphic()

IlvGroupGraphic::IlvGroupGraphic ( IlvDisplay display,
IlvGroup group,
IlBoolean  owner = IlTrue,
IlvPalette palette = 0 
)

Initializes a new group graphic attached to a specified group.

Parameters
displayThe display instance that is used.
groupThe group to be encapsulated.
ownerFlag set to IlTrue if the group is to be deleted when the graphic object is deleted.
paletteUnused parameter, left for compatibility reasons.

Member Function Documentation

◆ getGroup()

IlvGroup* IlvGroupGraphic::getGroup ( ) const

Gets the group associated with this group graphic.

Returns
A pointer to the group associated with this group graphic.