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

GUI/Widgets/vtkKWSeparator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWSeparator.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00023 #ifndef __vtkKWSeparator_h
00024 #define __vtkKWSeparator_h
00025 
00026 #include "vtkKWFrame.h"
00027 
00028 class KWWIDGETS_EXPORT vtkKWSeparator : public vtkKWFrame
00029 {
00030 public:
00031   static vtkKWSeparator* New();
00032   vtkTypeRevisionMacro(vtkKWSeparator, vtkKWFrame);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00036   virtual void Create(vtkKWApplication *app);
00037 
00039 
00040   enum 
00041   {
00042     OrientationHorizontal = 0,
00043     OrientationVertical   = 1
00044   };
00045   //ETX
00046   virtual void SetOrientation(int);
00047   vtkGetMacro(Orientation, int);
00048   virtual void SetOrientationToHorizontal()
00049     { this->SetOrientation(vtkKWSeparator::OrientationHorizontal); };
00050   virtual void SetOrientationToVertical() 
00051     { this->SetOrientation(vtkKWSeparator::OrientationVertical); };
00053 
00055 
00057   virtual void SetThickness(int);
00058   vtkGetMacro(Thickness, int);
00060   
00061 protected:
00062   vtkKWSeparator();
00063   ~vtkKWSeparator() {};
00064 
00065   int Orientation;
00066   int Thickness;
00067 
00069   virtual void UpdateAspect();
00070 
00071 private:
00072   vtkKWSeparator(const vtkKWSeparator&); // Not implemented
00073   void operator=(const vtkKWSeparator&); // Not implemented
00074 };
00075 
00076 
00077 #endif
00078 
00079 
00080 

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