[vtkusers] VTK6.0 label size problem of vtkScalarBarActor

David Thompson david.thompson at kitware.com
Wed Jun 26 10:18:35 EDT 2013


> ... The problem is vtkScalarBarActor tries to rescale according to size of
> render window the labels always. It is not possible to assign a fixed font
> size with vtkTextProperty.   ...


If you would like a version of the scalar bar actor that does not resize fonts, see the version in ParaView named vtkPVScalarBarActor:

http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.h;hb=HEAD
http://paraview.org/gitweb?p=ParaView.git;a=blob_plain;f=ParaViewCore/VTKExtensions/Rendering/vtkPVScalarBarActor.cxx;hb=HEAD

	David


More information about the vtkusers mailing list