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

Servers/ServerManager/vtkSMScalarBarWidgetProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMScalarBarWidgetProxy.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 =========================================================================*/
00021 #ifndef __vtkSMScalarBarWidgetProxy_h
00022 #define __vtkSMScalarBarWidgetProxy_h
00023 
00024 #include "vtkSMDisplayProxy.h"
00025 class vtkSMScalarBarWidgetProxyObserver;
00026 class vtkScalarBarWidget;
00027 
00028 
00029 class VTK_EXPORT vtkSMScalarBarWidgetProxy : public vtkSMDisplayProxy
00030 {
00031 public:
00032   static vtkSMScalarBarWidgetProxy* New();
00033   vtkTypeRevisionMacro(vtkSMScalarBarWidgetProxy, vtkSMDisplayProxy);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037 
00040   virtual void SetVisibility(int visible);
00041   vtkGetMacro(Visibility, int);
00043 
00045 
00046   virtual void AddToRenderModule(vtkSMRenderModuleProxy*);
00047   virtual void RemoveFromRenderModule(vtkSMRenderModuleProxy*);
00049 
00051   virtual void SaveInBatchScript(ofstream* file);
00052   
00053 protected:
00054 //BTX
00055   vtkSMScalarBarWidgetProxy();
00056   ~vtkSMScalarBarWidgetProxy();
00057 
00058   
00059   virtual void CreateVTKObjects(int numObjects);
00060   
00061   void ExecuteEvent(vtkObject*obj, unsigned long event, void*p);
00062 
00063   int Visibility;
00064   vtkSMProxy* ScalarBarActorProxy;
00065   vtkScalarBarWidget* ScalarBarWidget; // Widget on the client. 
00066   
00067   friend class vtkSMScalarBarWidgetProxyObserver;
00068   vtkSMScalarBarWidgetProxyObserver* Observer;
00069 
00070   vtkSMRenderModuleProxy* RenderModuleProxy;
00071 private:
00072   vtkSMScalarBarWidgetProxy(const vtkSMScalarBarWidgetProxy&); // Not implemented
00073   void operator=(const vtkSMScalarBarWidgetProxy&); // Not implemented
00074 //ETX
00075 };
00076 
00077 #endif
00078 

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