<div dir="ltr">Hi all,<div><br></div><div>I'm developing an application in Java and using VTK. I attach you the class that is causing the problem, it extends vtkCanvas. When calling:</div><div><br></div><div style>Chart2DCanvas.this.Render()</div>
<div style><br></div><div style>in function setValues, who calls the function Render() of the class vtkPanel. When arriving to the highlighted line it appears an error in the eclipse's console that says: "Symbol is not defined:" several times.</div>
<div style><br></div><div style><div> public synchronized void Render() {</div><div> if (!rendering) {</div><div> rendering = true;</div><div> if (ren.VisibleActorCount() == 0) {</div><div>
rendering = false;</div><div> return;</div><div> }</div><div> if (rw != null) {</div><div> if (windowset == 0) {</div><div> // set the window id and the active camera</div>
<div> cam = ren.GetActiveCamera();</div><div> if (lightingset == 0) {</div><div> ren.AddLight(lgt);</div><div> lgt.SetPosition(cam.GetPosition());</div>
<div> lgt.SetFocalPoint(cam.GetFocalPoint());</div><div> lightingset = 1;</div><div> }</div><div> RenderCreate(rw);</div><div> Lock();</div>
<div> rw.SetSize(getWidth(), getHeight());</div><div> UnLock();</div><div> windowset = 1;</div><div> this.setSize(getWidth(), getHeight());</div>
<div> }</div><div> Lock();</div><div><font color="#cc0000"> rw.Render();</font></div><div> UnLock();</div><div> rendering = false;</div><div> }</div>
<div> }</div><div> }</div></div><div><br></div><div>I have no idea what can be causing this issue. Any help will be great. </div><div><br></div><div>Thanks in advance,<br clear="all"><div><br></div>-- <br>Laura Balbastre<br>
</div></div>