<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Gerald,<br>
<br>
It sounds like in your situation the underlying rendering context
either isn't properly initialized or is getting scrambled. I
couldn't reproduce the infinite loop you mentioned, it's probably a
driver specific symptom when the interactor is used uninitialized.
Your best bet is to initialize the interactor before doing any
rendering. I'm not an authority on the use of this class but the
examples I looked at all did this.<br>
<br>
ParaView is using the VTK master branch which has the gl error
checking. VTK 6 doesn't have those changes.<br>
<br>
Burlen<br>
<br>
<div class="moz-cite-prefix">On 12/10/2013 01:19 AM, Lodron, Gerald
wrote:<br>
</div>
<blockquote
cite="mid:E70FE8EA6EBE9241BDB4CA6D8D12E1D801C2452140E4@RZJC1EX.jr1.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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]-->
<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> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB">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> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext"> </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">-></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">()-></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
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </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> </o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </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">-></span></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetInteractor</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">Initialize</span><span
style="font-size:10.0pt" lang="EN-GB">();<o:p></o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB">if you use </span><span
lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">view</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">-></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">GetRendererWindow</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">()-></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">Render</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">();<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">instead of <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB"> </span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">view</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">-></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">GetRenderer</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">()-></span><span
style="font-size:10.0pt;font-family:"Courier
New";color:#010001" lang="EN-GB">Render</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:windowtext" lang="EN-GB">();</span><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB"> <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB">it does not appear, strange behaviour…… 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…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB">thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB">best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </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
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="DE">Von:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="DE"> Burlen Loring
[<a class="moz-txt-link-freetext" href="mailto:burlen.loring@gmail.com">mailto:burlen.loring@gmail.com</a>] <br>
<b>Gesendet:</b> Montag, 09. Dezember 2013 22:25<br>
<b>An:</b> Lodron, Gerald; Paraview Developer
(<a class="moz-txt-link-abbreviated" href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>); Paraview User
(<a class="moz-txt-link-abbreviated" href="mailto:paraview@paraview.org">paraview@paraview.org</a>)<br>
<b>Betreff:</b> Re: [Paraview] WG: endless loop in
vtkOpenGLError<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </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
style="font-size:10.0pt" lang="EN-GB">vtkContextView* </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkContextView</span><span
style="font-size:10.0pt" lang="EN-GB">::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">New</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetRenderer</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetBackground</span><span
style="font-size:10.0pt" lang="EN-GB">(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
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkChartXY</span><span
style="font-size:10.0pt" lang="EN-GB">* </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkChartXY</span><span
style="font-size:10.0pt" lang="EN-GB">::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">New</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetAxis</span><span
style="font-size:10.0pt" lang="EN-GB">(1)-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetTitle</span><span
style="font-size:10.0pt" lang="EN-GB">( </span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"xaxis"</span><span
style="font-size:10.0pt" lang="EN-GB"> );</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetAxis</span><span
style="font-size:10.0pt" lang="EN-GB">(0)-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetTitle</span><span
style="font-size:10.0pt" lang="EN-GB">( </span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"yaxis"</span><span
style="font-size:10.0pt" lang="EN-GB"> );</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetTitle</span><span
style="font-size:10.0pt" lang="EN-GB">( </span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"Title"</span><span
style="font-size:10.0pt" lang="EN-GB"> );</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetScene</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">AddItem</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:green" lang="EN-GB">//
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
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkTable</span><span
style="font-size:10.0pt" lang="EN-GB">* </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkTable</span><span
style="font-size:10.0pt" lang="EN-GB">::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">New</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkSmartPointer</span><span
style="font-size:10.0pt" lang="EN-GB"><</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkDoubleArray</span><span
style="font-size:10.0pt" lang="EN-GB">> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oXAxis</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkSmartPointer</span><span
style="font-size:10.0pt" lang="EN-GB"><</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkDoubleArray</span><span
style="font-size:10.0pt" lang="EN-GB">>::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">New</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oXAxis</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetName</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"xaxis"</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">AddColumn</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oXAxis</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:green" lang="EN-GB">//poTable->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
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkSmartPointer</span><span
style="font-size:10.0pt" lang="EN-GB"><</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkDoubleArray</span><span
style="font-size:10.0pt" lang="EN-GB">> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oPositionlot</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkSmartPointer</span><span
style="font-size:10.0pt" lang="EN-GB"><</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkDoubleArray</span><span
style="font-size:10.0pt" lang="EN-GB">>::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">New</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oPositionlot</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetName</span><span
style="font-size:10.0pt" lang="EN-GB">( </span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"Data0"</span><span
style="font-size:10.0pt" lang="EN-GB"> );</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">AddColumn</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">oPositionlot</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetNumberOfRows</span><span
style="font-size:10.0pt" lang="EN-GB">( 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
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetRenderWindow</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetMultiSamples</span><span
style="font-size:10.0pt" lang="EN-GB">(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
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetColumn</span><span
style="font-size:10.0pt" lang="EN-GB">(0)-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetName</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#A31515" lang="EN-GB">"col1"</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:blue" lang="EN-GB">for</span><span
style="font-size:10.0pt" lang="EN-GB"> ( </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">size_t</span><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">nRow</span><span
style="font-size:10.0pt" lang="EN-GB"> = 0; </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">nRow</span><span
style="font-size:10.0pt" lang="EN-GB"> < 10; ++</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">nRow</span><span
style="font-size:10.0pt" lang="EN-GB"> )</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> {</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetValue</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">nRow</span><span
style="font-size:10.0pt" lang="EN-GB">, 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
style="font-size:10.0pt" lang="EN-GB"> }</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkPlot</span><span
style="font-size:10.0pt" lang="EN-GB"> * </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poPlot</span><span
style="font-size:10.0pt" lang="EN-GB"> = </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poChart</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">AddPlot</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">vtkChart</span><span
style="font-size:10.0pt" lang="EN-GB">::</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">LINE</span><span
style="font-size:10.0pt" lang="EN-GB">);</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poPlot</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetInputData</span><span
style="font-size:10.0pt" lang="EN-GB">(</span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poTable</span><span
style="font-size:10.0pt" lang="EN-GB">, 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
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:green" lang="EN-GB">//poPlot->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
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poPlot</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetColor</span><span
style="font-size:10.0pt" lang="EN-GB">( 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
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poPlot</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetWidth</span><span
style="font-size:10.0pt" lang="EN-GB">( 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
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poPlot</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetPen</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">SetLineType</span><span
style="font-size:10.0pt" lang="EN-GB">(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
style="font-size:10.0pt" lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetRenderer</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">Render</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">poContextView</span><span
style="font-size:10.0pt" lang="EN-GB">-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">GetInteractor</span><span
style="font-size:10.0pt" lang="EN-GB">()-></span><span
style="font-size:10.0pt;color:#010001" lang="EN-GB">Initialize</span><span
style="font-size:10.0pt" lang="EN-GB">();</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt" lang="EN-GB"> </span><span
style="font-size:10.0pt">poContextView-></span><span
style="font-size:10.0pt;color:#010001">GetInteractor</span><span
style="font-size:10.0pt">()-></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> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>