[Paraview] Getting camera/view data in c++ filter
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Jun 14 10:00:06 EDT 2012
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
On Wed, Jun 13, 2012 at 3:59 PM, Alex Rattner <Alex.Rattner at gatech.edu> wrote:
> 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 location, view direction,
> etc.) from a filter? I've seen some information on accessing this data in
> python, but I want to get it in a compiled c++ filter.
>
> Thank you,
> Alex
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list