It write a VTK format file in case for a graph
Type | of graph |
Definition at line 909 of file VTKWriter_dist_graph.hpp.
#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. | |
Private Member Functions | |
std::string | get_vertex_properties_list () |
It get the vertex properties list. | |
std::string | get_point_properties_list () |
It get the vertex properties list. | |
std::string | get_point_info () |
Get the VTK point info string. | |
std::string | get_edge_properties_list () |
It get the edge properties list. | |
template<bool attr> | |
std::string | get_point_list () |
Create the VTK point definition. | |
std::string | get_vertex_list () |
Create the VTK vertex definition. | |
std::string | get_point_data_header () |
Get the point data header. | |
std::string | get_cell_data_header () |
Get the point data header. | |
std::string | get_edge_list () |
Return the edge list. | |
Private Attributes | |
Graph & | g |
Graph to output. | |
|
inline |
VTKWriter constructor, it take a graph and write a GraphML format
g | Graph to write |
Definition at line 1134 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1089 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Return the edge list.
edge node output string
Get an edge iterator
Definition at line 1104 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 992 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1074 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Get the VTK point info string.
vertex property output string
Definition at line 959 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Create the VTK point definition.
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 1012 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 942 of file VTKWriter_dist_graph.hpp.
|
inlineprivate |
Create the VTK vertex definition.
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 1053 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 922 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 |
graph_name | of the graph |
ft | specify if it is a VTK BINARY or ASCII file [default = ASCII] |
Definition at line 1150 of file VTKWriter_dist_graph.hpp.
|
private |
Graph to output.
Definition at line 912 of file VTKWriter_dist_graph.hpp.