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

Servers/ServerManager/vtkSMPickPointWidgetProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMPickPointWidgetProxy.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 =========================================================================*/
00022 #ifndef __vtkSMPickPointWidgetProxy_h
00023 #define __vtkSMPickPointWidgetProxy_h
00024 
00025 #include "vtkSMPointWidgetProxy.h"
00026 
00027 class vtkCallbackCommand;
00028 class vtkRenderWindowInteractor;
00029 
00030 class VTK_EXPORT vtkSMPickPointWidgetProxy : public vtkSMPointWidgetProxy
00031 {
00032 public:
00033   static vtkSMPickPointWidgetProxy* New();
00034   vtkTypeRevisionMacro(vtkSMPickPointWidgetProxy, vtkSMPointWidgetProxy);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00038 
00040   virtual void AddToRenderModule(vtkSMRenderModuleProxy*);
00041   virtual void RemoveFromRenderModule(vtkSMRenderModuleProxy*);
00043 protected:
00044   vtkSMPickPointWidgetProxy();
00045   ~vtkSMPickPointWidgetProxy();
00046 
00047   // Determines the position of the widget end poins based on the 
00048   // pointer positions.
00049   void OnChar();
00050 
00051   // Static method for vtkCallbackCommand.
00052   static void ProcessEvents(vtkObject* vtkNotUsed(object), 
00053                                           unsigned long event,
00054                                           void* clientdata, 
00055                                           void* vtkNotUsed(calldata));
00056   
00057   unsigned long EventTag;
00058   vtkCallbackCommand* EventCallbackCommand;
00059   vtkRenderWindowInteractor* Interactor;
00060 
00061 private:
00062   vtkSMPickPointWidgetProxy(const vtkSMPickPointWidgetProxy&); // Not implemented.
00063   void operator=(const vtkSMPickPointWidgetProxy&); // Not implemented.
00064     
00065 };
00066 
00067 
00068 
00069 #endif

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