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

Servers/ServerManager/vtkPickPointWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPickPointWidget.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 =========================================================================*/
00028 #ifndef __vtkPickPointWidget_h
00029 #define __vtkPickPointWidget_h
00030 
00031 #include "vtkPointWidget.h"
00032 
00033 
00034 class vtkSMRenderModuleProxy;
00035 
00036 
00037 class VTK_EXPORT vtkPickPointWidget : public vtkPointWidget
00038 {
00039 public:
00040   static vtkPickPointWidget* New();
00041   vtkTypeRevisionMacro(vtkPickPointWidget, vtkPointWidget);
00042 
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044     
00046 
00047   void SetRenderModuleProxy(vtkSMRenderModuleProxy* rm)
00048     { this->RenderModuleProxy = rm; }
00050   
00051   vtkGetObjectMacro(RenderModuleProxy, vtkSMRenderModuleProxy);
00052 
00054   virtual void SetEnabled(int);
00055 
00056 protected:
00057   vtkPickPointWidget();
00058   ~vtkPickPointWidget();
00059 
00060   // For picking.  Use a proxy in the future.
00061   vtkSMRenderModuleProxy* RenderModuleProxy;
00062 
00063   virtual void OnChar();
00064 
00065   // Handles the events
00066   static void ProcessEvents(vtkObject* object, 
00067                             unsigned long event,
00068                             void* clientdata, 
00069                             void* calldata);
00070 
00071 private:
00072   vtkPickPointWidget(const vtkPickPointWidget&); // Not implemented
00073   void operator=(const vtkPickPointWidget&); // Not implemented
00074 
00075   int LastY;
00076 };
00077 
00078 #endif

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