<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:"MS Mincho"}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"\@MS Mincho"}
@font-face
        {font-family:"Trebuchet MS"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.hoenzb
        {}
span.EmailStyle18
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Hi Aashish,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thank you for your replay.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">></span> You mean when you go to the next time-step? (not sure what you are referring to actor's change)</p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Yes</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">></span> Are you creating vtkVolume for each timestamp or do you have only one that you are trying to re-use?</p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I created vtkVolume for each timestamp.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Kenji</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Aashish Chaudhary [mailto:aashish.chaudhary@kitware.com]
<br>
<b>Sent:</b> Monday, December 07, 2015 10:11 AM<br>
<b>To:</b> Kenji Tsumura<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] volume rendering and animation</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi Kenji</p>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Mon, Dec 7, 2015 at 10:46 AM, Kenji Tsumura <<a href="mailto:kenji.tsumura@neosoftmedical.com" target="_blank">kenji.tsumura@neosoftmedical.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal" style="">Hello,</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I have 3D cardiac MRI data (4D including time domain). I can display volume rendering of the data using vtkSmartVolumeMapper.</p>
<p class="MsoNormal" style="">When I tried to do animation (CINE) by  changing actors every time TimerEvent occurs, it is slow (using CPU or GPU).
</p>
<p class="MsoNormal" style="">Even when there is no user interaction, vtk seems to perform volume rendering every time actors change.</p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">You mean when you go to the next time-step? (not sure what you are referring to actor's change)</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="">Are there any way for vtk to not perform volume rendering every time actors change by caching or something?</p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">If I understand your problem, no there is no direct way. If you have multiple vtkVolume, and you are not going over the video memory limit, atleast, data transfer shouldn't happen every time. Are you creating vtkVolume for each timestamp
 or do you have only one that you are trying to re-use?</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="">I was wondering if vtkMultiBlockDataSet or vtkTemporal*** can be utilized, but was unable to find a solution.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Thank you,</p>
<p class="MsoNormal" style=""><span style="color:#888888"> </span></p>
<p class="MsoNormal" style=""><span style="color:#222222; background:white">-- </span><span style="color:#888888"></span></p>
<p class="MsoNormal" style=""><span style="color:#1F497D">Kenji Tsumura</span><span style="color:#888888"></span></p>
<p class="MsoNormal" style=""><span style="color:#222222"> </span><span style="color:#888888"></span></p>
<p class="MsoNormal" style=""><span style="color:black">“The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the
 intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately
 and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.</span><span style="color:#888888"></span></p>
<p class="MsoNormal" style=""><span style="color:#888888"> </span></p>
</div>
<p class="MsoNormal"><span class="hoenzb"><span style="color:#888888">Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader
 of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it
 to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.
</span></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">
http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
</p>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">-- </p>
<div>
<div>
<p class="MsoNormal"><i><span style="font-family:"Trebuchet MS","sans-serif"">| Aashish Chaudhary
<br>
| Technical Leader         <br>
| Kitware Inc.            </span></i></p>
<div>
<p class="MsoNormal"><i><span style="font-family:"Trebuchet MS","sans-serif"">| </span><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></p>
</div>
</div>
</div>
</div>
</div>
</div>
Disclaimer: The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified
 that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy
 of it from your computer system. If you have any questions concerning this message, please contact the sender.
</body>
</html>