It write a VTK format file in case for a graph
Type | of graph |
Definition at line 919 of file VTKWriter_graph.hpp.
#include <VTKWriter_graph.hpp>
Public Member Functions | |
VTKWriter (const 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_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 | |
const Graph & | g |
graph we are writing | |
|
inline |
VTKWriter constructor, it take a graph and write a GraphML format
g | Graph to write |
Definition at line 1114 of file VTKWriter_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1066 of file VTKWriter_graph.hpp.
|
inlineprivate |
Return the edge list.
edge node output string
Get an edge iterator
Definition at line 1081 of file VTKWriter_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 972 of file VTKWriter_graph.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 1051 of file VTKWriter_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 991 of file VTKWriter_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 952 of file VTKWriter_graph.hpp.
|
inlineprivate |
Create the VTK vertex definition.
vertex node output string
For each point create a vertex
Definition at line 1030 of file VTKWriter_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 932 of file VTKWriter_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 1130 of file VTKWriter_graph.hpp.
|
private |
graph we are writing
Definition at line 922 of file VTKWriter_graph.hpp.