Hi Yeonchool,<br /><br />
it's not necessary to recreate your source object to modify any property.<br />
<br />
It's always allowed to modify the source whenever it's needed.<br />This said, you can call e.g. sphereSource->SetRadius(newValue) without recreating everything from scratch as long as your object sphereSource is still alive.
<br /><br />The same is true when applying a filter. There's not need to retrieve the sourceobject from the actor reversely to apply any modification.<br />
Just apply your filter to your sphereSource exactly like shown in your code snippet at the end your last post.<br />
<br />It might be necessary to call mapper->Modified() or mapper->Update(), I'm always a little bit confused when to call it and when not. ;-)<br />
<br />I would go for alternative 3.<br />
Alternative 1 is neither the recommended way, nor necessary.<br />
Alternative 2 can work, but keep in mind that the coordinates are <u>not</u> changed while moving your actor around with SetPosition().<br />
<br />
What I really would do in such a case, I would write a tiny application to test it. In your case I would create one actor, whose source is a vtkSphereSource.<br />Then I would try to find a sophisticate solution.<br /><br />Another advantage is that the sourcecode can be shown here and others can reproduce your problem more easily.
<br /><br />
with best regards<br />
Jochen
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/what-s-the-difference-between-actor-s-position-and-sphere-s-center-tp5713553p5713577.html">Re: what's the difference between actor 's position and sphere 's center ?</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>