[vtkusers] Background for vtkScalarBarActor.

John Powell john.powell at us.cd-adapco.com
Mon Sep 21 18:14:22 EDT 2009


Hi,

I'm trying to put an opaque background behind a vtkScalarBarActor.  
There don't seem to be any properties on the vtkScalarbarActor to do 
this, so I figure I need to make a vtkPropAssembly with a 
vtkScalarBarActor and some other vtkActor2D class that draws a filled 
rectangle as big as the vtkScalarBarActor.  I looked at how 
vtkLegendBoxActor supports a background, but I found this a little 
complicated. Is there an easier way to get a background behind a 
vtkScalarBarActor?

Thanks,

John Powell



More information about the vtkusers mailing list