ScalarBarActorQuestion in vtk23

Gala'Vi and Liss @ Mainframe Country pushkare at students.uiuc.edu
Fri Jul 16 10:16:06 EDT 1999


The scalarbaractor turns black and the range goes from 0 to 1 also if you
render with a texture. Which is really annoying, because I'm doing texture
thresholding and the bar comes up black. If you resize the window however,
it comes up normal and stays normal.

I would suggest trying to resize the window and if that doesn't help,
issue another renWin->Render() call. This makes the bar update itself and
then it works. So where you say renWin->Render(), just duplicate that
line. I can't use that method myself, because I'm using FLTK to handle my
interfaces, but if you use TCL/TK you should be able to get away with
that. I'm really beginning to hate that scalar bar though.

Good luck.
Gala'Vi
NCSA, UIUC

//***********************************************
  -- There is always a way, 
        you just have to find it.
              (B.Hambly "Children Of The Jedi")
//***********************************************

On Fri, 16 Jul 1999, Ana Cugat wrote:

> 
> Another problem with ScalarBarActor, with vtk works fine, but when I do the 
> same with a TkRenderWidget, the scalarbaractor is all black and the range 
> goes from 0 to 1.
> 
> Any hints?
> 
> TIA,
> 
> Ana
> 
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 
> -----------------------------------------------------------------------------
> This is the private VTK discussion list.  Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>.  For help, send message body containing
> "info vtkusers" to the same address.     Live long and prosper.
> -----------------------------------------------------------------------------
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list