BALL::VIEW::GeometricObjectSelectionMessage Class Reference
[Messages]

#include <BALL/VIEW/KERNEL/message.h>

Inheritance diagram for BALL::VIEW::GeometricObjectSelectionMessage:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Constructors and Destructors

 GeometricObjectSelectionMessage ()
virtual ~GeometricObjectSelectionMessage ()
Accessors: inspectors and mutators

void setSelection (const std::list< GeometricObject * > &selection)
const std::list
< GeometricObject * > & 
getSelection () const
void setSelected (bool state)
 Set the GeometricObject's to be selected or deselected.
bool isSelected () const
 Query if the GeometricObject are selected or deselected.

Private Attributes

std::list< GeometricObject * > selection_
bool state_

Detailed Description

GeometricObjectSelectionMessage class.

Sent by Scene after picking GeometricObject.
Caught by MainControl.

Definition at line 505 of file message.h.


Constructor & Destructor Documentation

BALL::VIEW::GeometricObjectSelectionMessage::GeometricObjectSelectionMessage (  ) 

Default Constructor.

virtual BALL::VIEW::GeometricObjectSelectionMessage::~GeometricObjectSelectionMessage (  )  [virtual]

Destructor.


Member Function Documentation

const std::list<GeometricObject*>& BALL::VIEW::GeometricObjectSelectionMessage::getSelection (  )  const [inline]

Non-mutable inspection of the selection of Composite objects.

Definition at line 534 of file message.h.

bool BALL::VIEW::GeometricObjectSelectionMessage::isSelected (  )  const [inline]

Query if the GeometricObject are selected or deselected.

Definition at line 542 of file message.h.

void BALL::VIEW::GeometricObjectSelectionMessage::setSelected ( bool  state  )  [inline]

Set the GeometricObject's to be selected or deselected.

Definition at line 538 of file message.h.

void BALL::VIEW::GeometricObjectSelectionMessage::setSelection ( const std::list< GeometricObject * > &  selection  )  [inline]

Change the selection of Composite objects. The selection list will be copied from the given list.

Definition at line 529 of file message.h.


Member Data Documentation

Definition at line 549 of file message.h.

Definition at line 551 of file message.h.

Generated by  doxygen 1.6.3