Hi Dean,<br><br>Dean: I am absolutely ok with you bringing the code in line with vtk standards.<br><br>Action Points for me: <br>    1. will create a cxx test program (this can be done quickly)<br>    2. will move the widget under vtkAbstractWidget. (this will take time, I am away for the next two weeks, ie until 17th. Will come back and work on that).<br>
<br>Thanks and Regards,<br>Prashanth<br><br><div class="gmail_quote">On Mon, Nov 3, 2008 at 8:01 PM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="EN-CA">

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi David, Prashanth,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Im tied up until next week, but then I
will make a stab at it if</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Prasanth is ok with me bringing the code
in line with </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">vtk standards and style.  Prasanth, can
you create a cxx test</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">that would run under
VTK/Widgets/Testing/Cxx?  You would</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">need to model  it after one of the widget
tests that make use</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">of vtkInteractorEventRecorder (eg., BoxWidget2.cxx,
ImagePlaneWidget.cxx</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">etc.)?  The other thing that needs to be
done is to re-parent</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">the widget to be from vtkAbstractWidget (and
create a representation) </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">as we are trying to move older widgets
into the new widget design framework</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">(and create new widgets in the new
framework too!). </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p><font color="#888888">

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Dean</span></font></p></font><div><div></div><div class="Wj3C7c">

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Dean,<br>
<br>
If you have time, feel free to commit this code into VTK as long as there is a
test that is added that runs on a variety of nightly dashboard machines. (And
passes on all of them, too!)<br>
<br>
Thanks,<br>
David<br>
<br>
</span></font></p>

<div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">2008/11/3 Prashanth Udupa <<a href="mailto:prashanth.udupa@gmail.com" target="_blank">prashanth.udupa@gmail.com</a>></span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi Dean,<br>
<br>
Ah!.. I should have mentioned the username and password. <br>
<br>
Username: anonymous <br>
Password: anonymous. <br>
<br>
I am completely fine with the BSD/LGPL style licensing policy. I am also aware
that users of the class can use it in commercial software, no problem with
that. The code is based on Paul's math-functions (for blending and stuff). I
have taken his permission also and he is fine with it.<br>
<br>
Thanks for voting to accept the code into VTK :-)<br>
<br>
Thanks and Regards,<br>
Prashanth</span></font></p>

<div>

<div>

<p style="margin-bottom: 12pt;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">On Mon, Nov 3, 2008 at 6:21 PM, Dean Inglis <<a href="mailto:dean.inglis@camris.ca" target="_blank">dean.inglis@camris.ca</a>>
wrote:</span></font></p>

<div link="blue" vlink="blue">

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi,</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">nice work!  Cant see your source code though since a
login id and pwd are req'd?</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Also, are there license restrictions that would prevent any
portion of the code</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">being freely available through VTK?  I for one would
welcome your addition.</span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">Dean</span></font><font color="#888888"><span style="color: rgb(136, 136, 136);"></span></font></p>

<div>

<div>

<p><font color="navy" size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi All,<br>
<br>
I would like to submit some code to VTK. Basically two new classes
vtkBezierSurfaceSource and vtkBezierSurfaceWidget. <br>
<br>
A quick demo of both is available here: <a href="http://prashanthudupa.livejournal.com/33188.html" target="_blank">http://prashanthudupa.livejournal.com/33188.html</a>,
<a href="http://www.youtube.com/watch?v=uYtOTmytK9M" target="_blank">http://www.youtube.com/watch?v=uYtOTmytK9M</a>
and <a href="http://www.vcreatelogic.com/oss/vtkdesigner/Bezier_VTKD2.pdf" target="_blank">http://www.vcreatelogic.com/oss/vtkdesigner/Bezier_VTKD2.pdf</a><br>
<br>
The code itself is available at this SVN location: <a href="https://svn2.hosted-projects.com/vcreatelogic/VTKDesigner2/Components/VTKSystem/VCLClasses" target="_blank">https://svn2.hosted-projects.com/vcreatelogic/VTKDesigner2/Components/VTKSystem/VCLClasses</a>.
A quick demo of the class can be seen by downloading VTK Designer from here: <a href="http://www.vcreatelogic.com/oss/vtkdesigner/download/VTK%20Designer%202.6.1%20Setup.exe" target="_blank">http://www.vcreatelogic.com/oss/vtkdesigner/download/VTK%20Designer%202.6.1%20Setup.exe</a><br>

<br>
I feel that these classes might be useful to someone. If there are others in
the list that feel the same, then how do I go about submitting this code?<br>
<br>
Thanks and Regards,<br>
Prashanth N Udupa<br clear="all">
</span></font></p>

</div>

</div>

</div>

</div>

</div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><br>
<br clear="all">
</span></font></p>

</div>

</div>

<p style="margin-bottom: 12pt;"><font color="#888888" size="3" face="Times New Roman"><span style="font-size: 12pt; color: rgb(136, 136, 136);">-- <br>
Thanks and Warm Regards,<br>
Prashanth N Udupa<br>
<br>
<a href="mailto:prashanth.udupa@gmail.com" target="_blank">prashanth.udupa@gmail.com</a><br>
<a href="http://www.prashanthudupa.com" target="_blank">http://www.prashanthudupa.com</a><br>
<a href="http://prashanthudupa.livejournal.com/" target="_blank">http://prashanthudupa.livejournal.com/</a><br>
<br>
</span></font><br>
_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a></p>

</div>

<p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>Thanks and Warm Regards,<br>Prashanth N Udupa<br><br><a href="mailto:prashanth.udupa@gmail.com">prashanth.udupa@gmail.com</a><br><a href="http://www.prashanthudupa.com">http://www.prashanthudupa.com</a><br>
<a href="http://prashanthudupa.livejournal.com/">http://prashanthudupa.livejournal.com/</a><br><br>