<div dir="ltr"><div><div><div>Hi Oon-Ee,<br><br></div>I just did what Marcus said, we have to make sure the reference count doesn't go to zero for the orientation widget. It's not being referenced anywhere else in the code, so when the constructor finishes its job, the local variable is destroyed.<br><br></div>You just have to make the orientation widget a member of your viewer class, initialize it in the constructor as m_orientationWidget = vtkSmartPointer<vtkOrientationMarkerWidget>::New(); and that is it.<br><br></div>-Jùlio.<br></div>