vtkCaptureBetaProbeLogic.h

Go to the documentation of this file.
00001 /*==========================================================================
00002 
00003   Portions (c) Copyright 2008 Brigham and Women's Hospital (BWH) All Rights Reserved.
00004 
00005   See Doc/copyright/copyright.txt
00006   or http://www.slicer.org/copyright/copyright.txt for details.
00007 
00008   Program:   3D Slicer
00009   Module:    $HeadURL: $
00010   Date:      $Date: $
00011   Version:   $Revision: $
00012 
00013 ==========================================================================*/
00014 
00015 // .NAME vtkCaptureBetaProbeLogic - slicer logic class for Locator module 
00016 // .SECTION Description
00017 // This class manages the logic associated with tracking device for
00018 // IGT. 
00019 
00020 
00021 #ifndef __vtkCaptureBetaProbeLogic_h
00022 #define __vtkCaptureBetaProbeLogic_h
00023 
00024 #include "vtkCaptureBetaProbeWin32Header.h"
00025 
00026 #include "vtkSlicerBaseLogic.h"
00027 #include "vtkSlicerModuleLogic.h"
00028 #include "vtkSlicerApplication.h"
00029 #include "vtkCallbackCommand.h"
00030 
00031 #include "vtkMRMLSliceNode.h"
00032 
00033 class vtkIGTLConnector;
00034 class vtkMatrix3x3;
00035 class vtkMatrix4x4;
00036 class vtkCollection;
00037 class vtkVector3d;
00038 
00039 class VTK_CaptureBetaProbe_EXPORT vtkCaptureBetaProbeLogic : public vtkSlicerModuleLogic 
00040 {
00041  public:
00042   //BTX
00043   enum {  // Events
00044     //LocatorUpdateEvent      = 50000,
00045     StatusUpdateEvent       = 50001,
00046   };
00047   //ETX
00048 
00049  public:
00050   
00051   static vtkCaptureBetaProbeLogic *New();
00052   
00053   vtkTypeRevisionMacro(vtkCaptureBetaProbeLogic,vtkObject);
00054   void PrintSelf(ostream&, vtkIndent);
00055 
00056   void PivotCalibration(vtkCollection* PivotingMatrix, double AveragePcal[3]);
00057 
00058  protected:
00059   
00060   vtkCaptureBetaProbeLogic();
00061   ~vtkCaptureBetaProbeLogic();
00062 
00063   void operator=(const vtkCaptureBetaProbeLogic&);
00064   vtkCaptureBetaProbeLogic(const vtkCaptureBetaProbeLogic&);
00065 
00066   static void DataCallback(vtkObject*, unsigned long, void *, void *);
00067   void UpdateAll();
00068 
00069   vtkCallbackCommand *DataCallbackCommand;
00070 
00071  private:
00072 
00073 
00074 };
00075 
00076 #endif
00077 
00078 
00079   

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1