[vtkusers] Same volume in multiple render windows

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Dec 11 15:56:12 EST 2013


Doug,

Please keep the conversation on the mailing list so that everyone benefits
from it. Yes, it should be using only the 100 MB. If you run into some
issues, let me know.

- Aashish


On Wed, Dec 11, 2013 at 3:49 PM, Doug Hoppes <dhoppes at mbfbioscience.com>wrote:

>  Thanks… Okay, let me play with that and see what happens.  Just want to
> verify… if I have a large volume actor that is 100MB and I have 4
> viewports, I’m still only using 100MB of memory, not 400MB of memory,
> Correct?
>
>
>
> BTW: Thanks for the response.
>
>
>
> *From:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com]
> *Sent:* Wednesday, December 11, 2013 3:46 PM
> *To:* Doug Hoppes; vtkusers
>
> *Subject:* Re: [vtkusers] Same volume in multiple render windows
>
>
>
> Doug,
>
>
>
> You should be able to move them individually.  you will have two
> renderers, and you would need two cameras (one for each).
>
>
>
> - Aashish
>
>
>
>
>
> On Wed, Dec 11, 2013 at 3:40 PM, Doug Hoppes <dhoppes at mbfbioscience.com>
> wrote:
>
> I’ll have to look up the multiple viewports.  Essentially, I would like to
> be have to have a quad view where I can have two of the views show the
> volume in 3D (so that I can rotate them differently) and two other views to
> show the volume as XY or XZ projections.
>
>
>
> Our main concern is that the volume that we use are really large.
>
>
>
> If I show the actor in two different viewports, can I move them
> individually?
>
>
>
> *From:* Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com]
> *Sent:* Wednesday, December 11, 2013 3:32 PM
> *To:* Doug Hoppes
> *Cc:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] Same volume in multiple render windows
>
>
>
> Can you create multiple viewports and not multiple render windows?
> Multiple render windows will create multiple contexts and without any
> special care will duplicate data.
>
>
>
> - Aashish
>
>
>
>
>
> On Wed, Dec 11, 2013 at 3:24 PM, Doug Hoppes <dhoppes at mbfbioscience.com>
> wrote:
>
> Hi all,
>
>
>
>                 I’m working on a design and need some help with a  basic
> question.  We would like to have the standard quad view shown in a lot of
> 3D applications.  Ideally, I would like to have the same vtkvolume actor in
> two different render windows so that I can rotate the volume one way in one
> window and a different way in another window.  Am I using twice as much
> memory for the vtkvolume actor, since, in reality, I am only moving the
> camera position?
>
>
>
> Doug
>
>
> _______________________________________________
> 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 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
>
>
>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131211/55cb488e/attachment.htm>


More information about the vtkusers mailing list