MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkVideoInputSource.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12#ifndef mitkVideoInputSource_h
13#define mitkVideoInputSource_h
14
15#include "mitkConfig.h"
18#include <MitkOpenCVVideoSupportExports.h>
19
20
21class videoInput;
22
23namespace mitk
24{
25 class MITKOPENCVVIDEOSUPPORT_EXPORT VideoInputSource : public OpenCVVideoSource
26 {
27 public:
31
34 //void GetCurrentFrameAsOpenCVImage(IplImage * image);
35
36 void FetchFrame();
39 //unsigned char * GetVideoTexture();
40
41 void StartCapturing();
42
43 void StopCapturing();
44
45 void SetVideoCameraInput(int cameraindex, bool useCVCAMLib);
46 void SetVideoFileInput(const char * filename, bool repeatVideo, bool useCVCAMLib);
47
48 itkGetConstMacro(ShowSettingsWindow, bool);
49 itkSetMacro(ShowSettingsWindow, bool);
50
51 itkGetMacro(VideoInput, bool);
52
53 protected:
55 virtual ~VideoInputSource();
56
57 videoInput* m_VideoInput;
60
61 // current Video image
62 unsigned char* m_CurrentVideoTexture;
63
68
69 };
70}
71#endif
unsigned char * m_CurrentVideoTexture
mitkClassMacro(VideoInputSource, OpenCVVideoSource)
itkSetMacro(ShowSettingsWindow, bool)
itkGetMacro(VideoInput, bool)
itkGetConstMacro(ShowSettingsWindow, bool)
IGT Exceptions.