|
ViennaGrid - The Vienna Grid Library
2.1.0
|
Provides a writer to VTK files. More...
#include <fstream>#include <sstream>#include <iostream>#include "viennagrid/forwards.hpp"#include "viennagrid/mesh/segmentation.hpp"#include "viennagrid/mesh/mesh.hpp"#include "viennagrid/io/helper.hpp"#include "viennagrid/io/vtk_common.hpp"Go to the source code of this file.
Data Structures | |
| struct | ValueTypeInformation< double > |
| struct | ValueTypeInformation< std::vector< double > > |
| class | vtk_writer< MeshType, SegmentationType > |
| Main VTK writer class. Writes a mesh or a segment to a file. More... | |
Namespaces | |
| namespace | viennagrid |
The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces. | |
| namespace | viennagrid::io |
A namespace with all the input/output functionality, in particular file readers and writers. | |
Functions | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_scalar_data_on_cells (vtk_writer< MeshT, SegmentationT > &writer, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers scalar-valued data on cells at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_scalar_data_on_cells (vtk_writer< MeshT, SegmentationT > &writer, segment_handle< SegmentationT > const &segment, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers scalar-valued data on cells for a given segment at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_scalar_data_on_vertices (vtk_writer< MeshT, SegmentationT > &writer, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers scalar-valued data on vertices at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_scalar_data_on_vertices (vtk_writer< MeshT, SegmentationT > &writer, segment_handle< SegmentationT > const &segment, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers scalar-valued data on vertices for a given segment at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_vector_data_on_cells (vtk_writer< MeshT, SegmentationT > &writer, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers vector-valued data on cells at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_vector_data_on_cells (vtk_writer< MeshT, SegmentationT > &writer, segment_handle< SegmentationT > const &segment, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers vector-valued data on cells for a given segment at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_vector_data_on_vertices (vtk_writer< MeshT, SegmentationT > &writer, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers vector-valued data on vertices at the VTK writer. At most one data set is allowed. | |
| template<typename MeshT , typename SegmentationT , typename AccessorOrFieldT > | |
| vtk_writer< MeshT, SegmentationT > & | add_vector_data_on_vertices (vtk_writer< MeshT, SegmentationT > &writer, segment_handle< SegmentationT > const &segment, AccessorOrFieldT const accessor_or_field, std::string const &quantity_name) |
| Registers vector-valued data on vertices for a given segment at the VTK writer. At most one data set is allowed. | |
| template<typename MeshType , typename SegmentationType > | |
| int | export_vtk (MeshType const &mesh_obj, SegmentationType const &segmentation, std::string const &filename) |
| Convenience function that exports a mesh to file directly. Does not export quantities. | |
| template<typename MeshType > | |
| int | export_vtk (MeshType const &mesh_obj, std::string const &filename) |
| Convenience function that exports a mesh to file directly. Does not export quantities. | |
Provides a writer to VTK files.
1.7.6.1