Set the euler rotation of this control point. If you don't specify a rotation value then this control point will not affect the rotation of the path.
cp = viz.addControlPoint()
#The euler rotation at this control point will be (45,0,0)
cp.setEuler([45,0,0])