00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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&);
00072 void operator=(const vtkSMSphereWidgetProxy&);
00073 };
00074
00075 #endif