Does this make sense or is there a better way to achieve what I am trying to do?
Thanks, Brian Panneton On Mon, Oct 3, 2011 at 9:42 AM, Panneton, Brian C USA CTR (US) < brian.c.panneton....@mail.mil> wrote: > >> 2) Have 1 output with a vtktable as part of the multiblockdataset. Add > >> another representation to view just the vtktable. This way I can > plot/graph > >> the vtktable and add in other data if necessary. The issue I am having > with > >> this option is setting up the Extension and RepresentationType in the > xml. > >> Would I need to create a custom view? > > >I don't think I understand what you're trying to do here. Can you > elaborate? > > This should give a better idea: > I would end up having two representations for the plugin: 1) inherits from > vtkGeometryRepresentation and 2) inherits from vtkXYChartRepresentation. My > reader's output would be in the form of a vtkMultiBlockDataSet which would > hold information for both representations (polydatas for representation 1 > and vtktables for representation 2) The same vtkMultiBlockDataSet would be > passed to each representation where the representation would control what > would be sent to the view. For 1, the tables would be ignored and for 2, the > polydatas would be ignored. > > The problem I have run into: > I'm not sure how I can set up the XML so that I can select the > Representation in the GUI. (Or if I should even be trying to do this) > > [code] > <ProxyGroup name="representations"> > <!-- 3d representation --> > <RepresentationProxy name="MyFirstRepresentation" > class="vtkMyFirstRepresentation" > processes="client|renderserver|dataserver" > base_proxygroup="representations" > base_proxyname="SurfaceRepresentation"> > </RepresentationProxy> > <Extension name="GeometryRepresentation"> > <RepresentationType subproxy="MyFirstRepresentation" > text="My Rep" subtype="Surface" /> > <SubProxy> > <Proxy name="MyFirstRepresentation" > proxygroup="representations" > proxyname="MyFirstRepresentation"> > </Proxy> > <ShareProperties subproxy="SurfaceRepresentation"> > <Exception name="Input" /> > <Exception name="Visibility" /> > <Exception name="Representation" /> > </ShareProperties> > <ExposedProperties> > </ExposedProperties> > </SubProxy> > </Extension> > > <!-- Statistical Representation --> > <RepresentationProxy name="MyStatisticRepresentation" > class="vtkMyStatisticRepresentation" > processes="client|renderserver|dataserver" > base_proxygroup="representations" > base_proxyname="XYChartRepresentation"> > </RepresentationProxy> > > <Extension name="????"> > <RepresentationType subproxy="MyStatisticRepresentation" > text="My Stat Rep" subtype="?????" /> > ... > </Extension> > </ProxyGroup> > [/code] > > If there are any other ways to do this, I would be interested in looking > into them. > > Thanks, > Brian Panneton > ________________________________________ > From: paraview-boun...@paraview.org [paraview-boun...@paraview.org] on > behalf of Utkarsh Ayachit [utkarsh.ayac...@kitware.com] > Sent: Friday, September 30, 2011 7:27 PM > To: Brian Panneton > Cc: ParaView > Subject: Re: [Paraview] Chart View Question > > Brian, > > > 1) Have multiple outputs for the reader (0 -> multiblockdataset, 1 -> > > vtktable). My problem with this is that I would have to open the vtktable > > with the spreadsheet before I can plot/graph it. I would prefer that it > just > > opened the plot. > > Although ParaView does support defining default view type in XML, > currently it's only support for filters with 1 output port. Feel free > to add a feature request to the bug tracker and we can try to address > it soon. > > > 2) Have 1 output with a vtktable as part of the multiblockdataset. Add > > another representation to view just the vtktable. This way I can > plot/graph > > the vtktable and add in other data if necessary. The issue I am having > with > > this option is setting up the Extension and RepresentationType in the > xml. > > Would I need to create a custom view? > > I don't think I understand what you're trying to do here. Can you > elaborate? > > Utkarsh > _______________________________________________ > 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