Hi all, <div><br></div><div>I would like inform my polydata algorithm about change of direction of projection. </div><div>How it could be realised ? </div><div><br></div><div>I am attaching my code. As an example of polydata algorithm I inherited from vtkSphereSource and method that I do not know connect to the rest is MySphereSource::printDirectionOfProjection. </div>
<div><br></div><div>- One way could be put the vtkInteractorStyleTrackballCamera style ( or someone else ?) into algorithm as widgets do, but this does not seam to me very nice. </div><div>- Opposite way could be add algorithm's observer to the style such as vtkCameraObserver in the code. But this method looks like eating the event -> sphere doesn't rotate anymore and I do not know how to get GetDirectionOfProjection there . Do you have any idea why ?</div>
<div><br></div>
<div>What could be correct ? </div><div><br></div><div>Thanks in advance </div><div>Jana</div><div><br></div><div><br></div>
<div><br></div>