X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlugins%2FMEDReader%2FIO%2FvtkMEDReader.h;h=0fe34add71c1b6829b64259eae0648b8de24e795;hb=4ab5dda497ba014354de12bc85562e314c73c62c;hp=a89728017380cdfc13ea68cccc590fc0d59ab2cb;hpb=ee690f177c97c5f6093551b09c3cb8ac4a3020d1;p=modules%2Fparavis.git diff --git a/src/Plugins/MEDReader/IO/vtkMEDReader.h b/src/Plugins/MEDReader/IO/vtkMEDReader.h index a8972801..0fe34add 100644 --- a/src/Plugins/MEDReader/IO/vtkMEDReader.h +++ b/src/Plugins/MEDReader/IO/vtkMEDReader.h @@ -1,4 +1,4 @@ -// Copyright (C) 2010-2014 CEA/DEN, EDF R&D +// Copyright (C) 2010-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,9 +21,16 @@ #ifndef __vtkMEDReader_h_ #define __vtkMEDReader_h_ +#include + #include "vtkMultiBlockDataSetAlgorithm.h" +#include "vtkInformationGaussDoubleVectorKey.h" +class vtkDataSet; class vtkMutableDirectedGraph; +class vtkInformationDataObjectMetaDataKey; +class vtkInformationDoubleVectorKey; +class ExportedTinyInfo; class VTK_EXPORT vtkMEDReader : public vtkMultiBlockDataSetAlgorithm { @@ -50,22 +57,37 @@ class VTK_EXPORT vtkMEDReader : public vtkMultiBlockDataSetAlgorithm virtual const char *GetTimesFlagsArrayName(int index); //! Build the graph used to pass information to the client on the supports virtual std::string BuildSIL(vtkMutableDirectedGraph*); - virtual void Reload(int); + + // Description + // Reload will delete the internal reader and recreate it with default properties + virtual void Reload(); + + virtual int GetServerModifTime(); + // virtual void GenerateVectors(int); virtual void ChangeMode(int); - virtual const char *GetSeparator(); + virtual void GhostCellGeneratorCallForPara(int); + static const char *GetSeparator(); + + // Description + // Static information key used to transfer the meta data graph along the pipeline + static vtkInformationDataObjectMetaDataKey* META_DATA(); + static vtkInformationGaussDoubleVectorKey* GAUSS_DATA(); + protected: vtkMEDReader(); virtual ~vtkMEDReader(); virtual int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*); virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*); private: - void UpdateSIL(vtkInformation *info); + void UpdateSIL(vtkInformation *request, vtkInformation *info); virtual double PublishTimeStepsIfNeeded(vtkInformation*, bool& isUpdated); - virtual void FillMultiBlockDataSetInstance(vtkMultiBlockDataSet *output, double reqTS); + virtual void FillMultiBlockDataSetInstance(vtkMultiBlockDataSet *output, double reqTS, ExportedTinyInfo *internalInfo=0); + vtkDataSet *RetrieveDataSetAtTime(double reqTS, ExportedTinyInfo *internalInfo); private: //BTX //ETX + class vtkMEDReaderInternal; vtkMEDReaderInternal* Internal; };