Re: [Paraview] Getting camera/view data in c++ filter

2012-06-14 Thread Utkarsh Ayachit
Alex, What you are trying to do is beyond what a filter can be expected to do in ParaView. What you'll need is a representation that uses the filter internally to process the data right before it is rendered. Look at vtkAMRVolumeRepresentation in git-master to see how this can be done. Utkarsh

Re: [Paraview] Getting camera/view data in c++ filter

2012-06-14 Thread Alex Rattner
Hi Jean-Noel, Thank you very much for the assistance. I was able to retrieve the camera data and use it in my filter. For everyone else here is the working block of code to get camera data directly. pqView *view = 0; pqActiveObjects* tempInstance = ( pqActiveObjects::instance() ); view =

[Paraview] Getting camera/view data in c++ filter

2012-06-13 Thread Alex Rattner
Hello, I have been working on a c++ paraview filter and would like to modify output data based on the camera view direction/location. For example, I may want to highlight data closer to the viewer and remove far away data. Is it possible to access some of this information (like camera