<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am currently compiling vtk6-0-0 to check it but thanks for the hint of the test. I looked at it and copied the code to my test, and it worked. I found out that the endless loop also appears on the test if you add<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:green'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>&nbsp; </span><span style='font-size:10.0pt;font-family:"Courier New";color:#010001'>view</span><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>-&gt;</span><span style='font-size:10.0pt;font-family:"Courier New";color:#010001'>GetRenderer</span><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>()-&gt;</span><span style='font-size:10.0pt;font-family:"Courier New";color:#010001'>Render</span><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>();</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>before <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style='font-size:10.0pt;font-family:"Courier New";color:#010001'>view</span><span style='font-size:10.0pt'> <span lang=EN-GB>-&gt;</span></span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetInteractor</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>Initialize</span><span lang=EN-GB style='font-size:10.0pt'>();<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>if you use </span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>view</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>GetRendererWindow</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>Render</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>();<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>instead of <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>&nbsp;&nbsp;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>view</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>GetRenderer</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>Render</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>();</span><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>it does not appear, strange behaviour&#8230;&#8230; I will test it in vtk6 when I compiled it, but for me it seems that pv 4.1 has a newer vtk version than 6.0 since all the SetInput functions were missing&#8230;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>thanks<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'> Burlen Loring [mailto:burlen.loring@gmail.com] <br><b>Gesendet:</b> Montag, 09. Dezember 2013 22:25<br><b>An:</b> Lodron, Gerald; Paraview Developer (Paraview-developers@paraview.org); Paraview User (paraview@paraview.org)<br><b>Betreff:</b> Re: [Paraview] WG: endless loop in vtkOpenGLError<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Gerald,<br><br>your example isn't complete, also I had to make some substantial changes(based on the TestLinePlot.cxx ctest) it to get it to work. At any rate, to figure out if you're problem is self inflicted or not, to keep this simple use VTK and not PV for now, cd into a VTK build and run the following command:<br><br>ctest -R TestLinePlot --verbose<br><br>if those tests pass, then you can use TestLinePlot.cxx as an example of how it should be done. If they fail then that's something we can work with. report the test output from one of the failing tests. Once you figure out exactly what's going on, then try using VTK that's in PV.<br><br>Thanks<br>Burlen<o:p></o:p></p><div><p class=MsoNormal>On 12/09/2013 12:19 AM, Lodron, Gerald wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:35.4pt;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>vtkContextView* </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkContextView</span><span lang=EN-GB style='font-size:10.0pt'>::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>New</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetRenderer</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetBackground</span><span lang=EN-GB style='font-size:10.0pt'>(1.0, 1.0, 1.0);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkChartXY</span><span lang=EN-GB style='font-size:10.0pt'>* </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkChartXY</span><span lang=EN-GB style='font-size:10.0pt'>::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>New</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetAxis</span><span lang=EN-GB style='font-size:10.0pt'>(1)-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetTitle</span><span lang=EN-GB style='font-size:10.0pt'>( </span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;xaxis&quot;</span><span lang=EN-GB style='font-size:10.0pt'> );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetAxis</span><span lang=EN-GB style='font-size:10.0pt'>(0)-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetTitle</span><span lang=EN-GB style='font-size:10.0pt'>( </span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;yaxis&quot;</span><span lang=EN-GB style='font-size:10.0pt'> );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetTitle</span><span lang=EN-GB style='font-size:10.0pt'>( </span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;Title&quot;</span><span lang=EN-GB style='font-size:10.0pt'> );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetScene</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>AddItem</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:green'>// Create a poTable with some points in it...</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkTable</span><span lang=EN-GB style='font-size:10.0pt'>* </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkTable</span><span lang=EN-GB style='font-size:10.0pt'>::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>New</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkSmartPointer</span><span lang=EN-GB style='font-size:10.0pt'>&lt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkDoubleArray</span><span lang=EN-GB style='font-size:10.0pt'>&gt; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oXAxis</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkSmartPointer</span><span lang=EN-GB style='font-size:10.0pt'>&lt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkDoubleArray</span><span lang=EN-GB style='font-size:10.0pt'>&gt;::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>New</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oXAxis</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetName</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;xaxis&quot;</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>AddColumn</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oXAxis</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:green'>//poTable-&gt;AddColumn(oXAxis);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkSmartPointer</span><span lang=EN-GB style='font-size:10.0pt'>&lt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkDoubleArray</span><span lang=EN-GB style='font-size:10.0pt'>&gt; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oPositionlot</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkSmartPointer</span><span lang=EN-GB style='font-size:10.0pt'>&lt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkDoubleArray</span><span lang=EN-GB style='font-size:10.0pt'>&gt;::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>New</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oPositionlot</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetName</span><span lang=EN-GB style='font-size:10.0pt'>( </span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;Data0&quot;</span><span lang=EN-GB style='font-size:10.0pt'> );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>AddColumn</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>oPositionlot</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetNumberOfRows</span><span lang=EN-GB style='font-size:10.0pt'>( 10 );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetRenderWindow</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetMultiSamples</span><span lang=EN-GB style='font-size:10.0pt'>(0);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetColumn</span><span lang=EN-GB style='font-size:10.0pt'>(0)-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetName</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#A31515'>&quot;col1&quot;</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:blue'>for</span><span lang=EN-GB style='font-size:10.0pt'> ( </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>size_t</span><span lang=EN-GB style='font-size:10.0pt'> </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>nRow</span><span lang=EN-GB style='font-size:10.0pt'> = 0; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>nRow</span><span lang=EN-GB style='font-size:10.0pt'> &lt; 10; ++</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>nRow</span><span lang=EN-GB style='font-size:10.0pt'> )</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; {</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetValue</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>nRow</span><span lang=EN-GB style='font-size:10.0pt'>, 0, 1);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; }</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkPlot</span><span lang=EN-GB style='font-size:10.0pt'> * </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poPlot</span><span lang=EN-GB style='font-size:10.0pt'> = </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poChart</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>AddPlot</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>vtkChart</span><span lang=EN-GB style='font-size:10.0pt'>::</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>LINE</span><span lang=EN-GB style='font-size:10.0pt'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poPlot</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetInputData</span><span lang=EN-GB style='font-size:10.0pt'>(</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poTable</span><span lang=EN-GB style='font-size:10.0pt'>, 0, 0);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:green'>//poPlot-&gt;SetInput(m_poTable, 0, nColumn);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poPlot</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetColor</span><span lang=EN-GB style='font-size:10.0pt'>( 1, 0, 0, 1 );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poPlot</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetWidth</span><span lang=EN-GB style='font-size:10.0pt'>( 1 );</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poPlot</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetPen</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>SetLineType</span><span lang=EN-GB style='font-size:10.0pt'>(1);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetRenderer</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>Render</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp; </span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>poContextView</span><span lang=EN-GB style='font-size:10.0pt'>-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>GetInteractor</span><span lang=EN-GB style='font-size:10.0pt'>()-&gt;</span><span lang=EN-GB style='font-size:10.0pt;color:#010001'>Initialize</span><span lang=EN-GB style='font-size:10.0pt'>();</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-GB style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp; </span><span style='font-size:10.0pt'>poContextView-&gt;</span><span style='font-size:10.0pt;color:#010001'>GetInteractor</span><span style='font-size:10.0pt'>()-&gt;</span><span style='font-size:10.0pt;color:#010001'>Start</span><span style='font-size:10.0pt'>();</span><o:p></o:p></p></blockquote><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>