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

GUI/Client/vtkPVObjectWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVObjectWidget.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 =========================================================================*/
00032 #ifndef __vtkPVObjectWidget_h
00033 #define __vtkPVObjectWidget_h
00034 
00035 #include "vtkPVWidget.h"
00036 
00037 class VTK_EXPORT vtkPVObjectWidget : public vtkPVWidget
00038 {
00039 public:
00040   vtkTypeRevisionMacro(vtkPVObjectWidget, vtkPVWidget);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00043   //BTX
00045 
00049   vtkSetMacro(ObjectID,vtkClientServerID);
00050   //ETX
00051   vtkSetStringMacro(VariableName);
00052   vtkGetStringMacro(VariableName);
00054 
00055 //BTX
00057 
00060   vtkPVObjectWidget* ClonePrototype(vtkPVSource* pvSource,
00061                                  vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00062   // Description:
00063   // Get an object from a widget by name
00064   virtual vtkClientServerID GetObjectByName(const char*){ vtkClientServerID id = {0}; return id;}
00066 //ETX
00067 
00069   virtual void SaveInBatchScript(ofstream *file) = 0;
00070 
00071 protected:
00072   vtkPVObjectWidget();
00073   ~vtkPVObjectWidget();
00074 
00075   vtkClientServerID ObjectID;
00076   char *VariableName;
00077 
00078   vtkPVObjectWidget(const vtkPVObjectWidget&); // Not implemented
00079   void operator=(const vtkPVObjectWidget&); // Not implemented
00080   
00081 //BTX
00082   virtual void CopyProperties(vtkPVWidget* clone, vtkPVSource* pvSource,
00083                               vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00084 //ETX
00085   
00086   int ReadXMLAttributes(vtkPVXMLElement* element,
00087                         vtkPVXMLPackageParser* parser);
00088 
00089 };
00090 
00091 #endif

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