Richard,<br>These steps make the MIP available by me :<br>- open ParaView<br>- Add MIP.py as macro ( menubar "Macros" -> "Add new macro"). as you noted, it adds a button in the toolbar<br>- Open a volume (or add a volume source, eg Wavelet) and click on "Apply"<br>
- Change the representation to Volume ("Object inspector" panel -> "Display" tab -> "Style" frame -> "Representation" combobox -> "Volume"). You may want to choose GPU rendering : "Volume Mapper" -> GPU<br>
- Click on the newly added MIP button. Normally, it should change the volume representation to MIP one.<br><br>If you want to go back to the usual volume rendering, do the same with the Composite.py macro.<br><br>HTH<br>Jerome<br>
<br><div class="gmail_quote">2011/7/15 Richard Beare <span dir="ltr"><<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
Thanks for this.<br>
<br>
I'm not sure I'm doing things correctly. I can add the macros, leading<br>
to buttons and menu items appearing, but selecting them doesn't appear<br>
to do anything. I haven't used macros in paraview before, so I'm not<br>
sure how to select what they actually get applied to. I am testing<br>
with an image volume, or two image volumes.<br>
<div><div></div><div class="h5"><br>
On Wed, Jul 13, 2011 at 6:39 AM, Utkarsh Ayachit<br>
<<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
> Sweet. That's neat. We need to start thinking of a mechanism to<br>
> share/distribute macros now :).<br>
><br>
> Utkarsh<br>
><br>
> On Tue, Jul 12, 2011 at 2:36 PM, Jérôme <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
>> Macro-ized !<br>
>><br>
>> Richard, just add the attached py files as new macros and you will be able<br>
>> to switch between MIP, MinIP and Composite (the defaut one) volume<br>
>> rendering.<br>
>> These macros are more than minimalist (2 lines) : they can be easily<br>
>> extended to check the current representation and toggle to volume<br>
>> automatically.<br>
>> I hope it will be helpful for you<br>
>> Jerome<br>
>><br>
>> 2011/7/12 Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
>>><br>
>>> Cool. I wasn't aware of this :).<br>
>>><br>
>>> To change the blend mode from Python shell, all you do is following<br>
>>> (with the source being volume rendering active in the pipeline<br>
>>> browser):<br>
>>><br>
>>> SetDisplayProperties(BlendMode="MaximumIntensity")<br>
>>><br>
>>> Utkarsh<br>
>>><br>
>>><br>
>>> On Tue, Jul 12, 2011 at 1:08 PM, Jérôme <<a href="mailto:jerome.velut@gmail.com">jerome.velut@gmail.com</a>> wrote:<br>
>>> > Hi,<br>
>>> > I asked a while ago for the possibility to expose BlendMode (MIP is one<br>
>>> > of<br>
>>> > the BlendMode) in rendering proxies and I was granted :<br>
>>> > <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>
>>> ><br>
>>> ><br>
>>> > <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>
>>> ><br>
>>> > By grep-ing current sources, I found that BlendMode is exposed for<br>
>>> > GPUVolumeRayCastMapper and FixedPointVolumeRayCastMapper. However, I<br>
>>> > don't<br>
>>> > know how easily you can toggle the BlendMode from python shell...<br>
>>> ><br>
>>> > Jerome<br>
>>> ><br>
>>> > 2011/7/12 Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>><br>
>>> >><br>
>>> >> No, ParaView does not support MIP at this time.<br>
>>> >><br>
>>> >> Utkarsh<br>
>>> >><br>
>>> >> Sent from my iPad<br>
>>> >><br>
>>> >> On Jun 22, 2011, at 6:49 PM, Richard Beare <<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >><br>
>>> >> > Hi,<br>
>>> >> > The volume rendering works successfully. Thank you for the<br>
>>> >> > assistance.<br>
>>> >> > Further investigations have suggested that Imaris is probably<br>
>>> >> > performing simple maximum intensity projection, but enabling the user<br>
>>> >> > to rotate the volume and producing nice colour combinations. Is there<br>
>>> >> > any MIP facility in paraview?<br>
>>> >> ><br>
>>> >> > Thanks<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<br>
>>> >> > <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 ParaView Wiki at:<br>
>>> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>> >> ><br>
>>> >> > Follow this link to subscribe/unsubscribe:<br>
>>> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><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<br>
>>> >> <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 ParaView Wiki at:<br>
>>> >> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>> >><br>
>>> >> Follow this link to subscribe/unsubscribe:<br>
>>> >> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br>