PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
vtkPlusImageProcessorVideoSource.h
Go to the documentation of this file.
1 /*=Plus=header=begin======================================================
2 Program: Plus
3 Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
4 See License.txt for details.
5 =========================================================Plus=header=end*/
6 
7 #ifndef __vtkPlusImageProcessorVideoSource_h
8 #define __vtkPlusImageProcessorVideoSource_h
9 
10 #include "vtkPlusDataCollectionExport.h"
11 
12 #include "vtkPlusDevice.h"
13 #include <string>
14 
15 //class vtkIGSIOTransformRepository;
17 
24 class vtkPlusDataCollectionExport vtkPlusImageProcessorVideoSource : public vtkPlusDevice
25 {
26 public:
29  virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
30 
32  virtual PlusStatus ReadConfiguration(vtkXMLDataElement*);
33 
35  virtual PlusStatus WriteConfiguration(vtkXMLDataElement*);
36 
37  virtual PlusStatus InternalUpdate();
38 
39  virtual PlusStatus NotifyConfigured();
40 
42  vtkGetMacro(EnableProcessing, bool);
43  void SetEnableProcessing(bool aValue);
44 
45  virtual bool IsTracker() const { return false; }
46  virtual bool IsVirtual() const { return true; }
47 
48 protected:
49  virtual PlusStatus InternalConnect();
51 
54 
56 
58 
63  vtkIGSIOTransformRepository* TransformRepository;
64 
66  vtkSmartPointer<vtkIGSIORecursiveCriticalSection> ProcessingAlgorithmAccessMutex;
67 
68  vtkPlusLogger::LogLevelType GracePeriodLogLevel;
69 
71 
72 private:
74  void operator=(const vtkPlusImageProcessorVideoSource&); // Not implemented.
75 };
76 
77 #endif
virtual void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract interface for tracker and video devices.
Definition: vtkPlusDevice.h:60
Virtual device that performs real-time image processing on the input channel.
virtual PlusStatus InternalConnect()
igsioStatus PlusStatus
Definition: PlusCommon.h:40
#define VTK_OVERRIDE
Definition: PlusCommon.h:49
virtual PlusStatus ReadConfiguration(vtkXMLDataElement *)
virtual PlusStatus WriteConfiguration(vtkXMLDataElement *)
vtkPlusTrackedFrameProcessor * ProcessorAlgorithm
Simple interface class to allow running various algorithms that process tracked frame lists.
vtkSmartPointer< vtkIGSIORecursiveCriticalSection > ProcessingAlgorithmAccessMutex
virtual PlusStatus NotifyConfigured()
virtual PlusStatus InternalDisconnect()
virtual PlusStatus InternalUpdate()
vtkIGSIOTransformRepository * TransformRepository
static vtkPlusDevice * New()