[vtkusers] vtkAxisActor2D -- how to change its colour?

Atwood, Robert C r.atwood at imperial.ac.uk
Mon May 19 09:54:15 EDT 2008


Hi, I find that the vtkAxisActor2D member of vtkLegendScaleActor,  does
exactly what I am wanting to include in my application, however with the
little problem that the axis is white, whereas I want it to be black. 

I can't see which function to use to alter this property, I'm not quite
sure which member of the object this property belongs to. 

I have no trobule changing the colour and other properties of the labels
of the axis!

Any little hint or pointer to example that uses this or very similar
object to  draw a distance scale in the image  ?  (not like
CubeAxesActor, I don't want it moving as the scene is rotated) 

Thanks
Robert







More information about the vtkusers mailing list