[vtkusers] RE:drag

Toon Huysmans denhuys at hotmail.com
Fri Jun 4 05:27:15 EDT 2004


Something like this should do the job:

vtkScalarBarWidget *scalarWidget = vtkScalarBarWidget::New();
scalarWidget->SetInteractor(iren);
scalarWidget->GetScalarBarActor()->SetTitle("Title");
scalarWidget->GetScalarBarActor()->SetLookupTable(Object->GetLookupTable());

Toon.



More information about the vtkusers mailing list