[Paraview] Further questions regarding 4D dataset

Jérôme jerome.velut at gmail.com
Fri Jul 15 02:58:05 EDT 2011


Richard,
These steps make the MIP available by me :
- open ParaView
- Add MIP.py as macro ( menubar "Macros" -> "Add new macro"). as you noted,
it adds a button in the toolbar
- Open a volume (or add a volume source, eg Wavelet) and click on "Apply"
- 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
- Click on the newly added MIP button. Normally, it should change the volume
representation to MIP one.

If you want to go back to the usual volume rendering, do the same with the
Composite.py macro.

HTH
Jerome

2011/7/15 Richard Beare <richard.beare at gmail.com>

> 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
> <utkarsh.ayachit at kitware.com> 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 <jerome.velut at gmail.com> 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 <utkarsh.ayachit at kitware.com>
> >>>
> >>> 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 <jerome.velut at gmail.com>
> 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 <utkarsh.ayachit at kitware.com>
> >>> >>
> >>> >> No, ParaView does not support MIP at this time.
> >>> >>
> >>> >> Utkarsh
> >>> >>
> >>> >> Sent from my iPad
> >>> >>
> >>> >> On Jun 22, 2011, at 6:49 PM, Richard Beare <richard.beare at gmail.com
> >
> >>> >> 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
> >>> >
> >>> >
> >>
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110715/afd22c99/attachment-0001.htm>


More information about the ParaView mailing list