<html><body><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><meta http-equiv="x-dns-prefetch-control" content="off"><div
id="yiv274669391"><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><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>Powered by www.kitware.com<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a
href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br><br><br> </div> </div> </div></body></html>