Thank you for the answer, I will try. Best regards, Didier Roissé 2010/6/9 Utkarsh Ayachit <[email protected]>
> Additionally, if you have separate readers for the 3 kinds of data you > mention, you can use <Hints /> to indicate that the result of that > reader should be shown in a spreadsheet view. > > Look at "CSVReader" proxy xml in > ParaView/Servers/ServerManager/Resources/reader.xml > > <SourceProxy ...> > <Hints> > <!-- View can be used to specify the preferred view for the proxy > --> > <View type="SpreadSheetView" /> > </Hints> > </SourceProxy> > > Utkarsh > > On Wed, Jun 9, 2010 at 9:29 AM, David E DeMarle > <[email protected]> wrote: > > This method: > > > > pqDisplayPolicy::getPreferredViewType(pqOutputPort* opPort, > > bool update_pipeline) > > > > governs what view type is initially created for any given > source/reader/filter. > > > > For instance, if your plugin produces vtkTables when you read data > > values in, then the spreadsheet view should be created. > > > > David E DeMarle > > Kitware, Inc. > > R&D Engineer > > 28 Corporate Drive > > Clifton Park, NY 12065-8662 > > Phone: 518-371-3971 x109 > > > > > > > > On Wed, Jun 9, 2010 at 8:44 AM, Didier Roissé <[email protected]> > wrote: > >> Hello, > >> I am writing an Amelet-HDF format plugin reader in paraview (you can see > the > >> code in the following link http://code.google.com/p/amelet-hdf/). > >> The plugin reads three kinds of data: > >> * mesh > >> * data on mesh > >> * data > >> > >> When the plugin reads mesh and data on mesh, the results is displayed in > the > >> 3D view (it is ok). But when the plugin read data values, I would like > that > >> paraview show me the spreadsheet view. How can I do that in my plugin ? > >> > >> Best regards, > >> Didier Roissé > >> > >> > >> _______________________________________________ > >> 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
