<div dir="ltr">I write follow code in a thread.<br><br>void updateHaptics(void)<br>{ <br> <br>while(simulationRunning )<br><div> { <br> double bounds[6];<br></div><div> toolactor->Getbounds(bounds);<br>
</div><div><br> }<br>simulationRunning=false;<br> <br> }<br> <br> // exit haptics thread<br> simulationFinished = true;<br><br>}<br></div><div>beacuse of use from Getbounds function ,after running ,this is follow error:<br>
</div><div>Error: in VTK\Filtering\vtkExcutive in line 783<br><br></div><br>vtkErrorMacro(<< method << " invoked during another request. "<br> "Returning failure to algorithm "<br>
<< this->Algorithm->GetClassName(<div>) << "("<br> << this->Algorithm << ").");<br></div></div>