[vtkusers] Setting negative lengths in vtkAxesActor::SetTotalLength()

Sam1991 shivamsinha91 at gmail.com
Mon Jan 14 09:33:08 EST 2013


Hi,

I am using a vtkAxesActor object to display a set of axes in a rendering
window. I am setting the lengths of individual axes using the
SetTotalLength() function. Everything works fine for positive arguments to
SetTotalLength; however, for negative arguments, the axes are displayed in
black colour, and a warning message is displayed "One or more axes lengths
are negative, and may not produce expected results". The lengths are still
correctly set, just that they are black and not the actual colour. Is there
any workaround for this?

PS: Earlier I had been using a vtkAxes object which supported
SetSymmetric(), but that function simply extends the axes to the negative
direction and doesn't hide the positive parts.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Setting-negative-lengths-in-vtkAxesActor-SetTotalLength-tp5717932.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list