VTK
vtkXdmf3Writer.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXdmf3Writer.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
15 
28 #ifndef _vtkXdmf3Writer_h
29 #define _vtkXdmf3Writer_h
30 
31 #include "vtkIOXdmf3Module.h" // For export macro
32 
33 #include "vtkDataObjectAlgorithm.h"
34 
35 class VTKIOXDMF3_EXPORT vtkXdmf3Writer : public vtkDataObjectAlgorithm
36 {
37 public:
38  static vtkXdmf3Writer *New();
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43  virtual void SetInputData(vtkDataObject* dobj);
44 
46 
47  vtkSetStringMacro(FileName);
48  vtkGetStringMacro(FileName);
50 
54  virtual int Write();
55 
57 
59  vtkSetMacro(LightDataLimit, unsigned int);
60  vtkGetMacro(LightDataLimit, unsigned int);
62 
64 
66  vtkSetMacro(WriteAllTimeSteps, bool);
67  vtkGetMacro(WriteAllTimeSteps, bool);
68  vtkBooleanMacro(WriteAllTimeSteps, bool);
70 
71 protected:
73  ~vtkXdmf3Writer();
74 
75  //Overridden to set up automatic loop over time steps.
79  //Overridden to continue automatic loop over time steps.
83  //Write out the input data objects as XDMF and HDF output files.
84  virtual int RequestData(vtkInformation*,
87 
88  char *FileName;
89  unsigned int LightDataLimit;
91 
92 private:
93  vtkXdmf3Writer(const vtkXdmf3Writer&); // Not implemented
94  void operator=(const vtkXdmf3Writer&); // Not implemented
95 
96  class Internals;
97  Internals *Internal;
98 };
99 
100 #endif /* _vtkXdmf3Writer_h */
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetInputData(vtkDataObject *)
unsigned int LightDataLimit
write eXtensible Data Model and Format files
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
general representation of visualization data
Definition: vtkDataObject.h:64