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

GUI/Client/vtkPVExtentEntry.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVExtentEntry.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 =========================================================================*/
00025 #ifndef __vtkPVExtentEntry_h
00026 #define __vtkPVExtentEntry_h
00027 
00028 #include "vtkPVObjectWidget.h"
00029 
00030 class vtkKWEntry;
00031 class vtkKWFrame;
00032 class vtkKWLabel;
00033 class vtkKWFrameWithLabel;
00034 class vtkPVInputMenu;
00035 class vtkPVMinMax;
00036 
00037 class VTK_EXPORT vtkPVExtentEntry : public vtkPVObjectWidget
00038 {
00039 public:
00040   static vtkPVExtentEntry* New();
00041   vtkTypeRevisionMacro(vtkPVExtentEntry, vtkPVObjectWidget);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00044   virtual void Create(vtkKWApplication *pvApp);
00045   
00047   void SetValue(int v1, int v2, int v3, int v4, int v5, int v6);
00048   
00050 
00051   vtkSetStringMacro(Label);
00052   vtkGetStringMacro(Label);
00054 
00056   virtual void SetInputMenu(vtkPVInputMenu*);
00057   vtkGetObjectMacro(InputMenu, vtkPVInputMenu);
00059 
00060   virtual void Update();
00061 
00063   virtual void Initialize();
00064 
00066 
00067   void SetRange(int v0, int v1, int v2, int v3, int v4, int v5);
00068   vtkGetVector6Macro(Range,int);
00070 
00073   virtual void SetBalloonHelpString(const char *str);
00074 
00075 
00076 //BTX
00078 
00081   vtkPVExtentEntry* ClonePrototype(vtkPVSource* pvSource,
00082                                  vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00084 //ETX
00085   
00086   //BTX
00088 
00090   virtual void Accept();
00091   //ETX
00093 
00097   virtual void ResetInternal();
00098 
00100   virtual void Trace(ofstream *file);
00101 
00108   virtual void UpdateEnableState();
00109 
00111   virtual void SaveInBatchScript(ofstream *file);
00112 
00113 protected:
00114   vtkPVExtentEntry();
00115   ~vtkPVExtentEntry();
00116 
00117   vtkKWFrameWithLabel* LabeledFrame;
00118   char* Label;
00119 
00120   vtkPVInputMenu* InputMenu;
00121 
00122   int Range[6];
00123   vtkPVMinMax* MinMax[3];
00124 
00125   void SetValueInternal(int v1, int v2, int v3, int v4, int v5, int v6);
00126 //BTX
00127   virtual void CopyProperties(vtkPVWidget* clone, vtkPVSource* pvSource,
00128                               vtkArrayMap<vtkPVWidget*, vtkPVWidget*>* map);
00129 //ETX
00130   
00131   int ReadXMLAttributes(vtkPVXMLElement* element,
00132                         vtkPVXMLPackageParser* parser);
00133 
00134 private:
00135   vtkPVExtentEntry(const vtkPVExtentEntry&); // Not implemented
00136   void operator=(const vtkPVExtentEntry&); // Not implemented
00137 };
00138 
00139 #endif

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