Martin Klemm discovered a bug regarding the rendering of render window frames. He wrote on the MITK users list:
I am rendering
a pointer (yellow part) and a blue line. This line is stippled. The
problem is that now with the below modifications it shows the frame of
the render window also stippled. I also removed the modifications and
tried the manual way in the GUI. The frame is just stippled when the
crosshair is hidden.
This is the code I use in ApplyAllProperties of my line mapper:
bool isStippled = false;
int stipplePattern; node->GetBoolProperty("stippled", isStippled); if ( isStippled ) { stipplePattern = 0xff00; } else { stipplePattern = 0xffff; } _actor->GetProperty()->SetLineStipplePattern(stipplePattern);