[vtkusers] vtkScalarBarWidget

Sarah Macumber S.Macumber at QuestReliability.com
Thu Jul 31 17:20:20 EDT 2008


Hi Naim, 
 
There have been several emails on the vtk list recently about vtkScalarBarsWidgets that you might want to reference.  Basically the widget lets you easily control interaction with the scalarbar by handling resizing and repositioning of the vtkScalarBarActor.
 
...
sbw = new vtkScalarBarWidget();
sbw.SetScalarBarActor(scalarbar);
sbw.SetInteractor(iren);
sbw.On();
...

Cheers,
Sarah
 
 
________________________________

From: vtkusers-bounces at vtk.org on behalf of naim.electromagneticworks.com
Sent: Thu 7/31/2008 4:16 PM
To: vtkusers at vtk.org
Subject: [vtkusers] vtkScalarBarWidget



Hi vtkUsers,

 

What is the difference between vtkScalarBarWidget and vtkScalarBarActor?

I need some examples in C++  how to use it?

 

Thanks

 

Naim




More information about the vtkusers mailing list