[vtkusers] Moving a glyph

David Doria daviddoria at gmail.com
Mon Sep 20 08:03:27 EDT 2010


On Mon, Sep 20, 2010 at 5:10 AM, rakesh patil <prakeshofficial at gmail.com> wrote:
> Hi,
> i just added one statement here
>
> this->Data->GetPoints()->SetPoint(this->SelectedPoint,
> this->MoveActor->GetPosition());
>
> this->Data->Modified();
>
> this->GlyphFilter->Update();
>
> and it works..

Yes, you're right, thanks.

I started doing all this glyph moving business when I decided I
couldn't click on a vertex. Can anyone confirm that there is no way to
select a vertex with a click (besides doing a rubber band + frustum
selection)? I guess the idea is that vertex glyphs are drawn directly
in window coordinates so they do not actually "exist" in the scene to
be picked?

Here is what I tried:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/SelectAVertex

David



More information about the vtkusers mailing list