[vtkusers] vtkPointPicker
de Boer Ingo
I.deBoer at polytec.de
Fri Apr 21 02:19:22 EDT 2006
Hi,
I guess you mean this sample:
http://public.kitware.com/pipermail/vtkusers/2004-April/073344.html
Just make the sphere invisible and visible only when you are picking.
Add
...
sphereActor->PickableOff();
sphereActor->VisibilityOff();
and
...
if (m_pvtkActorSelection)
{
m_pvtkActorSelection->VisibilityOn();
m_pvtkActorSelection->SetPosition(picker->GetPickPosition());
}
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
> -----Original Message-----
> From: vtkusers-bounces+i.deboer=polytec.de at vtk.org
> [mailto:vtkusers-bounces+i.deboer=polytec.de at vtk.org] On
> Behalf Of Ashley Sher
> Sent: Friday, April 21, 2006 4:52 AM
> To: vtkusers at vtk.org
> Subject: [vtkusers] vtkPointPicker
>
>
>
> Hi all,
>
> I'm trying out the class vtkPointPicker. There's a sample
> code from the histor of this forum. I tried out and had a question.
>
> http://public.kitware.com/pipermail/vtkusers/2003-December/070
818.html
The sphere is used as a marker for the pick. When the program start up,
the sphere is already in view at a corner of the cube. Is it possible to
make it invisible until user picks on the points?
Thanks! =)
--
View this message in context:
http://www.nabble.com/vtkPointPicker-t1484292.html#a4019562
Sent from the VTK - Users forum at Nabble.com.
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ Follow this link to
subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list