13 #ifndef mitkVideoSource_h
14 #define mitkVideoSource_h
18 #include <itkObject.h>
19 #include <itkObjectFactory.h>
#define MITKDATATYPESEXT_EXPORT
Abstract base class for acquiring video frame data.
mitkClassMacroItkParent(VideoSource, itk::Object)
virtual bool GetCapturePaused() const
Query whether capturing is currently paused.
virtual void FetchFrame()
Fetch the next frame from the capture device.
unsigned long m_FrameCount
virtual int GetImageHeight()
Get the height of the current video frame.
virtual void StopCapturing()
Stop video capturing.
virtual void StartCapturing()
Start video capturing.
virtual int GetImageWidth()
Get the width of the current video frame.
virtual bool IsCapturingEnabled() const
Query whether video capturing is currently active.
virtual unsigned long GetFrameCount() const
Get the number of frames captured since the last start.
virtual unsigned char * GetVideoTexture()=0
Get a pointer to the current video frame pixel data.
unsigned char * m_CurrentVideoTexture
bool m_CapturingInProcess
virtual void PauseCapturing()
Toggle the capture pause state.
Find image slices visible on a given plane.