vtkPVTemporalDataInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTemporalDataInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkPVTemporalDataInformation_h
26 #define vtkPVTemporalDataInformation_h
27 
28 #include "vtkPVInformation.h"
29 #include "vtkRemotingCoreModule.h" //needed for exports
30 
33 
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
50  vtkSetMacro(PortNumber, int);
52 
57  void CopyFromObject(vtkObject* object) override;
58 
62  void AddInformation(vtkPVInformation* info) override;
63 
65 
68  void CopyToStream(vtkClientServerStream*) override;
69  void CopyFromStream(const vtkClientServerStream*) override;
71 
73 
82 
86  void Initialize();
87 
89 
92  vtkGetMacro(NumberOfTimeSteps, int);
94 
96 
99  vtkGetVector2Macro(TimeRange, double);
101 
103 
106  vtkGetObjectMacro(PointDataInformation, vtkPVDataSetAttributesInformation);
107  vtkGetObjectMacro(CellDataInformation, vtkPVDataSetAttributesInformation);
108  vtkGetObjectMacro(VertexDataInformation, vtkPVDataSetAttributesInformation);
109  vtkGetObjectMacro(EdgeDataInformation, vtkPVDataSetAttributesInformation);
110  vtkGetObjectMacro(RowDataInformation, vtkPVDataSetAttributesInformation);
112 
118  vtkPVDataSetAttributesInformation* GetAttributeInformation(int attr);
119 
121 
124  vtkGetObjectMacro(FieldDataInformation, vtkPVDataSetAttributesInformation);
126 
136  vtkPVArrayInformation* GetArrayInformation(const char* arrayname, int fieldAssociation);
137 
138 protected:
140  ~vtkPVTemporalDataInformation() override;
141 
148 
149  double TimeRange[2];
152 
153 private:
155  void operator=(const vtkPVTemporalDataInformation&) = delete;
156 };
157 
158 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
vtkPVDataSetAttributesInformation * PointDataInformation
vtkPVDataSetAttributesInformation * CellDataInformation
virtual void CopyParametersToStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVDataSetAttributesInformation * VertexDataInformation
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
Data array information like type.
virtual void CopyParametersFromStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
static vtkObject * New()
vtkPVTemporalDataInformation is used to gather data information over time.
vtkPVDataSetAttributesInformation * RowDataInformation
Superclass for information objects.
vtkPVDataSetAttributesInformation * FieldDataInformation
vtkPVDataSetAttributesInformation * EdgeDataInformation