[vtkusers] vtkScalarBarRepresentation::SetOrientation error

Cory Quammen cory.quammen at kitware.com
Mon Jan 4 17:17:24 EST 2016


Serge,

Can you provide the error message or, equivalently, the location in the
code that triggers the error?

Thanks,
Cory

On Wed, Dec 9, 2015 at 10:45 AM, Serge Lalonde <serge at infolytica.com> wrote:

> Hello VTK users,
>
> It looks like vtkScalarBarRepresentation::SetOrientation() generates a VTK
> error (and pops up the VTK error window) if called when its
> vtkScalarBarWidget is not visible because the renderer is NULL. This didn't
> happen in VTK 6.1 and must be a regression failure.
>
> There's no reason to not be able to set the orientation when the widget is
> invisible, and in fact is desirable since you don't want the user to see it
> flash in two different orientations while it's being initialized in the
> code.
>
> Anyone else run into this and is there a workaround?
>
> Thanks.
> --
> www.infolytica.com
> 300 Leo Pariseau, Suite 2222, Montreal, QC, Canada, H2X 4B3
> (514) 849-8752 x236, Fax: (514) 849-4239
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160104/683f9a1d/attachment.html>


More information about the vtkusers mailing list