[vtkusers] [vtk-developers] high order vtkBoxWidget?
Will Schroeder
will.schroeder at kitware.com
Mon Jan 10 15:36:14 EST 2011
Dominik-
I am definitely interested in your work. I confess I don't fully understand
what you'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?
W
On Mon, Jan 10, 2011 at 8:00 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
> 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
>>>
>>>
>>>
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110110/9c33c9d5/attachment.htm>
More information about the vtkusers
mailing list