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

Servers/ServerManager/vtkSMXYPlotDisplayProxy.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMXYPlotDisplayProxy.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 =========================================================================*/
00024 #ifndef __vtkSMXYPlotDisplayProxy_h
00025 #define __vtkSMXYPlotDisplayProxy_h
00026 
00027 #include "vtkSMConsumerDisplayProxy.h"
00028 
00029 class vtkSMXYPlotDisplayProxyObserver;
00030 class vtkXYPlotWidget;
00031 class vtkSMRenderModuleProxy;
00032 class vtkSMSourceProxy;
00033 class vtkPolyData;
00034 
00035 class VTK_EXPORT vtkSMXYPlotDisplayProxy : public vtkSMConsumerDisplayProxy
00036 {
00037 public:
00038   static vtkSMXYPlotDisplayProxy* New();
00039   vtkTypeRevisionMacro(vtkSMXYPlotDisplayProxy, vtkSMConsumerDisplayProxy);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00044   virtual void AddToRenderModule(vtkSMRenderModuleProxy*);
00045   virtual void RemoveFromRenderModule(vtkSMRenderModuleProxy*);
00047 
00048 
00052   virtual void AddInput(vtkSMSourceProxy* input, const char*,  int );
00053 
00054   //BTX
00056 
00059   vtkPolyData *GetCollectedData();
00060   //ETX
00062   
00064 
00066   void SetVisibility(int visible);
00067   vtkGetMacro(Visibility, int);
00069 
00073   virtual void Update();
00074   
00076   virtual void InvalidateGeometry();
00077 
00081   virtual void MarkConsumersAsModified();
00082 
00084   void SetXAxisLabel(bool IsTemporal);
00085 
00087   void PrintAsCSV(const char *filename);
00088 
00089 protected:
00090   vtkSMXYPlotDisplayProxy();
00091   ~vtkSMXYPlotDisplayProxy();
00092   
00093   virtual void CreateVTKObjects(int numObjects);
00094 
00095   void SetupPipeline();
00096   void SetupDefaults();
00097   void SetupWidget();
00098 
00099   // This is not reference counted. 
00100   vtkSMRenderModuleProxy* RenderModuleProxy;
00101   vtkSMProxy* XYPlotActorProxy;
00102   vtkSMProxy* PropertyProxy;
00103   vtkSMProxy* UpdateSuppressorProxy;
00104   vtkSMProxy* CollectProxy;
00105 
00106   vtkXYPlotWidget* XYPlotWidget; // This is the widget on the client side.
00107   int Visibility;
00108   int GeometryIsValid; // Flag indicating is Update must call ForceUpdate.
00109   //BTX
00110   friend class vtkSMXYPlotDisplayProxyObserver;
00111   vtkSMXYPlotDisplayProxyObserver* Observer;
00112   void ExecuteEvent(vtkObject* obj, unsigned long event, void* calldata);
00113   //ETX
00114 
00115   int PolyOrUGrid;
00116 private:
00117   vtkSMXYPlotDisplayProxy(const vtkSMXYPlotDisplayProxy&); // Not implemented.
00118   void operator=(const vtkSMXYPlotDisplayProxy&); // Not implemented.
00119 };
00120 
00121 
00122 #endif

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