[Paraview] LOD Algorithm

Robert Maynard robert.maynard at kitware.com
Tue Aug 2 09:00:08 EDT 2011


Hi,

What you want to do is derive a new class from vtkGeometryRepresentation and
than override the member variable Decimator with your own LOD algorithm. You
will than need to change all objects to use your new representation, or
create a new view where this representation is used.

On Mon, Aug 1, 2011 at 5:16 PM, Yumin Yuan <yumin.yuan at kitware.com> wrote:

> Instead of modifying the underlying LOD algorithm, what about turning
> off the LOD, and create a new type of representation for your data
> with the small vtkUnstructuredGrid? and of course, you have to change
> the representation to this new type during mouse interaction.
>
> Yumin
>
> On Mon, Aug 1, 2011 at 1:23 PM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> > No, there's no easy way to modify the underlying LOD algorithm without
> > changing the framework code.
> >
> > Utkarsh
> >
> > On Mon, Aug 1, 2011 at 12:02 PM,  <owen.arnold at stfc.ac.uk> wrote:
> >> Hi,
> >>
> >>
> >>
> >> We’ve recently been generating a series of plugins to get our data into
> >> ParaView. We generate our vtkUnstructuredGrids from our raw data by
> >> specifying a recursion depth into a rather large, hierarchical dataset.
> It
> >> occurs to us that we could set a minimal recursion depth and quickly
> >> generate a small vtkUnstructuredGrid, which would be suitable for
> drawing
> >> during mouse interaction. ParaView seems to use a fixed underlying
> quadratic
> >> clustering algorithm to do this. Is there any way to override this
> algorithm
> >> without modifying framework code?
> >>
> >>
> >>
> >> Thanks in advance,
> >>
> >>
> >>
> >> Owen.
> >>
> >> --
> >> Scanned by iCritical.
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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
>



-- 
Robert Maynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110802/aef30f73/attachment.htm>


More information about the ParaView mailing list