[vtk-developers] vtknew tree and testing / examples

David Gobbi dgobbi at irus.rri.ca
Wed Jun 27 13:41:01 EDT 2001


Hi All,

On Wed, 27 Jun 2001, Sebastien BARRE wrote:
> At 27/06/2001 10:22, Lisa S. Avila wrote:
> >
> >I am definitely in favor of separating the "good" examples from the "just
> >for testing" examples.
>
> I definitely support this. We all know that examples are very important for
> beginners (and even expert users), <snip>

> >  It may be good to collect them in one directory
>
> I'd prefer to see each package as independent as possible, <snip>
>
> >>vtk/Graphics/Examples/Tcl
> >>vtk/Graphics/Examples/Python
> >>vtk/Graphics/Examples/Cxx
>
> >>vtk/Graphics/Testing/Tcl
> >>vtk/Graphics/Testing/Python
> >>vtk/Graphics/Testing/Cxx
>
> OK, I know I'm a "directory maniac", but this is definitely what I'd like
> to see :) Let's make the new tree as clean as possible :)

I'd go halfway on this.  I'd definitely like to see the 'Testing'
separated out as above, but for the 'Examples' it might be better to
separate them out according to theme, and also specifically pop the
'Examples' directory at a very low-level to make it very easy to find:

vtk/Examples/Tcl/Applications    # vol.tcl, Decimate.tcl etc
vtk/Examples/Tcl/Medical         # medical-related examples
vtk/Examples/Tcl/Volume          # volume rendering
etc.
vtk/Examples/Python/
vtk/Examples/Java/
vtk/Examples/Cxx/

This also makes a lot of sense for examples that use classes
from multiple kits.  Otherwise an example would have to be stuck
in 'Hybrid' if it used both Imaging & Graphics, even if it didn't
use any of the Hybrid classes.

> Moreover, this would allow me to write some new Perl scripts to write a new
> "Links to examples" page, sorted by package :)

Sort by theme!  Sort by theme! ;)  I still haven't checked out the new
tree, I really should do that soon.

 - David





More information about the vtk-developers mailing list