I have set up a very basic vtkParametricTorus and can't figure out how to move the "center" of the torus to an x,y,z location of my choice.<br><br>vtkParametricTorus *torus=vtkParametricTorus::New();<br> torus->SetRingRadius(tumor_rad);<br>
torus->SetCrossSectionRadius(0.00028);<br><br> vtkParametricFunctionSource *ptorus=vtkParametricFunctionSource::New();<br> ptorus->SetParametricFunction(torus);<br><br> vtkPolyDataMapper *torusMapper=vtkPolyDataMapper::New();<br>
torusMapper->SetInput(ptorus->GetOutput());<br><br> vtkActor *torusActor=vtkActor::New();<br> torusActor->SetMapper(torusMapper);<br><br>Please help.<br><br>Thanks,<br>Haider<br>