BRL-CAD has a 3D display manager library (LIBDM) and a geometry editor command library (LIBGED). For clean encapsulation and library management, it's desirable to keep library dependencies to a minimum. LIBGED presently makes direct calls to LIBDM for a "screengrab" command. Properly fixed, it should be possible to remove the LIBDM linkage from LIBGED's build file and the command still work as expected. This task involves breaking the dependency of LIBGED on LIBDM by making LIBGED not directly call any LIBDM functions. To do this, LIBGED will need to introduce a callback mechanism in the "ged" struct so that the screengrab command can capture an image without directly calling a LIBDM function. This task is a little tricky, so you'll need to be somewhat proficient with C if you want any chance of completing this within a couple hours. Code:
|
File name/URL | File size | Date submitted | |
---|---|---|---|
libged.patch | 5.1 KB | December 01 2012 02:37 UTC |
I would like to work on this task.
This task has been assigned to Cezar. You have 48 hours to complete this task, good luck!
The work on this task is ready to be reviewed.
That's perfect, Cezar -- *exactly* what I was looking for, couldn't have done it better myself.
Congratulations, this task has been completed successfully.