35 #include "pqDeprecatedModule.h" 38 class pq3DWidgetInternal;
44 class vtkPVXMLElement;
45 class vtkSMNewWidgetRepresentationProxy;
56 pq3DWidget(vtkSMProxy* referenceProxy, vtkSMProxy* proxy, QWidget* parent=0);
65 static QList<pq3DWidget*> createWidgets(vtkSMProxy* refProxy, vtkSMProxy* proxy);
71 vtkSMProxy* getControlledProxy()
const;
73 vtkSMProxy* getReferenceProxy()
const;
79 void setHints(vtkPVXMLElement* element);
80 vtkPVXMLElement* getHints()
const;
83 vtkSMNewWidgetRepresentationProxy* getWidgetProxy()
const;
88 bool widgetVisible()
const;
91 bool widgetSelected()
const;
99 virtual void resetBounds(
double bounds[6])=0;
103 void widgetVisibilityChanged(
bool);
106 void widgetStartInteraction();
109 void widgetEndInteraction();
112 void widgetInteraction();
116 void setWidgetVisible(
bool);
140 virtual void reset();
154 virtual void resetBounds();
162 { this->UseSelectionDataBounds = use; }
164 {
return this->UseSelectionDataBounds; }
171 void setPickOnMeshPoint(
bool);
177 virtual void pick(
double,
double,
double) {};
180 virtual void updateMasterEnableState(
bool);
183 void handleReferenceProxyUserEvent(vtkObject*,
unsigned long,
void*);
188 bool pickOnMeshPoint()
const;
194 virtual void setControlledProperty(
const char*
function,
195 vtkSMProperty * controlled_property);
200 void pickingSupported(
const QKeySequence& key);
202 void setControlledProperty(vtkSMProperty* widget_property, vtkSMProperty* controlled_property);
205 void setWidgetProxy(vtkSMNewWidgetRepresentationProxy*);
208 virtual void onControlledPropertyChanged();
212 int getReferenceInputBounds(
double bounds[6])
const;
215 virtual void updateWidgetVisibility();
218 virtual void updateWidgetState(
bool visible,
bool enable);
221 virtual void updatePickShortcut();
222 virtual void updatePickShortcut(
bool pickable);
225 void setControlledProxy(vtkSMProxy*);
227 pq3DWidgetInternal*
const Internal;
229 bool UseSelectionDataBounds;
231 class pqStandardWidgets;
virtual void accept()
accept the changes made to the properties changes will be propogated down to the server manager subcl...
******DEPRECATION WARNING******* pqProxyPanel and subclasses will soon be removed from ParaView...
virtual void deselect()
Called when the panel becomes inactive.
This is a PQ abstraction of a generic view module.
virtual void select()
Called when the panel becomes active.
virtual void setView(pqView *)
Set the view that this panel works with.
This class represents any registered Server Manager proxy.
pqRenderViewBase is an abstract base class for all render-view based views.
PQ representation for a vtkSMProxy that can be involved in a pipeline.
virtual void reset()
reset the changes made editor will query properties from the server manager