[Paraview] ParaView macros (was: Further questions regarding 4D dataset)
Jérôme
jerome.velut at gmail.com
Wed Jul 13 03:16:47 EDT 2011
I put these macros in my Peavip lib : http://github.com/jeromevelut/Peavip
It was initially devoted to expose VTK native filters in ParaView, but I
think that it makes sense to put also ParaView python macros.
It could be a solution to use such a repo to share macros. What do you
think?
Jerome
2011/7/12 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> 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/20110713/ec1c6146/attachment.htm>
More information about the ParaView
mailing list