8 #ifndef SHOWCAMWXVIDEOSOURCEFACTORY_HH_
9 #define SHOWCAMWXVIDEOSOURCEFACTORY_HH_
11 #include <Base/Common/BIASpragmaStart.hh>
12 #include <bias_config.h>
13 #include <Gui/VideoSource_Controller_Base.hh>
14 #include <VideoSource/VideoSource_Base.hh>
15 #include <Base/Math/Vector2.hh>
41 std::vector<std::string> cameras;
42 cameras.push_back(
"NONE");
43 cameras.push_back(
"DCAM");
44 cameras.push_back(
"PMD");
45 cameras.push_back(
"PMDUSB");
46 cameras.push_back(
"PMDSHM");
47 cameras.push_back(
"UEYE");
48 cameras.push_back(
"SHM");
49 cameras.push_back(
"NET");
50 cameras.push_back(
"V4L");
51 cameras.push_back(
"SR");
52 cameras.push_back(
"XB3");
53 cameras.push_back(
"DSHOW");
54 cameras.push_back(
"KINECT");
55 cameras.push_back(
"OPENNI");
56 cameras.push_back(
"FREENECT2");
64 const std::string& title =
"",
65 const wxPoint& pos = wxDefaultPosition,
66 const wxSize& size = wxDefaultSize,
67 long style = wxDEFAULT_FRAME_STYLE,
68 const wxString& name = wxFrameNameStr);
74 float fps=-1,
int Format7BpP=-1,
int Format7ColorMode_=-1,
93 #include <Base/Common/BIASpragmaEnd.hh>
static VideoSource * CreatePMDZess(std::string bitfile)
virtual ~ShowCamWxVideoSourceFactory()
static VideoSource_Controller_Base * CreateController(CameraType type, VideoSource *cam, wxWindow *parent, const std::string &title="", const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
Defines a common interface to different devices.
ShowCamWxVideoSourceFactory()
static VideoSource * CreateDCAM(bool firewireB, bool user_mode, int dcam_mode=-1, float fps=-1, int Format7BpP=-1, int Format7ColorMode_=-1, Vector2< int > Format7LeftTop_=Vector2< int >(-1,-1), Vector2< int > Format7WidthHeight=Vector2< int >(-1,-1))
static VideoSource * CreateV4L()
static VideoSource * CreateFromTypeIfSupported(CameraType type)
static int OpenDevice(int type, VideoSource *cam, std::string deviceName, int param=-1)
static int Win32DCAMNumber_
static VideoSource * CreateBumbleBee()
static std::vector< std::string > CameraNames()
This is the base class for images in BIAS.
static VideoSource * CreateUEye()
static int InitImages(int type, VideoSource *cam, ImageBase *im1, ImageBase *im2=NULL, ImageBase *im3=NULL, ImageBase *im4=NULL)
static VideoSource * CreatePMD(std::string sourcePlugin, std::string procPlugin)