26 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_VISION) 27 #error Buildsystem error: BUILDING_VISION not defined 30 Configure(config_vision);
31 NotifyCategoryDef(vision,
"");
34 (
"v4l-blocking",
false,
35 PRC_DESC(
"Set this to true if you want to block waiting for webcam frames."));
37 ConfigureFn(config_vision) {
49 static bool initialized =
false;
55 WebcamVideo::init_type();
56 #ifdef HAVE_VIDEO4LINUX 57 WebcamVideoCursorV4L::init_type();
58 WebcamVideoV4L::init_type();
62 WebcamVideoCursorOpenCV::init_type();
63 WebcamVideoOpenCV::init_type();
65 OpenCVTexture::init_type();
66 OpenCVTexture::register_with_read_factory();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_texture_type(MakeTextureFunc *func, const std::string &extensions)
Records a factory function that makes a Texture object of the appropriate type for one or more partic...
This class is used as a namespace to group several global properties of Panda.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as a boolean type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void add_system(const std::string &system)
Intended for use by each subsystem to register itself at startup.
static TexturePool * get_global_ptr()
Initializes and/or returns the global pointer to the one TexturePool object in the system.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the preferred interface for loading textures from image files.
void init_libvision()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.