Hi,
I see in the example code for
ParaView/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor/PhastaAdaptor.cxx
calls like:
vtkCPInputDataDescription* idd =
ParaViewCoProcessing::GetCoProcessorData()->GetInputDescriptionByName("input");
...
if(idd->IsFieldNeeded("velocity"))
{
Hi Tim,
This should get set in the RequestDataDescription method in the generated
Python script. When I first did it I thought we'd easily be able to figure
out which fields were needed in order to update all of the required
pipelines and/or views. Unfortunately this isn't trivial in VTK so
basica
t. I can certainly send my adaptor code and python script if it
helps clarify.
Thanks again,
Tim
- Original Message -
From: "Andy Bauer"
To: "tim gallagher"
Cc: "ParaView list"
Sent: Thursday, November 8, 2012 6:20:01 PM
Subject: Re: [Paraview] CoPro
e Fortran API, I call the ClearFieldDataFromGrid which may get
> rid of the fields that Paraview told it the pipeline needs.
>
> I could be misunderstanding something, I've never used VTK before this
> little project attempt. I can certainly send my adaptor code and python
> s
thing horribly wrong... But it works when I modified the
script as you see in cpScript.py.
Thanks,
Tim
- Original Message -
From: "Andy Bauer"
To: "tim gallagher"
Cc: "ParaView list"
Sent: Thursday, November 8, 2012 7:47:50 PM
Subject: Re: [Paraview]
quot;Andy Bauer"
To: "tim gallagher"
Cc: "ParaView list"
Sent: Friday, November 9, 2012 4:21:48 PM
Subject: Re: [Paraview] CoProcessing needed fields
I can't tell for sure but what are you using as inputName in
ParaViewCoProcessor.cxx? It should be 'i
ace
> file?
>
> Tim
>
> --
> *From: *"Andy Bauer"
> *To: *"tim gallagher"
> *Cc: *"ParaView list"
> *Sent: *Friday, November 9, 2012 4:21:48 PM
>
> *Subject: *Re: [Paraview] CoProcessing needed fields
>
>