[vtkusers] vtkChartXy problem
Hongsongyang
hongsongyang at 163.com
Fri May 24 01:58:13 EDT 2013
I used the same environment as you discribed(win7 x64, vtk5.10).
But I could run this test case successfully.
_____
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of liulewes
Sent: Friday, May 24, 2013 4:53 AM
To: vtkusers at vtk.org
Subject: [vtkusers] vtkChartXy problem
I'm using the vtk example here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot
and I found out that the cosine line is not shown with the original code.
Further debugging showed that the following line caused the problem:
line->GetPen()->SetLineType(2);
It looked to me that any line type other than the default one will fail to
draw correctly.
Can anyone give a solution?
Environment:
Win7 x64
vtk 5.10
Lewes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130524/47cd0241/attachment.htm>
More information about the vtkusers
mailing list