Voxvision  1
Creating and manipulating voxel octrees
modules.h
Go to the documentation of this file.
1 
8 #ifndef _MODULES_H_
9 #define _MODULES_H_
10 #include "../voxvision.h"
11 
15 #define CAMERA_MODULE 0
16 
23 struct vox_module_methods;
24 
32 struct vox_module {
33  int type;
34  struct vox_module_methods *methods;
36 };
37 
54 VOX_EXPORT struct vox_module_methods* vox_load_module (const char *name, int type);
55 
56 #endif
VOX_EXPORT struct vox_module_methods * vox_load_module(const char *name, int type)
Load a module.
Module info structure.
Definition: modules.h:32
int type
A module class.
Definition: modules.h:33
struct vox_module_methods * methods
Methods of the module (actually, this field may be anything you like).
Definition: modules.h:34