VTK  9.2.6
vtkDataSetWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkDataSetWriter.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=========================================================================*/
46#ifndef vtkDataSetWriter_h
47#define vtkDataSetWriter_h
48
49#include "vtkDataWriter.h"
50#include "vtkIOLegacyModule.h" // For export macro
51
52class VTKIOLEGACY_EXPORT vtkDataSetWriter : public vtkDataWriter
53{
54public:
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
66
67protected:
68 vtkDataSetWriter() = default;
69 ~vtkDataSetWriter() override = default;
70
71 void WriteData() override;
72
74
75private:
76 vtkDataSetWriter(const vtkDataSetWriter&) = delete;
77 void operator=(const vtkDataSetWriter&) = delete;
78};
79
80#endif
write any type of vtk dataset to file
vtkDataSetWriter()=default
void WriteData() override
vtkDataSet * GetInput()
Get the input to this writer.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkDataSetWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataSet * GetInput(int port)
Get the input to this writer.
~vtkDataSetWriter() override=default
abstract class to specify dataset behavior
Definition: vtkDataSet.h:172
helper class for objects that write VTK data files
Definition: vtkDataWriter.h:48
a simple class to control print indentation
Definition: vtkIndent.h:119
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453