00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00019 #ifndef __vtkSMImplicitPlaneWidgetProxy_h
00020 #define __vtkSMImplicitPlaneWidgetProxy_h
00021
00022 #include "vtkSM3DWidgetProxy.h"
00023
00024 class VTK_EXPORT vtkSMImplicitPlaneWidgetProxy : public vtkSM3DWidgetProxy
00025 {
00026 public:
00027 static vtkSMImplicitPlaneWidgetProxy* New();
00028 vtkTypeRevisionMacro(vtkSMImplicitPlaneWidgetProxy, vtkSM3DWidgetProxy);
00029 void PrintSelf(ostream& os, vtkIndent indent);
00030
00031 vtkSetVector3Macro(Center,double);
00032 vtkGetVector3Macro(Center,double);
00033
00034 vtkSetVector3Macro(Normal,double);
00035 vtkGetVector3Macro(Normal,double);
00036
00038
00039 vtkSetMacro(DrawPlane,int);
00041
00042 virtual void SaveInBatchScript(ofstream *file);
00043
00045 virtual void UpdateVTKObjects();
00046 protected:
00047 vtkSMImplicitPlaneWidgetProxy();
00048 ~vtkSMImplicitPlaneWidgetProxy();
00049
00051 virtual void SaveState(const char* name, ostream* file, vtkIndent indent);
00052
00054 virtual void ExecuteEvent(vtkObject*, unsigned long, void*);
00055
00056 virtual void CreateVTKObjects(int numObjects);
00057
00058 double Center[3];
00059 double Normal[3];
00060 int DrawPlane;
00061
00062 private:
00063 vtkSMImplicitPlaneWidgetProxy(const vtkSMImplicitPlaneWidgetProxy&);
00064 void operator=(const vtkSMImplicitPlaneWidgetProxy&);
00065 };
00066
00067 #endif