5 #ifndef BALL_VIEW_WIDGETS_GEOMETRICCONTROL_H
6 #define BALL_VIEW_WIDGETS_GEOMETRICCONTROL_H
12 #ifndef BALL_VIEW_WIDGETS_GENERICCONTROL_H
16 #ifndef BALL_VIEW_KERNEL_COMMON_H
21 #include <QtCore/QPoint>
22 #include <QtGui/QMenu>
29 class ModifyRepresentationDialog;
31 class TransformationMessage;
81 virtual void initializeWidget(
MainControl& main_control);
103 std::list<Representation*> getHighlightedRepresentations()
const;
108 virtual void onNotify(
Message *message);
116 virtual void buildContextMenu();
124 void updateClippingPlanes();
134 virtual void renameRepresentation();
137 virtual void selectAtoms();
140 virtual void selectedRepresentation(
Representation& representation,
bool state);
143 virtual void updateSelection();
146 virtual void focus();
149 virtual void enterMoveMode();
152 virtual void flipClippingCapping();
155 virtual void flipClippingPlane();
158 virtual void setClippingPosition();
161 virtual void setClippingPlaneX();
164 virtual void setClippingPlaneY();
167 virtual void setClippingPlaneZ();
170 void hideShowClippingPlane();
173 virtual void selectClipRepresentations();
176 void createNewClippingPlane();
197 virtual void modifyRepresentation_();
204 virtual void deleteCurrentItems();
211 void showGuestContextMenu(
const QPoint& pos);
215 void addItem_(
const String& text,
const char* member,
QWidget* widget = 0);
223 COLUMN_ID__Properties
226 void setClippingPlane_(
const Vector3& n);
251 #endif // BALL_VIEW_WIDGETS_GEOMETRICCONTROL_H