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_;
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
Update all datas for a composite (also in MolecularControl)
void setOpenItems(bool state)
Started the update of a Representation, no changes allowed in GeometricControl.
void setType(CompositeMessageType type)
Type
Message type enumeration.
Base class for all messages concerning a Representation.
Redraw from the GLDisplayList objects.
const String & getURL() const
void setConformationSet(const ConformationSet *conformation_set)
const QObject * getObject() const
void setURL(const String &url)
const Stage & getStage() const
Get the Stage in this message.
Rebuild the GLDisplayList objects in the GLRenderer.
void setSelected(bool state)
Set the GeometricObject's to be selected or deselected.
Add a Representation to GeometricControl, but don't update in Scene.
MolecularTaskMessageType getType() const
Dataset * getDataset() const
CompositeMessageType getType() const
void setShowSelectionInfos(bool state)
void setUpdateRepresentations(bool state)
bool update_representations_
DeselectControlsMessage()
CompositeMessageType type_
Move Composites or a Clipping Plane.
RepresentationMessageType getType() const
const std::list< Composite * > & getComposites() const
Update the Representation.
RepresentationMessageType
Types of RepresentationMessage.
bool show_selection_infos_
void setRepresentation(Representation &rep)
Representation * getRepresentation()
bool updateRepresentations() const
String getProject() const
Update all datas for a Composite (but not in the MolecularControl)
MolecularTaskMessageType type_
void setDataset(Dataset *set)
deselected a composite (e.g. per checkboxes in MolecularControl)
Representation was selected in GeometriControl.
const Matrix4x4 & getMatrix() const
A Composite to be removed.
MolecularTaskMessageType
Enum for the different molecular tasks.
Finished the update of a Representation.
bool openItems()
Open all SelectableListViewItems, if they have a selected child.
bool showSelectionInfos()
Stage & getStage()
Get the Stage in this message.
center the camera on a composite
bool isSelected() const
Query if the GeometricObject are selected or deselected.
const std::list< GeometricObject * > & getSelection() const
void setObject(const QObject *object)
SyncClippingPlanesMessage()
Message to notify docking has finished.
selected a composite (e.g. per checkboxes in MolecularControl)
Move the Camera in the Scene to the value in this message.
ShowDisplayPropertiesMessage()
const ConformationSet * getConformationSet() const
void setRegisterMode(bool state)
void setMatrix(const Matrix4x4 &m)
ColoringMethod getColoringMethod() const
SceneMessageType getType() const
Get the type of the message.
Remove the coordinate system in the Scene.
void setStage(Stage stage)
ModelType getModelType() const
const ConformationSet * conformation_set_
this conformation set is deleted in DockResult
SceneMessageType
Types for SceneMessages.
void setSelection(const std::list< GeometricObject *> &selection)