[Paraview] Fw: Re: Can sources use filenames in property panels?

Samuel Crow samuel_crow_work at rocketmail.com
Tue Sep 2 09:57:21 EDT 2008


Update:  I've written the source and it seems to work on the Macintosh except when I select a file in either file selector it doesn't register the filename in the set method specified in the command entry in the XML.

--- On Mon, 8/25/08, Samuel Crow <samuel_crow_work at rocketmail.com> wrote:

> From: Samuel Crow <samuel_crow_work at rocketmail.com>
> Subject: Re: [Paraview] Can sources use filenames in property panels?
> To: paraview at paraview.org, clinton at elemtech.com
> Date: Monday, August 25, 2008, 8:30 PM
> Thanks!
> 
> 
> --- On Mon, 8/25/08, clinton at elemtech.com
> <clinton at elemtech.com> wrote:
> 
> > From: clinton at elemtech.com
> <clinton at elemtech.com>
> > Subject: Re: [Paraview] Can sources use filenames in
> property panels?
> > To: paraview at paraview.org,
> samuel_crow_work at rocketmail.com
> > Date: Monday, August 25, 2008, 8:27 PM
> > I just committed a change in CVS to help you.
> > Put back your FileListDomain in your properties.
> > But add an XML hint to show the properties in the
> panel.
> > The fix I put in puts it in the sources menu if the
> show
> > hint is there.
> > 
> > <SourceProxy ....>
> >    .....
> >      <Hints>
> >        <Property name="FileName"
> > show="1"/>
> >      </Hints>
> > </SourceProxy>
> > 
> > Clint
> > 
> > On Monday 25 August 2008 1:20:47 pm Samuel Crow wrote:
> > > Hello again,
> > >
> > > I'm trying to make a source that can read in
> two
> > files and generate output
> > > based on those files and a few other selection
> boxes
> > on the panel
> > > describing the file processing.  I cannot use
> file
> > readers for the two
> > > files because there are already readers
> registered to
> > both file types and
> > > they produce inappropriate data conversions for
> the
> > type of data processing
> > > I have to do on the files.  As such, I also
> cannot use
> > a filter to process
> > > the input files due to that fact.
> > >
> > > Whenever I try to make a string gadget on the
> > source's properties panel it
> > > doesn't register on the sources menu.  When I
> > comment out the
> > > FileListDomain from each of the filename gadgets,
> the
> > string gadgets don't
> > > appear at all but the plugin registers as a
> source. 
> > Whether I do or don't
> > > comment out the FileListDomain, everything
> compiles
> > correctly and loads
> > > correctly under the CVS version of Paraview for
> > Windows from last
> > > Wednesday.
> > >
> > > How can I make a source that can read a file?
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > ParaView mailing list
> > > ParaView at paraview.org
> > > http://www.paraview.org/mailman/listinfo/paraview


      



More information about the ParaView mailing list