Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Servers/ServerManager/vtkSMPickLineWidgetProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMPickLineWidgetProxy.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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   // Determines the position of the widget end poins based on the 
00058   // pointer positions.
00059   void OnChar();
00060 
00061   // Static method for vtkCallbackCommand.
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; // identifier for the last picked line end point.
00071 
00072 private:
00073   vtkSMPickLineWidgetProxy(const vtkSMPickLineWidgetProxy&); // Not implemented.
00074   void operator=(const vtkSMPickLineWidgetProxy&); // Not implemented.
00075 };
00076 
00077 #endif

Generated on Tue May 30 12:31:48 2006 for ParaView by doxygen 1.3.5