Dean-<br><br>You have write access, no? I am okay with adding some scripts. I don't want the examples to become a dumping ground though. So let's be somewhat selective in what goes in, and make sure that it is well documented and instructive.<br>
<br>W<br><br><div><span class="gmail_quote">On 2/6/08, <b class="gmail_sendername"><a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a></b> <<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
looking into this a bit further, there doesnt seem to be<br>a need to provide methods like<br>PlaceWidget(double xmin, double xmax, double ymin, double ymax, double xmin, double zmax)<br><br>for tcl when there is only<br>
PlaceWidget(double bounds[6])<br><br>since one can always in tcl do<br>  set bnds [[some_filter GetOutput ] GetBounds]<br>  some_new_widget PlaceWidget [lindex $bnds 0] [lindex $bnds 1] [lindex $bnds 2] [lindex $bnds 3] [lindex $bnds 4] [lindex $bnds 5]<br>
<br>without having explicitly defined and wrapped the former method.  Same thing goes for<br>methods found in vtkHandleRepresentation and subclasses like<br>SetPoint1DisplayPosition, SetPoint1WorldPosition etc.<br><br>On another note, in experimenting with new/old widgets, I have over time<br>
converted almost all widgets/testing/cxx files into tcl scripts that can be<br>run as examples ( no test harness code ).  If anyone at kitware or otherwise<br>would really like these to be in say Examples/GUI/Tcl I'd be happy to commit<br>
them.  Perhaps there should be and Examples/Widgets examples subdir?<br><br>Dean<br>_______________________________________________<br>vtk-developers mailing list<br><a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>
Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com">http://www.kitware.com</a><br>518-371-3971 (phone and fax)