[Kiwiviewer] transient and clip datasets

Pat Marion pat.marion at kitware.com
Mon Mar 5 08:36:14 EST 2012


The code implementation is generic and re-usable, but the KiwiViewer app
hard codes the parameters for the presentation of those two demos.  There
is no configuration file that describes the demos, the KiwiViewer app
instantiates the required objects and sets the parameters in c++ code.

Pat

On Mon, Mar 5, 2012 at 5:51 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> Hi Pat,
>
> > KiwiViewer's files.  You should see model_info.txt, this is for the brain
> > atlas demo.  This file lists the models that make up the brain atlas.
> Each
> > line contains a filename, label, and color.  The models with the names
> skin
> > and skull automatically get the clip widget applied to them.  You could
> > modify this file to trick KiwiViewer into loading your own models in
> place
> > of the brain atlas.  The size and default position of the clip plane is
> hard
> > coded in the app.
> >
> > For the can animation, KiwiViewer loads files with the names can0000.vtp
> > thru can0043.vtp.  The color map is hard coded.  You could replace these
> > files with your own files, but KiwiViewer won't look for any more than 43
> > timesteps, and if you remove some of them, I think KiwiViewer will
> replace
> > the ones you remove.
>
> Are you saying that both cases are purely hardcoded? I.e. I can only
> "trick" the viewer into loading my atlas/transient flies, but the file
> names, widget positions and the number of timesteps can all not be
> changed?
>
> > Both of these demos are fairly easy to customize if you're interested in
> > modifying the source code and making your own build.  If you'd like to
> > suggest some features that would make KiwiViewer better fit your use
> cases,
> > please don't hesitate to let us know!  A nice place to put these is
> > http://ves.uservoice.com
>
> Once you clarify the above question, I certainly might do so.
>
> Regards,
> Dominik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/kiwiviewer/attachments/20120305/3abed077/attachment.html>


More information about the Kiwiviewer mailing list