<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Sometimes, I have a vtk error with the </span><font face="Arial" size="2">vtkCubeAxesActor and the </font><font face="Arial" size="2">SetZAxisRange</font><font face="Arial" size="2"> But since, I don't set directly the text, is there a bug in this class ?</font></div>
<div><br>
</div>
<div><font face="Arial" size="2">ERROR: In E:\libs\vtk\vtk-5.8.0\Hybrid\vtkVectorText.cxx, line 1728<br>
vtkVectorText (06CD0F50): Text is not set!<br>
<br>
ERROR: In E:\libs\vtk\vtk-5.8.0\Filtering\vtkExecutive.cxx, line 756<br>
vtkStreamingDemandDrivenPipeline (03ED3C98): Algorithm
vtkVectorText(06CD0F50) returned failure for request: vtkInformation
(06C48910)<br>
Debug: Off<br>
Modified Time: 5134599<br>
Reference Count: 1<br>
Registered Events: (none)<br>
Request: REQUEST_DATA<br>
FORWARD_DIRECTION: 0<br>
ALGORITHM_AFTER_FORWARD: 1<br>
FROM_OUTPUT_PORT: 0<br>
</font></div>
<div><br>
</div>
<br>
<div>Thank you.<br>
</div>
<div><font face="Arial" size="2"><br>
</font></div>
<div><br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> R M <mlokida@yahoo.fr><br> <b><span style="font-weight: bold;">À :</span></b> R M <mlokida@yahoo.fr>; "vtkusers@vtk.org" <vtkusers@vtk.org> <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi 8 Décembre 2011 17h08<br> <b><span style="font-weight: bold;">Objet :</span></b> Re : [vtkusers] [vtk 5.8.0] vtkCubeAxesActor and SetZAxisRange Problem<br> </font> <br><meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv1586651091"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt;"><div>Can someone tell me if I do something wrong with my code or if it's a bug
?</div><div><br>Thank you.<br></div><div><br></div> <div style="font-family:arial, helvetica, sans-serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> R M <mlokida@yahoo.fr><br> <b><span style="font-weight:bold;">À :</span></b> "vtkusers@vtk.org" <vtkusers@vtk.org> <br> <b><span style="font-weight:bold;">Envoyé le :</span></b> Jeudi 8 Décembre 2011 10h20<br> <b><span style="font-weight:bold;">Objet :</span></b> [vtkusers] [vtk 5.8.0] vtkCubeAxesActor and SetZAxisRange Problem<br> </font> <br><div id="yiv1586651091"><div><div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:12pt;"><div>Hello,</div><div><br></div><div>I have a display problem with SetZAxisRange of vtkCubeAxesActor (with vtk 5.8 on Linux and
Windows).</div><div><br></div><div>I have a geometry that I scale along the Z axis (in order to have a better view). I want to plot bbox geometry info. So, I use vtkCubeAxesActo. <br></div><div>Moreover, I want to have Zmin and Zmax of my orignal geometry and not the scaled values. So, I use SetZAxisRange to set zmin and zmax of my geometry.</div><div><br></div><div>I set the actor bbox of my geometry to the the vtkCubeAxesActor (using SetBounds).</div><div><br></div><div>cubeAxesActor->SetBounds(pld->getActor()->GetBounds());<br>sp_cubeAxesActor->SetZAxisRange(geozMin, geozMax);</div><div><br></div><div>At each scaling, I set
cubeAxesActor->SetBounds(pld->getActor()->GetBounds()); <br></div><div><br></div><div>The bounds are OK but the Z Range is not updated when coming back to the orignal geometry scale. When rotating, the other displayed Z axis are Ok but the one with the Z range problem is always affected. In attachment there is a screenshot of the problem.</div><div><br></div><div>Any idea to resolve this problem ? Is it a bug ?</div><div><br></div><div>Thank you.<br></div><div><br></div><div> <br></div></div></div></div><br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" target="_blank"
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br> </div> </div> </div></div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div> </div></body></html>