Editing General Tree Walker

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
There are currently several slightly different functions to recursively walk the CSG tree. This task would be to implement a new tree walking function capable of replacing them all and altering software that uses the old walkers to use the single new unified one.
 
There are currently several slightly different functions to recursively walk the CSG tree. This task would be to implement a new tree walking function capable of replacing them all and altering software that uses the old walkers to use the single new unified one.
  
Time would be spent carefully designing a new interface that has the appropriate hooks and callbacks so it could replace all of the existing routines.  Then time would be spent updating and testing all of the various walkers as they're replaced with your new traversal routine.
+
Requirements
 
+
*Familiarity in C
This one is prime for test-driven development.  Show what the interface will look like for a variety of cases, then implement to that interface.
 
 
 
=References=
 
 
 
* src/librt
 
* include/raytrace.h (grep for tree or walk or recurse)
 
 
 
=Requirements=
 
 
 
*Familiarity with C
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)