[vtkusers] [vtk-developers] high order vtkBoxWidget?
Dominik Szczerba
dominik at itis.ethz.ch
Mon Jan 10 08:00:56 EST 2011
Glyphs are generated only for the vertices... For the underlying wgole poly
you need a separate actor.
On Mon, Jan 10, 2011 at 1:31 PM, Meriadeg Perrinel <
meriadeg.perrinel at inria.fr> wrote:
> Hi,
>
> I'm new there, but i see the attached image and i's very nice !
> I take the ocasion to explain a problem that i have :
>
> I connect a polyData to a mapper and draw point and lines between point
> (with SetLines and SetPoints).
> That work.
> 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
> I connected the Glyph3d to the mapper and make a
> Glyph3d.SetSource(SphereSource).
> So now I have Sphere Source instead of point on my screen (as I want) but
> the Lines between points becames invisible.
> I don't see them !
>
> An explanation ?
>
>
>
> Dominik Szczerba a écrit :
>
>> After extensive RTFS I have now implemented two own classes:
>>
>> vtkHighOrderCubeSource - a polydata source to construct a box with NxMxO
>> points
>>
>> 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.
>>
>> Is there anyone interested in my contributing them to VTK?
>>
>> Regards,
>> Dominik
>>
>> On Thu, Dec 30, 2010 at 3:20 PM, Dominik Szczerba <dominik at itis.ethz.ch<mailto:
>> dominik at itis.ethz.ch>> wrote:
>>
>> Hi,
>>
>> I need something very much like vtkBoxWidget but with arbitrary
>> amount of control points (1...N nodes on the box edges along with
>> the corner nodes).
>> Are such widgets present in VTK? If not, anyone has some pointers
>> where to start implementing one?
>>
>> Thanks
>> Dominik
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110110/323eda93/attachment.htm>
More information about the vtkusers
mailing list