[vtk-developers] Request: Make certain methods related to tick labels in vtkAxis virtual

pdhahn pdhahn at compintensehpc.com
Sat Aug 26 12:47:30 EDT 2017


Please make the following "generate" methods related to tick labels in
vtkAxis virtual so they can be overridden in a subclass:

GenerateSimpleLabel(), GenerateSprintfLabel(), GenerateLabelFormat(),
GenerateLogSpacedLinearTicks()

These methods all  can call this->TickLabels->InsertNextValue( ... ) with a
label that they create.

This would allow better control over tick label generation by
re-implementing these in a subclass that handles additional kinds of
"notation" and corresponding tick labels, as opposed to having to use the
custom tick labels mechanism. In particular, date-time (timestamp) tick
labels.




--
View this message in context: http://vtk.1045678.n5.nabble.com/Request-Make-certain-methods-related-to-tick-labels-in-vtkAxis-virtual-tp5744594.html
Sent from the VTK - Dev mailing list archive at Nabble.com.


More information about the vtk-developers mailing list