#include <VTKWriter_dist_graph.hpp>
Public Member Functions | |
VTKWriter (Graph &g) | |
template<int prp = -1> | |
bool | write (std::string file, std::string graph_name="Graph", file_type ft=file_type::ASCII) |
It write a VTK file from a graph. More... | |
Private Member Functions | |
std::string | get_vertex_properties_list () |
It get the vertex properties list. More... | |
std::string | get_point_properties_list () |
It get the vertex properties list. More... | |
std::string | get_point_info () |
std::string | get_edge_properties_list () |
It get the edge properties list. More... | |
template<bool attr> | |
std::string | get_point_list () |
Create the VTK point definition. More... | |
std::string | get_vertex_list () |
Create the VTK vertex definition. More... | |
std::string | get_point_data_header () |
Get the point data header. More... | |
std::string | get_cell_data_header () |
Get the point data header. More... | |
std::string | get_edge_list () |
Return the edge list. More... | |
Private Attributes | |
Graph & | g |
It write a VTK format file in case for a graph
Type | of graph |
Definition at line 883 of file VTKWriter_dist_graph.hpp.
VTKWriter constructor, it take a graph and write a GraphML format
g | Graph to write |
Definition at line 1101 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1056 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Return the edge list.
edge node output string
Get an edge iterator
Definition at line 1071 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
It get the edge properties list.
It get the edge properties list of the edge defined as a GraphML header
vertex property output string
Definition at line 960 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1041 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
vertex property output string
Definition at line 927 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Create the VTK point definition.
s_type | spatial type of the data |
attr | false x,y,z are set to 0 for each vertex |
VTK spatial information
vertex node output string
Get a vertex iterator
Definition at line 979 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
It get the vertex properties list.
It get the vertex properties list of the vertex defined as a VTK header
vertex property output string
Definition at line 915 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Create the VTK vertex definition.
s_type | spatial type of the data |
attr | false x,y,z are set to 0 for each vertex |
vertex node output string
For each point create a vertex
Definition at line 1020 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
It get the vertex properties list.
It get the vertex properties list of the vertex defined as VTK header
vertex property output string
Definition at line 895 of file VTKWriter_dist_graph.hpp.
|
inline |
It write a VTK file from a graph.
prp_out | which properties to output [default = -1 (all)] |
file | path where to write |
name | of the graph |
file_type | specify if it is a VTK BINARY or ASCII file [default = ASCII] |
Definition at line 1116 of file VTKWriter_dist_graph.hpp.