[vtkusers] Error with vtkPlaneSource

Dorival Pedroso dorival.pedroso at gmail.com
Sat Jun 12 09:44:44 EDT 2010


Hi all,

I'm just wondering why the vtkPlaneSource doesn't like the following triad ???

plane  -> SetOrigin   (-0.5, 0.0, 0.0);
plane  -> SetPoint1  (-0.5, 1.0, 0.0);
plane  -> SetPoint2  (-0.5, 0.0, 1.0);

With the attached code I get this error:

ERROR: In /build/buildd/vtk-5.2.1/Graphics/vtkPlaneSource.cxx, line 386
vtkPlaneSource (0x93f4028): Bad plane coordinate system


If the origin is changed to (-0.49999, 0.0, 0.0) then it's all fine.

Cheers.

Dorival
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test5.cpp
Type: text/x-c++src
Size: 2402 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100612/2ddb89b0/attachment.cpp>


More information about the vtkusers mailing list