[Paraview] time aware custom reader

David E DeMarle dave.demarle at kitware.com
Tue Aug 5 10:21:11 EDT 2008


Add this to the XML for the reader (taken from vtkTimeSourceExample),
ParaView needs the helper to recognize what the time steps are to
populate the GUI with.

      <DoubleVectorProperty
          name="TimeStepValues"
          repeatable="1"
          information_only="1">
        <TimeStepsInformationHelper/>
      </DoubleVectorProperty>

cheers,
Dave DeMarle

On Mon, Aug 4, 2008 at 5:18 PM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
> In my RequestInformation() I do:
>
>
>
> outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_STEPS(),
> &TimeStepValues.front(), (vtkTypeUInt32)numTimesteps);
>
> outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2);
>
>
>
> TimeStepValues and timeRange are sure valid, I display them for a check in
> RequestData.
>
> However, Paraview does not see this info upon file load, the Information tab
> does not list any time steps. What am I doing wrong?
>
> Dominik
>
> --
> Dominik Szczerba, Ph.D.
> Foundation for Research
> on Information Technologies in Society
> http://www.itis.ethz.ch
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list