1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
/*=========================================================================
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.kitware.com/VolViewCopyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkVVUserInterfacePanel - a user interface panel.
// .SECTION Description
// A concrete implementation of a user interface panel.
// See vtkKWUserInterfacePanel for a more detailed description.
// .SECTION See Also
// vtkKWUserInterfacePanel vtkKWUserInterfaceManager
#ifndef __vtkVVUserInterfacePanel_h
#define __vtkVVUserInterfacePanel_h
#include "vtkKWUserInterfacePanel.h"
class vtkVVWindowBase;
class VTK_EXPORT vtkVVUserInterfacePanel : public vtkKWUserInterfacePanel
{
public:
static vtkVVUserInterfacePanel* New();
vtkTypeRevisionMacro(vtkVVUserInterfacePanel,vtkKWUserInterfacePanel);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set/Get the window (do not ref count it since the window will ref count
// this widget).
vtkGetObjectMacro(Window, vtkVVWindowBase);
virtual void SetWindow(vtkVVWindowBase*);
protected:
vtkVVUserInterfacePanel();
~vtkVVUserInterfacePanel();
vtkVVWindowBase *Window;
private:
vtkVVUserInterfacePanel(const vtkVVUserInterfacePanel&); // Not implemented
void operator=(const vtkVVUserInterfacePanel&); // Not Implemented
};
#endif
|