Assign a DICOM volume node to 3d widget

I am creating a slicelet. And in that, I have dicom volume node, view node of the threeDwidget, and view logic of the widget. How to display the Dicom volume in the 3d widget?

See this example: https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Show_volume_rendering_automatically_when_a_volume_is_loaded