#include <VTKWriter_vector_box.hpp>
Public Member Functions | |
VTKWriter () | |
void | add (const vector &vc) |
Add box vector dataset. More... | |
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_point_properties_list () |
It get the vertex properties list. More... | |
std::string | get_cell_properties_list () |
It get the edge properties list. More... | |
std::string | get_point_list () |
Create the VTK point definition. More... | |
std::string | get_cell_list () |
Create the VTK vertex definition. More... | |
std::string | get_point_data_header () |
Get the point data header. More... | |
std::string | get_cell_types_header () |
std::string | get_cell_types_list () |
std::string | get_cell_data_header () |
std::string | get_cell_data_list () |
Private Attributes | |
openfpm::vector< v_box< vector > > | v |
From a basic structure it write a VTK format file in case of a vector of Boxes
vector | type |
Definition at line 38 of file VTKWriter_vector_box.hpp.
VTKWriter constructor
Definition at line 343 of file VTKWriter_vector_box.hpp.
|
inline |
Add box vector dataset.
v | vector to add |
Definition at line 351 of file VTKWriter_vector_box.hpp.
|
inlineprivate |
vertex property output string
number of cells and box
Definition at line 283 of file VTKWriter_vector_box.hpp.
|
inlineprivate |
vertex node output string
for each vector in the dataset
Definition at line 305 of file VTKWriter_vector_box.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 vector in the dataset
Definition at line 170 of file VTKWriter_vector_box.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
number of cells and box
Definition at line 79 of file VTKWriter_vector_box.hpp.
|
inlineprivate |
vertex property output string
number of cells and box
Definition at line 230 of file VTKWriter_vector_box.hpp.
|
inlineprivate |
vertex node output string
for each vector in the dataset
Definition at line 251 of file VTKWriter_vector_box.hpp.
|
inlineprivate |
Get the point data header.
Definition at line 211 of file VTKWriter_vector_box.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 |
vertex node output string
for each vertex dataset
Definition at line 110 of file VTKWriter_vector_box.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 50 of file VTKWriter_vector_box.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 368 of file VTKWriter_vector_box.hpp.