Hi Will,<br><br>As you have correctly guessed, I am using this widget to interactively transform objects.<br>At any time the widget provides me with original (undeformed) positions of the control points as well as the current deformation field. It can reset/restore the control point positions and the deformation field independently, making it suitable for constant- and non-constant reference deformations. I thought about constraining the movement of the control points to prevent incompatibilities, I am affraid, however, that it will anyway not prevent the distortions in case of high order interpolation/spline based deformations, so I do not implement it currently (it can easily be done though). Instead, I am volume-rendering the deformation gradient in my application to visually inspect the validity of the deformation.<br>
<br>Currently the widget is independent of any interpolations - it just provides the positions and the deformation. I do interpolations on the application side, but integration is maybe a good idea indeed... The transform returned by the widget (rotation, translation, scaling) is the same as that of the vtkBoxWidget.<br>
<br>I am happy to clean/document what I did and submit it for a potential inclusion to VTK, just let me know how to proceed.<br><br>Regards,<br>Dominik<br><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 9:36 PM, Will Schroeder <span dir="ltr">&lt;<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="gmail_quote">Dominik-</div><div class="gmail_quote"><br></div><div class="gmail_quote">
I am definitely interested in your work. I confess I don&#39;t fully understand what you&#39;ve done. For example, what interpolation/transformation function are you using? Do you do anything fancy to constrain the points from pulling the grid inside our or otherwise becoming incompatible?</div>


<div class="gmail_quote"><br></div><div class="gmail_quote">W</div><div class="gmail_quote"><div><div></div><div class="h5"><br><br><br>On Mon, Jan 10, 2011 at 8:00 AM, Dominik Szczerba <span dir="ltr">&lt;<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">Glyphs are generated only for the vertices... For the underlying wgole poly you need a separate actor.<br>
<br><div class="gmail_quote">

On Mon, Jan 10, 2011 at 1:31 PM, Meriadeg Perrinel <span dir="ltr">&lt;<a href="mailto:meriadeg.perrinel@inria.fr" target="_blank">meriadeg.perrinel@inria.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I&#39;m new there, but i see the attached image and i&#39;s very nice !<br>
I take the ocasion to explain a problem that i have :<br>
<br>
I connect a polyData to a mapper and draw point and lines between point (with SetLines and SetPoints).<br>
That work.<br>
But after i tried to draw points with SphereSource. For that I use a Glyph3d. So i connect the PolyData to the Glyph3d instead of directly to the mapper then<br>
I connected the Glyph3d to the mapper and make a Glyph3d.SetSource(SphereSource).<br>
So now I have Sphere Source instead of point on my screen (as I want) but the Lines between points becames invisible.<br>
I don&#39;t see them !<br>
<br>
An explanation ?<br>
<br>
<br>
<br>
Dominik Szczerba a écrit :<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div>
After extensive RTFS I have now implemented two own classes:<br>
<br>
vtkHighOrderCubeSource - a polydata source to construct a box with NxMxO points<br>
<br>
vtkHighOrderBoxWidget - an interactive widget using the above object, transforming the bounding box exactly as in vtkBoxWidget and in addition displacing the high order control points. See attached image.<br>
<br>
Is there anyone interested in my contributing them to VTK?<br>
<br>
Regards,<br>
Dominik<br>
<br></div></div><div><div>
On Thu, Dec 30, 2010 at 3:20 PM, Dominik Szczerba &lt;<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a> &lt;mailto:<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>&gt;&gt; wrote:<br>




<br>
    Hi,<br>
<br>
    I need something very much like vtkBoxWidget but with arbitrary<br>
    amount of control points (1...N nodes on the box edges along with<br>
    the corner nodes).<br>
    Are such widgets present in VTK? If not, anyone has some pointers<br>
    where to start implementing one?<br>
<br>
    Thanks<br>
    Dominik<br>
<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
  <br>
</blockquote>
<br>
</blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br></div></div>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><div class="im"><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
</div><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<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" target="_blank">will.schroeder@kitware.com</a><br>


<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>
</blockquote></div><br>