00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkKWWidgetSetSubclass.h.in,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 =========================================================================*/ 00038 #ifndef __vtkKWColorTransferFunctionEditorSet_h 00039 #define __vtkKWColorTransferFunctionEditorSet_h 00040 00041 #include "vtkKWWidgetSet.h" 00042 00043 class vtkKWColorTransferFunctionEditor; 00044 00045 class KWWidgets_EXPORT vtkKWColorTransferFunctionEditorSet : public vtkKWWidgetSet 00046 { 00047 public: 00048 static vtkKWColorTransferFunctionEditorSet* New(); 00049 vtkTypeRevisionMacro(vtkKWColorTransferFunctionEditorSet,vtkKWWidgetSet); 00050 void PrintSelf(ostream& os, vtkIndent indent); 00051 00055 virtual vtkKWColorTransferFunctionEditor* AddWidget(int id); 00056 00060 virtual vtkKWColorTransferFunctionEditor* InsertWidget(int id, int pos); 00061 00065 virtual vtkKWColorTransferFunctionEditor* GetWidget(int id); 00066 00067 protected: 00068 vtkKWColorTransferFunctionEditorSet() {}; 00069 ~vtkKWColorTransferFunctionEditorSet() {}; 00070 00071 // Helper methods 00072 00073 virtual vtkKWWidget* AllocateAndCreateWidget(); 00074 00075 private: 00076 vtkKWColorTransferFunctionEditorSet(const vtkKWColorTransferFunctionEditorSet&); // Not implemented 00077 void operator=(const vtkKWColorTransferFunctionEditorSet&); // Not implemented 00078 }; 00079 00080 #endif
1.6.1