vtkProperty in 5.2 changed behavior
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I tested the following code in vtk 5.0 and 5.2. In 5.0 only tip points of the axes are visible, in 5.2 the lines are visible.
vtkAxes * axesSource = vtkAxes::New(); axesSource->SetScaleFactor( 150 ); axesSource->SymmetricOn(); axesSource->ComputeNormalsOff(); vtkPolyDataMapper *axesMapper = vtkPolyDataMapper::New(); axesMapper->SetInput(axesSource->GetOutput()); axesMapper->SetScalarVisibility( 1 ); vtkActor *axesActor = vtkActor::New(); axesActor->SetMapper( axesMapper ); vtkProperty *property = vtkProperty::New(); property->SetRepresentation( VTK_POINTS ); axesActor->SetProperty( property );