[vtkusers] prop3D always in foreground
Miro Drahos
mdrahos at robodoc.com
Mon Aug 19 18:26:03 EDT 2013
Brilliant!
That's exactly what I was looking for.
Thank you tons!
Miro
On 08/19/2013 03:19 PM, Aashish Chaudhary wrote:
> You can use multiple renderers tied to same render window. For related
> discussion please visit this thread:
> http://www.vtk.org/pipermail/vtkusers/2008-July/095994.html
>
> Hope this helps.
>
> Thanks,
>
>
>
> On Mon, Aug 19, 2013 at 6:01 PM, Miro Drahos <mdrahos at robodoc.com
> <mailto:mdrahos at robodoc.com>> wrote:
>
> Hi all,
> I've been scratching my head over this one for some time now,
> searching the mailing list, but still don't have a clue:
>
> How do I manually set a z-order of a prop? In other words, I have
> a prop (silhouette outline of a surface) that I want to be
> rendered always in foreground.
> Since this is output of vtkPolyDataSilhouetteFilter, it is
> rendered via vtkMapper and vtkActor and not via vtkMapper2D
> vtkActor2D. I tried to visualize it via the *2D pipeline since I
> saw the SetDisplayLocationToForeground() of vtkProperty2D but it
> did not render correctly.
>
> I am thinking I need to traverse vtkCullerCollection
> <http://www.vtk.org/doc/nightly/html/classvtkCullerCollection.html> from
> my renderer, but then what?
> The class vtkCuller has only one method declared virtual double
> Cull(...) with no definition.
>
> I am kind of lost here and would very much appreciate any advice
> on this.
> Thank you!
> Miro
>
>
> _______________________________________________
> Powered by www.kitware.com <http://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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com <http://www.kitware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130819/1589ee18/attachment.htm>
More information about the vtkusers
mailing list