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"><<a href="mailto:meriadeg.perrinel@inria.fr">meriadeg.perrinel@inria.fr</a>></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'm new there, but i see the attached image and i'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'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 class="im">
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 class="im">
On Thu, Dec 30, 2010 at 3:20 PM, Dominik Szczerba <<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a> <mailto:<a href="mailto:dominik@itis.ethz.ch" target="_blank">dominik@itis.ethz.ch</a>>> 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>
------------------------------------------------------------------------<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>