Go to the documentation of this file.
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;
292 { update_representations_ = state;}
296 {
return update_representations_;}
300 { show_selection_infos_ = state;}
304 {
return show_selection_infos_;}
400 void setType(SceneMessageType type);
423 SceneMessageType type_;
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_;}
622 void setType(RepresentationMessageType type);
631 RepresentationMessageType type_;
662 void setType(MolecularTaskMessageType type);
704 {
return composites_;}
708 {
return model_type_;}
712 {
return coloring_method_;}
715 std::list<Composite*> composites_;
862 conformation_set_ = conformation_set;
880 # ifndef BALL_NO_INLINE_FUNCTIONS
881 # include <BALL/VIEW/KERNEL/message.iC>
886 #endif // BALL_VIEW_KERNEL_MESSAGE_H
void setMatrix(const Matrix4x4 &m)
const String & getURL() const
ModelType getModelType() const
void setRepresentation(Representation &rep)
Dataset * getDataset() const
CompositeMessageType type_
DatasetMessage(Dataset *set=0, Type type=UNDEFINED)
void setUpdateRepresentations(bool state)
Finished the update of a Representation.
void setType(CompositeMessageType type)
void setRegisterMode(bool state)
const std::list< GeometricObject * > & getSelection() const
Started the update of a Representation, no changes allowed in GeometricControl.
Move Composites or a Clipping Plane.
Stage & getStage()
Get the Stage in this message.
Representation * getRepresentation()
ShowDisplayPropertiesMessage()
deselected a composite (e.g. per checkboxes in MolecularControl)
bool show_selection_infos_
SceneMessageType getType() const
Get the type of the message.
bool update_representations_
Add a Representation to GeometricControl, but don't update in Scene.
RepresentationMessageType getType() const
MolecularTaskMessageType getType() const
Message to notify docking has finished.
void setSelected(bool state)
Set the GeometricObject's to be selected or deselected.
MolecularTaskMessageType type_
void setDataset(Dataset *set)
center the camera on a composite
const ConformationSet * getConformationSet() const
Rebuild the GLDisplayList objects in the GLRenderer.
bool isSelected() const
Query if the GeometricObject are selected or deselected.
selected a composite (e.g. per checkboxes in MolecularControl)
bool updateRepresentations() const
DeselectControlsMessage()
Remove the coordinate system in the Scene.
bool showSelectionInfos()
const QObject * getObject() const
Type
Message type enumeration.
CompositeMessageType getType() const
String getProject() const
const ConformationSet * conformation_set_
this conformation set is deleted in DockResult
const Matrix4x4 & getMatrix() const
RepresentationMessageType
Types of RepresentationMessage.
void setShowSelectionInfos(bool state)
A Composite to be removed.
MolecularTaskMessageType
Enum for the different molecular tasks.
Representation was selected in GeometriControl.
const std::list< Composite * > & getComposites() const
Move the Camera in the Scene to the value in this message.
Update the Representation.
Allow >90 different kinds of visualization.
Update all datas for a Composite (but not in the MolecularControl)
Base class for all messages concerning a Representation.
void setStage(Stage stage)
void setSelection(const std::list< GeometricObject * > &selection)
SyncClippingPlanesMessage()
ColoringMethod getColoringMethod() const
void setURL(const String &url)
const Stage & getStage() const
Get the Stage in this message.
void setOpenItems(bool state)
Update all datas for a composite (also in MolecularControl)
Redraw from the GLDisplayList objects.
void setConformationSet(const ConformationSet *conformation_set)
void setObject(const QObject *object)
SceneMessageType
Types for SceneMessages.
bool openItems()
Open all SelectableListViewItems, if they have a selected child.