<br>Greetings all,<br><br>I am using vtkFollower to add labels to an axis. Everything is working fine, however the about the point to the left of the text. I would like the text to oriet itself about the center. In a sense I would like it Center justified instead of left justified.
<br><br>I have attempted to change the origin of the vtkFollower as follows:<br><br> double *center = new double[3];<br> double *position = new double[3];<br> center = follower->GetCenter();<br> position = follower->GetPosition();
<br> for (int i=0;i<3;i++) center[i] = center[i]-position[i];<br> follower->SetOrigin(center); <br><br>However, this seems to do something funny where it changes the position of the text as well.<br><br>Anyone have any ideas how to solve this problem?
<br><br>Thanks!<br><br>Dave<br><br>