I'll take a look. The widgets are like a lot of GUIs in that they have to be properly "realized" before certain operations make sense. It's probably a simple "if" check.<div>W<br><br><div class="gmail_quote">

On Wed, Mar 9, 2011 at 11:57 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

In the "release" branch of git (and presumably master as well, although I have not tried), I have noticed the following, which is a recent change (last few months):<br><br><br>Instantiating and printing class 'vtkBiDimensionalRepresentation2D'<br>


<br>ERROR: In ..\..\VTK\Widgets\vtkBiDimensionalRepresentation2D.cxx, line 766<br>vtkBiDimensionalRepresentation2D (050659C0): GetWorldLabelPosition: no renderer!<br><br><br>This occurs when simply instantiating a vtkBiDimensionalRepresentation2D and calling its Print method.<br>


<br>Would the owner of such class like to make this an error free operation?<br><br><br>Thanks,<br>David C.<br><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>