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_; }
186 bool isValid()
const;
267 void setComposite(
const Composite& composite);
276 void setCompositeName(
const String& name);
280 const String& getCompositeName()
const;
292 { update_representations_ = state;}
296 {
return update_representations_;}
300 { show_selection_infos_ = state;}
304 {
return show_selection_infos_;}
463 void setSelection(
const std::list<Composite*>& selection);
467 const std::list<Composite*>& getSelection()
const;
471 std::list<Composite*>& getSelection();
477 std::list<Composite*> selection_;
541 { selection_ = selection;}
546 {
return selection_;}
560 std::list<GeometricObject*> selection_;
615 {representation_ = &rep;}
619 {
return representation_;}
704 {
return composites_;}
708 {
return model_type_;}
712 {
return coloring_method_;}
715 std::list<Composite*> composites_;
861 conformation_set_ = conformation_set;
879 # ifndef BALL_NO_INLINE_FUNCTIONS 880 # include <BALL/VIEW/KERNEL/message.iC> 885 #endif // BALL_VIEW_KERNEL_MESSAGE_H
const QObject * getObject() const
Update all datas for a Composite (but not in the MolecularControl)
Move the Camera in the Scene to the value in this message.
center the camera on a composite
const ConformationSet * conformation_set_
this conformation set is deleted in DockResult
const std::list< GeometricObject * > & getSelection() const
void setRegisterMode(bool state)
void setUpdateRepresentations(bool state)
Base class for all messages concerning a Representation.
Redraw from the GLDisplayList objects.
void setRepresentation(Representation &rep)
bool update_representations_
Representation was selected in GeometriControl.
DeselectControlsMessage()
Type
Message type enumeration.
RepresentationMessageType getType() const
bool isSelected() const
Query if the GeometricObject are selected or deselected.
String getProject() const
ShowDisplayPropertiesMessage()
Add a Representation to GeometricControl, but don't update in Scene.
void setObject(const QObject *object)
selected a composite (e.g. per checkboxes in MolecularControl)
SceneMessageType getType() const
Get the type of the message.
const ConformationSet * getConformationSet() const
bool show_selection_infos_
void setURL(const String &url)
MolecularTaskMessageType type_
MolecularTaskMessageType getType() const
ColoringMethod getColoringMethod() const
bool showSelectionInfos()
Message to notify docking has finished.
void setShowSelectionInfos(bool state)
MolecularTaskMessageType
Enum for the different molecular tasks.
SceneMessageType
Types for SceneMessages.
Update all datas for a composite (also in MolecularControl)
const Stage & getStage() const
Get the Stage in this message.
Rebuild the GLDisplayList objects in the GLRenderer.
CompositeMessageType getType() const
Started the update of a Representation, no changes allowed in GeometricControl.
bool updateRepresentations() const
void setType(CompositeMessageType type)
const String & getURL() const
void setConformationSet(const ConformationSet *conformation_set)
deselected a composite (e.g. per checkboxes in MolecularControl)
void setSelection(const std::list< GeometricObject *> &selection)
Move Composites or a Clipping Plane.
Representation * getRepresentation()
void setOpenItems(bool state)
Finished the update of a Representation.
RepresentationMessageType
Types of RepresentationMessage.
ModelType getModelType() const
Dataset * getDataset() const
CompositeMessageType type_
-*- Mode: C++; tab-width: 2; -*-
void setDataset(Dataset *set)
bool openItems()
Open all SelectableListViewItems, if they have a selected child.
void setStage(Stage stage)
A Composite to be removed.
Update the Representation.
SyncClippingPlanesMessage()
void setSelected(bool state)
Set the GeometricObject's to be selected or deselected.
Stage & getStage()
Get the Stage in this message.
Remove the coordinate system in the Scene.
const std::list< Composite * > & getComposites() const