I am currently unable to adjust the line width of an actor with
vtkLineSource. Is there something I am missing? Are there perhaps no line cells?
lineSource = vtkLineSource.newInstance(); lineActor = vtkActor.newInstance(); mapper = vtkMapper.newInstance(); lineActor.setMapper(mapper); mapper.setInputConnection(lineSource.getOutputPort()); lineSource.setPoint1(...) lineSource.setPoint2(...)
then try to set the line width on the actor
p = lineActor.getProperty() p.setLineWidth(10)
and there is no observable change after re-rendering