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

GUI/Widgets/vtkKWCanvas.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003 Copyright (c) 1998-2003 Kitware Inc. 469 Clifton Corporate Parkway,
00004 Clifton Park, NY, 12065, USA.
00005 All rights reserved.
00006 
00007 Redistribution and use in source and binary forms, with or without
00008 modification, are permitted provided that the following conditions are met:
00009 
00010  * Redistributions of source code must retain the above copyright notice,
00011    this list of conditions and the following disclaimer.
00012 
00013  * Redistributions in binary form must reproduce the above copyright notice,
00014    this list of conditions and the following disclaimer in the documentation
00015    and/or other materials provided with the distribution.
00016 
00017  * Neither the name of Kitware nor the names of any contributors may be used
00018    to endorse or promote products derived from this software without specific
00019    prior written permission.
00020 
00021  * Modified source versions must be plainly marked as such, and must not be
00022    misrepresented as being the original software.
00023 
00024 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00025 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00026 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00027 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR
00028 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00029 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00030 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00031 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00032 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00033 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00034 
00035 =========================================================================*/
00048 #ifndef __vtkKWCanvas_h
00049 #define __vtkKWCanvas_h
00050 
00051 #include "vtkKWCoreWidget.h"
00052 
00053 class KWWIDGETS_EXPORT vtkKWCanvas : public vtkKWCoreWidget
00054 {
00055 public:
00056   static vtkKWCanvas* New();
00057   vtkTypeRevisionMacro(vtkKWCanvas,vtkKWCoreWidget);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00061   virtual void Create(vtkKWApplication *app);
00062 
00064 
00066   virtual void SetWidth(int);
00067   virtual int GetWidth();
00068   virtual void SetHeight(int);
00069   virtual int GetHeight();
00071 
00078   virtual void UpdateEnableState();
00079 
00080 protected:
00081   vtkKWCanvas() {};
00082   ~vtkKWCanvas() {};
00083 
00084 private:
00085   vtkKWCanvas(const vtkKWCanvas&); // Not implemented
00086   void operator=(const vtkKWCanvas&); // Not implemented
00087 };
00088 
00089 
00090 #endif
00091 
00092 
00093 

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