MEPP2 Project
Namespaces | Macros | Functions
VtkFileReader.h File Reference
#include <iostream>
#include <exception>
#include "FEVV/Tools/IO/FileUtilities.hpp"
#include "FEVV/Tools/IO/StringUtilities.hpp"
#include <vtkVersion.h>
#include <vtkSmartPointer.h>
#include <vtkPointData.h>
#include <vtkCellData.h>
#include <vtkCellArray.h>
#include <vtkPolyData.h>
#include <vtkUnstructuredGrid.h>
#include <vtkPolyDataReader.h>
#include <vtkXMLPolyDataReader.h>
#include <vtkUnstructuredGridReader.h>
#include <vtkXMLUnstructuredGridReader.h>
#include <vtkDataSetSurfaceFilter.h>
Include dependency graph for VtkFileReader.h:

Go to the source code of this file.

Namespaces

 FEVV
 Interfaces for plugins These interfaces will be used for different plugins.
 
 FEVV::IO
 

Macros

#define IO_TOOLS_EXPORT
 

Functions

std::string FEVV::IO::get_line_containing_dataset (std::string file_path)
 
template<typename CoordType , typename CoordNType , typename CoordCType , typename IndexType >
void FEVV::IO::read_vtk_poly_data (const vtkSmartPointer< vtkPolyData > &poly_data, std::vector< std::vector< CoordType > > &points_coords, std::vector< std::vector< CoordNType > > &normals_coords, std::vector< std::vector< CoordCType > > &vertex_color_coords, std::vector< std::vector< IndexType > > &line_indices, std::vector< std::vector< CoordCType > > &lines_color_coords, std::vector< std::vector< IndexType > > &face_indices, std::vector< std::vector< CoordCType > > &face_color_coords, std::vector< std::vector< std::vector< double > > > &field_attributes, std::vector< std::string > &field_names)
 
template<typename CoordType , typename CoordNType , typename CoordCType , typename IndexType >
void FEVV::IO::read_vtk_unstructured_grid (const vtkSmartPointer< vtkUnstructuredGrid > &unstructured_grid, std::vector< std::vector< CoordType > > &points_coords, std::vector< std::vector< CoordNType > > &normals_coords, std::vector< std::vector< CoordCType > > &vertex_color_coords, std::vector< std::vector< IndexType > > &line_indices, std::vector< std::vector< CoordCType > > &lines_color_coords, std::vector< std::vector< IndexType > > &face_indices, std::vector< std::vector< CoordCType > > &face_color_coords, std::vector< std::vector< std::vector< double > > > &field_attributes, std::vector< std::string > &field_names)
 
template<typename CoordType , typename CoordNType , typename CoordCType , typename IndexType >
void FEVV::IO::read_vtk_or_vtp_or_vtu_file (std::string file_path, std::vector< std::vector< CoordType > > &points_coords, std::vector< std::vector< CoordNType > > &normals_coords, std::vector< std::vector< CoordCType > > &vertex_color_coords, std::vector< std::vector< IndexType > > &line_indices, std::vector< std::vector< CoordCType > > &lines_color_coords, std::vector< std::vector< IndexType > > &face_indices, std::vector< std::vector< CoordCType > > &face_color_coords, std::vector< std::vector< std::vector< double > > > &field_attributes, std::vector< std::string > &field_names, bool if_unstructured_grid_then_take_surface=false)
 

Macro Definition Documentation

◆ IO_TOOLS_EXPORT

#define IO_TOOLS_EXPORT

Definition at line 48 of file VtkFileReader.h.