I put these macros in my Peavip lib : <a href="http://github.com/jeromevelut/Peavip">http://github.com/jeromevelut/Peavip</a><br>It was initially devoted to expose VTK native filters in ParaView, but I think that it makes sense to put also ParaView python macros.<br>
<br>It could be a solution to use such a repo to share macros. What do you think?<br><br>Jerome<br><br><div class="gmail_quote">2011/7/12 Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Sweet. That&#39;s neat. We need to start thinking of a mechanism to<br>
share/distribute macros now :).<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Tue, Jul 12, 2011 at 2:36 PM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt; Macro-ized !<br>
&gt;<br>
&gt; Richard, just add the attached py files as new macros and you will be able<br>
&gt; to switch between MIP, MinIP and Composite (the defaut one) volume<br>
&gt; rendering.<br>
&gt; These macros are more than minimalist (2 lines) : they can be easily<br>
&gt; extended to check the current representation and toggle to volume<br>
&gt; automatically.<br>
&gt; I hope it will be helpful for you<br>
&gt; Jerome<br>
&gt;<br>
&gt; 2011/7/12 Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cool. I wasn&#39;t aware of this :).<br>
&gt;&gt;<br>
&gt;&gt; To change the blend mode from Python shell, all you do is following<br>
&gt;&gt; (with the source being volume rendering active in the pipeline<br>
&gt;&gt; browser):<br>
&gt;&gt;<br>
&gt;&gt; SetDisplayProperties(BlendMode=&quot;MaximumIntensity&quot;)<br>
&gt;&gt;<br>
&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Jul 12, 2011 at 1:08 PM, Jérôme &lt;<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt; I asked a while ago for the possibility to expose BlendMode (MIP is one<br>
&gt;&gt; &gt; of<br>
&gt;&gt; &gt; the BlendMode) in rendering proxies and I was granted :<br>
&gt;&gt; &gt;    <a href="http://www.cmake.org/pipermail/paraview/2009-October/014157.html" target="_blank">http://www.cmake.org/pipermail/paraview/2009-October/014157.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="http://paraview.org/gitweb?p=ParaView.git;a=commit;h=3a07a88345910d5605e042287391e6623af9deb5" target="_blank">http://paraview.org/gitweb?p=ParaView.git;a=commit;h=3a07a88345910d5605e042287391e6623af9deb5</a><br>

&gt;&gt; &gt;<br>
&gt;&gt; &gt; By grep-ing current sources, I found that BlendMode is exposed for<br>
&gt;&gt; &gt; GPUVolumeRayCastMapper and FixedPointVolumeRayCastMapper. However, I<br>
&gt;&gt; &gt; don&#39;t<br>
&gt;&gt; &gt; know how easily you can toggle the BlendMode from python shell...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Jerome<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2011/7/12 Utkarsh Ayachit &lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; No, ParaView does not support MIP at this time.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Utkarsh<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Sent from my iPad<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Jun 22, 2011, at 6:49 PM, Richard Beare &lt;<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt; The volume rendering works successfully. Thank you for the<br>
&gt;&gt; &gt;&gt; &gt; assistance.<br>
&gt;&gt; &gt;&gt; &gt; Further investigations have suggested that Imaris is probably<br>
&gt;&gt; &gt;&gt; &gt; performing simple maximum intensity projection, but enabling the user<br>
&gt;&gt; &gt;&gt; &gt; to rotate the volume and producing nice colour combinations. Is there<br>
&gt;&gt; &gt;&gt; &gt; any MIP facility in paraview?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Thanks<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt; &gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>