5 #ifndef BALL_VIEW_KERNEL_MESSAGE_H
6 #define BALL_VIEW_KERNEL_MESSAGE_H
8 #ifndef BALL_VIEW_KERNEL_STAGE_H
12 #ifndef BALL_VIEW_KERNEL_COMMON_H
16 #include <boost/any.hpp>
23 class ConformationSet;
28 class ConnectionObject;
29 class GeometricObject;
105 void setDeletable(
bool flag =
true);
109 bool isDeletable()
const;
115 boost::any&
data() {
return data_; }
267 void setComposite(
const Composite& composite);
276 void setCompositeName(
const String& name);
280 const String& getCompositeName()
const;
291 void setUpdateRepresentations(
bool state)
292 { update_representations_ = state;}
295 bool updateRepresentations()
const
296 {
return update_representations_;}
299 void setShowSelectionInfos(
bool state)
300 { show_selection_infos_ = state;}
303 bool showSelectionInfos()
304 {
return show_selection_infos_;}
400 void setType(SceneMessageType type);
463 void setSelection(
const std::list<Composite*>& selection);
467 const std::list<Composite*>& getSelection()
const;
471 std::list<Composite*>& getSelection();
505 void setOpenItems(
bool state)
540 void setSelection(
const std::list<GeometricObject*>& selection)
541 { selection_ = selection;}
545 const std::list<GeometricObject*>& getSelection()
const
546 {
return selection_;}
549 void setSelected(
bool state)
553 bool isSelected()
const
598 ADD_TO_GEOMETRIC_CONTROL
612 {representation_ = &rep;}
616 {
return representation_;}
619 void setType(RepresentationMessageType type);
659 void setType(MolecularTaskMessageType type);
700 const std::list<Composite*>& getComposites()
const
701 {
return composites_;}
705 {
return model_type_;}
709 {
return coloring_method_;}
858 conformation_set_ = conformation_set;
876 # ifndef BALL_NO_INLINE_FUNCTIONS
877 # include <BALL/VIEW/KERNEL/message.iC>
882 #endif // BALL_VIEW_KERNEL_MESSAGE_H