dune-vtk 2.12
Loading...
Searching...
No Matches
vtkimagedatawriter.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file AUTHORS.md
2// SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception OR LGPL-3.0-or-later
3#pragma once
4
5#ifndef DUNE_VTK_DISABLE_DEPRECATION_WARNING
6#warning "File vtkimagedatawriter.hh and VtkImageDataWriter are deprecated. Use imagedatawriter.hh and Vtk::ImageDataWriter instead."
7#endif
8
10
11namespace Dune
12{
13 template <class GridView, class DataCollector = Vtk::StructuredDataCollector<GridView>>
14 class [[deprecated("Use Vtk::ImageDataWriter instead.")]] VtkImageDataWriter
15 : public Vtk::ImageDataWriter<GridView,DataCollector>
16 {
18 public:
19 using Base::Base;
20 };
21
22#pragma GCC diagnostic push
23#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
24 // deduction guides
25 template <class GridView, class... Args,
29
30 template <class DataCollector, class... Args,
32 VtkImageDataWriter(DataCollector&, Args...)
34
35 template <class DataCollector, class... Args,
39#pragma GCC diagnostic pop
40
41} // end namespace Dune
Implementation of DataCollector for cells, with continuous data.
Definition celltypedatacollector.hh:20
File-Writer for ImageData VTK .vti files.
Definition imagedatawriter.hh:26
Definition vtkimagedatawriter.hh:16