RV: [vtkusers] Bad homogeneous coordinates

David Català david.catala at datapixel.com
Fri Nov 14 03:12:53 EST 2003


hi everyone,
Sorry, I'll send again this message. Nobody answer to me.

I have a error:
"ERROR: In D:\vtk411\Rendering\vtkPicker.cxx, line 195
vtkCellPicker (0x0CC55E58): Bad homogeneous coordinates"
This error is the output of a vtkOutputWindow.

Can anybody tell me how disable vtkOutputWindow?
and, why i produce"Bad Homogeneous coordinates", why "worldCoords[3]
== 0.0"?

The code of vtkPicker.cxx, line 195 is:
 // Convert the selection point into world coordinates.
  //
  renderer->SetDisplayPoint(selectionX, selectionY, selectionZ);
  renderer->DisplayToWorld();
  worldCoords = renderer->GetWorldPoint();
  if ( worldCoords[3] == 0.0 )
    {
    vtkErrorMacro(<<"Bad homogeneous coordinates");
    return 0;
    }

Thanks,
David

_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list