Skip to content

File vtk.h

File List > io > vtk.h

Go to the documentation of this file

// Copyright (c) 2024-2024, Oslandia.
// SPDX-License-Identifier: LGPL-2.0-or-later
#ifndef _SFCGAL_IO_VTK_H_
#define _SFCGAL_IO_VTK_H_

#include <SFCGAL/Geometry.h>
#include <ostream>
#include <string>

namespace SFCGAL {
namespace io {
namespace VTK {

SFCGAL_API void
save(const Geometry &geom, std::ostream &out);

SFCGAL_API void
save(const Geometry &geom, const std::string &filename);

SFCGAL_API std::string
           saveToString(const Geometry &geom);

SFCGAL_API void
saveToBuffer(const Geometry &geom, char *buffer, size_t *size);

} // namespace VTK
} // namespace io
} // namespace SFCGAL

#endif // _SFCGAL_IO_VTK_H_