<div>Hello,</div>
<div> </div>
<div>I need to be able to display custom labels in vtkScalarBarWidget. Looking at the code, it appears that I have the following options:</div>
<div>1) Subclass vtkScalarBarActor and re-implement the AllocateAndSizeLabels() method. Not a very attractive option, as it will require copying the portion of the method that sizes the actor verbatim from the base class;</div>


<div>2) Add a method to vtkScalarBarActor to supply vtkStringArray of labels. Not a very attrative option either as it would require clients to re-supply the array every time they change the look up table;</div>
<div>2) Add a method to vtkScalarBarActor to plug-in a strategy interface that will be asked for a string for each label. This is probably the cleanest way that will allow the most flexibility. However, I don't recall many places in VTK that use the Strategy pattern. </div>


<div> </div>
<div>I thought I'd ask for a guidance before I start down the path of changing VTK one way or another.</div>
<div> </div>
<div>Best Regards,</div>
<div>Jenya</div>