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 
29 #ifndef vtkXdmf3Writer_h
30 #define vtkXdmf3Writer_h
31 
32 #include "vtkIOXdmf3Module.h" // For export macro
33 
34 #include "vtkDataObjectAlgorithm.h"
35 
36 class VTKIOXDMF3_EXPORT vtkXdmf3Writer : public vtkDataObjectAlgorithm
37 {
38 public:
39  static vtkXdmf3Writer *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
46  virtual void SetInputData(vtkDataObject* dobj);
47 
49 
52  vtkSetStringMacro(FileName);
53  vtkGetStringMacro(FileName);
55 
61  virtual int Write();
62 
64 
68  vtkSetMacro(LightDataLimit, unsigned int);
69  vtkGetMacro(LightDataLimit, unsigned int);
71 
73 
78  vtkSetMacro(WriteAllTimeSteps, bool);
79  vtkGetMacro(WriteAllTimeSteps, bool);
80  vtkBooleanMacro(WriteAllTimeSteps, bool);
82 
83 protected:
85  ~vtkXdmf3Writer();
86 
87  //Overridden to set up automatic loop over time steps.
91  //Overridden to continue automatic loop over time steps.
95  //Write out the input data objects as XDMF and HDF output files.
96  virtual int RequestData(vtkInformation*,
99 
100  char *FileName;
101  unsigned int LightDataLimit;
103 
104 private:
105  vtkXdmf3Writer(const vtkXdmf3Writer&) VTK_DELETE_FUNCTION;
106  void operator=(const vtkXdmf3Writer&) VTK_DELETE_FUNCTION;
107 
108  class Internals;
109  Internals *Internal;
110 };
111 
112 #endif /* vtkXdmf3Writer_h */
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
unsigned int LightDataLimit
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data
Definition: vtkDataObject.h:64
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.