00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00032 #ifndef __vtkSMPickLineWidgetProxy_h
00033 #define __vtkSMPickLineWidgetProxy_h
00034
00035 #include "vtkSMLineWidgetProxy.h"
00036
00037 class vtkCallbackCommand;
00038 class vtkRenderWindowInteractor;
00039
00040 class VTK_EXPORT vtkSMPickLineWidgetProxy : public vtkSMLineWidgetProxy
00041 {
00042 public:
00043 static vtkSMPickLineWidgetProxy* New();
00044 vtkTypeRevisionMacro(vtkSMPickLineWidgetProxy, vtkSMLineWidgetProxy);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00048
00050 virtual void AddToRenderModule(vtkSMRenderModuleProxy*);
00051 virtual void RemoveFromRenderModule(vtkSMRenderModuleProxy*);
00053 protected:
00054 vtkSMPickLineWidgetProxy();
00055 ~vtkSMPickLineWidgetProxy();
00056
00057
00058
00059 void OnChar();
00060
00061
00062 static void ProcessEvents(vtkObject* vtkNotUsed(object),
00063 unsigned long event,
00064 void* clientdata,
00065 void* vtkNotUsed(calldata));
00066
00067 unsigned long EventTag;
00068 vtkCallbackCommand* EventCallbackCommand;
00069 vtkRenderWindowInteractor* Interactor;
00070 int LastPicked;
00071
00072 private:
00073 vtkSMPickLineWidgetProxy(const vtkSMPickLineWidgetProxy&);
00074 void operator=(const vtkSMPickLineWidgetProxy&);
00075 };
00076
00077 #endif