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
20 #include <QtCore/QPoint>
21 #include <QtGui/QMenu>
28 class ModifyRepresentationDialog;
30 class TransformationMessage;
80 virtual void initializeWidget(
MainControl& main_control);
95 virtual void updateRepresentation(
Representation& rep,
bool force=
false);
102 std::list<Representation*> getHighlightedRepresentations()
const;
107 virtual void onNotify(
Message *message);
115 virtual void buildContextMenu();
123 void updateClippingPlanes();
133 virtual void renameRepresentation();
136 virtual void selectAtoms();
139 virtual void selectedRepresentation(
Representation& representation,
bool state);
142 virtual void updateSelection();
145 virtual void focus();
148 virtual void enterMoveMode();
151 virtual void flipClippingCapping();
154 virtual void flipClippingPlane();
157 virtual void setClippingPosition();
160 virtual void setClippingPlaneX();
163 virtual void setClippingPlaneY();
166 virtual void setClippingPlaneZ();
169 void hideShowClippingPlane();
172 virtual void selectClipRepresentations();
175 void createNewClippingPlane();
196 virtual void modifyRepresentation_();
203 virtual void deleteCurrentItems();
206 virtual void setupProximityLight();
213 void showGuestContextMenu(
const QPoint& pos);
217 void addItem_(
const String& text,
const char* member,
QWidget* widget = 0);
225 COLUMN_ID__Properties
228 void setClippingPlane_(
const Vector3& n);
253 #endif // BALL_VIEW_WIDGETS_GEOMETRICCONTROL_H
ModifyRepresentationDialog * modify_rep_dialog_
vector< QAction * > context_menu_actions_
ClippingPlane * context_plane_
HashMap< ClippingPlane *, QTreeWidgetItem * > plane_to_item_
bool creating_representations_
HashMap< QTreeWidgetItem *, Representation * > item_to_representation_
HashMap< Representation *, QTreeWidgetItem * > representation_to_item_
HashMap< QTreeWidgetItem *, ClippingPlane * > item_to_plane_
Representation * context_representation_
#define BALL_EMBEDDABLE(TYPE, BASE)
QMenu clipping_plane_context_menu_
HashMap class based on the STL map (containing serveral convenience functions)
QAction * modify_surface_