Hi, Thanks for this. I'm not sure I'm doing things correctly. I can add the macros, leading to buttons and menu items appearing, but selecting them doesn't appear to do anything. I haven't used macros in paraview before, so I'm not sure how to select what they actually get applied to. I am testing with an image volume, or two image volumes.
On Wed, Jul 13, 2011 at 6:39 AM, Utkarsh Ayachit <[email protected]> wrote: > Sweet. That's neat. We need to start thinking of a mechanism to > share/distribute macros now :). > > Utkarsh > > On Tue, Jul 12, 2011 at 2:36 PM, Jérôme <[email protected]> wrote: >> Macro-ized ! >> >> Richard, just add the attached py files as new macros and you will be able >> to switch between MIP, MinIP and Composite (the defaut one) volume >> rendering. >> These macros are more than minimalist (2 lines) : they can be easily >> extended to check the current representation and toggle to volume >> automatically. >> I hope it will be helpful for you >> Jerome >> >> 2011/7/12 Utkarsh Ayachit <[email protected]> >>> >>> Cool. I wasn't aware of this :). >>> >>> To change the blend mode from Python shell, all you do is following >>> (with the source being volume rendering active in the pipeline >>> browser): >>> >>> SetDisplayProperties(BlendMode="MaximumIntensity") >>> >>> Utkarsh >>> >>> >>> On Tue, Jul 12, 2011 at 1:08 PM, Jérôme <[email protected]> wrote: >>> > Hi, >>> > I asked a while ago for the possibility to expose BlendMode (MIP is one >>> > of >>> > the BlendMode) in rendering proxies and I was granted : >>> > http://www.cmake.org/pipermail/paraview/2009-October/014157.html >>> > >>> > >>> > http://paraview.org/gitweb?p=ParaView.git;a=commit;h=3a07a88345910d5605e042287391e6623af9deb5 >>> > >>> > By grep-ing current sources, I found that BlendMode is exposed for >>> > GPUVolumeRayCastMapper and FixedPointVolumeRayCastMapper. However, I >>> > don't >>> > know how easily you can toggle the BlendMode from python shell... >>> > >>> > Jerome >>> > >>> > 2011/7/12 Utkarsh Ayachit <[email protected]> >>> >> >>> >> No, ParaView does not support MIP at this time. >>> >> >>> >> Utkarsh >>> >> >>> >> Sent from my iPad >>> >> >>> >> On Jun 22, 2011, at 6:49 PM, Richard Beare <[email protected]> >>> >> wrote: >>> >> >>> >> > Hi, >>> >> > The volume rendering works successfully. Thank you for the >>> >> > assistance. >>> >> > Further investigations have suggested that Imaris is probably >>> >> > performing simple maximum intensity projection, but enabling the user >>> >> > to rotate the volume and producing nice colour combinations. Is there >>> >> > any MIP facility in paraview? >>> >> > >>> >> > Thanks >>> >> > _______________________________________________ >>> >> > 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 ParaView Wiki at: >>> >> > http://paraview.org/Wiki/ParaView >>> >> > >>> >> > Follow this link to subscribe/unsubscribe: >>> >> > http://www.paraview.org/mailman/listinfo/paraview >>> >> _______________________________________________ >>> >> 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 ParaView Wiki at: >>> >> http://paraview.org/Wiki/ParaView >>> >> >>> >> Follow this link to subscribe/unsubscribe: >>> >> http://www.paraview.org/mailman/listinfo/paraview >>> > >>> > >> >> > _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
