[vtkusers] Why doesn't the intersection of the lines of a vtkCursor2D not set at the focal point?

David Doria daviddoria+vtk at gmail.com
Fri Apr 9 10:51:31 EDT 2010


On Fri, Apr 9, 2010 at 10:44 AM, Xiaofeng Z <xf10036 at hotmail.com> wrote:
> Hi David,
>
>> Here is the working code:
>> http://www.vtk.org/Wiki/VTK/Examples/Widgets/Cursor2D
>>
> Not if you make the following two changes:
>
>   sphereSource->SetRadius(1.0);
>
>   cursor->SetModelBounds(-1,1,-1,1,0,0);
>
> Then the cursor and the sphere will not have the same center.
>
> Regards,
> Xiaofeng

Ah, you are right. I can confirm this behavior. Seems very strange -
anyone know what might cause this?

Thanks,

David



More information about the vtkusers mailing list