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

Servers/ServerManager/vtkSMSphereWidgetProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMSphereWidgetProxy.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 =========================================================================*/
00023 #ifndef __vtkSMSphereWidgetProxy_h
00024 #define __vtkSMSphereWidgetProxy_h
00025 
00026 #include "vtkSM3DWidgetProxy.h"
00027 
00028 class VTK_EXPORT vtkSMSphereWidgetProxy : public vtkSM3DWidgetProxy
00029 {
00030 public:
00031   static vtkSMSphereWidgetProxy* New();
00032   vtkTypeRevisionMacro(vtkSMSphereWidgetProxy, vtkSM3DWidgetProxy);
00033   void PrintSelf(ostream &os,vtkIndent indent);
00034 
00036 
00037   vtkSetVector3Macro(Center,double);
00038   vtkGetVector3Macro(Center,double);
00040 
00042 
00043   vtkSetMacro(Radius,double);
00044   vtkGetMacro(Radius,double);
00046 
00047   virtual void SaveInBatchScript(ofstream *file);
00048 
00049   virtual void UpdateVTKObjects();
00050 protected:
00051   vtkSMSphereWidgetProxy();
00052   ~vtkSMSphereWidgetProxy();
00053 
00055   virtual void SaveState(const char* name, ostream* file, vtkIndent indent);
00056   
00063   virtual void ExecuteEvent(vtkObject*, unsigned long, void*);
00064 
00065   virtual void CreateVTKObjects(int numObjects); 
00066 
00067   double Center[3];
00068   double Radius;
00069 
00070 private:
00071   vtkSMSphereWidgetProxy(const vtkSMSphereWidgetProxy&);// Not implemented
00072   void operator=(const vtkSMSphereWidgetProxy&); // Not implemented
00073 };  
00074 
00075 #endif

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