Examples/Cxx/Callbacks/vtkKWMyWidget.h

Go to the documentation of this file.
00001 #ifndef __vtkKWMyWidget_h
00002 #define __vtkKWMyWidget_h
00003 
00004 #include "vtkKWCompositeWidget.h"
00005 #include "vtkKWMyApplicationWin32Header.h"
00006 
00007 class vtkKWScale;
00008 
00009 // Note that C++ class have to be prefixed with "vtk" to be wrapped
00010 // automatically.
00011 
00012 class KWMyApplication_EXPORT vtkKWMyWidget : public vtkKWCompositeWidget
00013 {
00014 public:
00015   static vtkKWMyWidget* New();
00016   vtkTypeRevisionMacro(vtkKWMyWidget,vtkKWCompositeWidget);
00017 
00018   // Description:
00019   // Callbacks
00020   virtual void ScaleChangeNotifiedByCommandCallback(double value);
00021 
00022 protected:
00023   vtkKWMyWidget();
00024   ~vtkKWMyWidget();
00025 
00026   vtkKWScale *Scale;
00027 
00028   // Description:
00029   // Create the widget.
00030   virtual void CreateWidget();
00031 
00032   // Description:
00033   // Processes the events that are passed through CallbackCommand (or others).
00034   virtual void ProcessCallbackCommandEvents(
00035     vtkObject *caller, unsigned long event, void *calldata);
00036 
00037 private:
00038   vtkKWMyWidget(const vtkKWMyWidget&);   // Not implemented.
00039   void operator=(const vtkKWMyWidget&);  // Not implemented.
00040 };
00041 
00042 #endif

Generated by  doxygen 1.6.2