VTK  9.2.6
vtkNetCDFCFWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkNetCDFCFWriter.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
16#ifndef vtkNetCDFCFWriter_h
17#define vtkNetCDFCFWriter_h
18
19#include "vtkIONetCDFModule.h" // For export macro
20#include "vtkWriter.h"
21
22class vtkIdList;
23class vtkDataSet;
24class vtkImageData;
25
32class VTKIONETCDF_EXPORT vtkNetCDFCFWriter : public vtkWriter
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
46
48
54 vtkSetStringMacro(CellArrayNamePostfix);
55 vtkGetStringMacro(CellArrayNamePostfix);
57
59
65 vtkSetMacro(FillValue, int);
66 vtkGetMacro(FillValue, int);
68
70
75 vtkSetMacro(AttributeType, int);
76 vtkGetMacro(AttributeType, int);
78
80
84 vtkSetMacro(FillBlankedAttributes, bool);
85 vtkGetMacro(FillBlankedAttributes, bool);
86 vtkBooleanMacro(FillBlankedAttributes, bool);
88
90
108 void AddGridMappingAttribute(const char* name, const char* value);
109 void AddGridMappingAttribute(const char* name, double value);
112
113protected:
116 void WriteData() override;
117 int FillInputPortInformation(int port, vtkInformation* info) override;
118
119 char* FileName;
124 class Implementation;
125 Implementation* Impl;
126
127private:
128 vtkNetCDFCFWriter(const vtkNetCDFCFWriter&) = delete;
129 void operator=(const vtkNetCDFCFWriter&) = delete;
130};
131
132#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:57
list of point or cell ids
Definition vtkIdList.h:31
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:34
Store vtkAlgorithm input/output information.
static vtkNetCDFCFWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetFilePathMacro(FileName)
Get/Set the file name of the file.
Implementation * Impl
void AddGridMappingAttribute(const char *name, const char *value)
Add/clear attributes that define the grid mapping (or the coordinate reference system (CRS))
vtkGetFilePathMacro(FileName)
Get/Set the file name of the file.
void AddGridMappingAttribute(const char *name, double value)
Add/clear attributes that define the grid mapping (or the coordinate reference system (CRS))
~vtkNetCDFCFWriter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void ClearGridMappingAttributes()
Add/clear attributes that define the grid mapping (or the coordinate reference system (CRS))
void WriteData() override