How to set vtkActor with the NDI device ?

hello everyone:

I want show a image with vtkActor in 3D window. It can work,but i don’t know how to set it origin and orientation position these parameter let it direction and position Be consistent with NDI refreces point

Thanks very much for your help

You need to register the coordinate system of the marker that you attached to the object with the coordinate system of the object’s model and use that as user matrix in the actor (or transform the displayed polydata before setting it in the actor).

SlicerIGT U-13 tutorial describes how this registration can be done.