Tatooine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt > Struct Template Reference

#include <vtp_writer.h>

Collaboration diagram for tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >:
[legend]

Public Types

using vertex_property_type = typename Line::vertex_property_type
 
template<typename T >
using typed_vertex_property_type = typename Line::template typed_vertex_property_type< T >
 

Public Member Functions

auto write (filesystem::path const &path) const
 

Static Public Member Functions

static auto constexpr num_dimensions ()
 

Public Attributes

Line const & m_line
 

Private Member Functions

auto write_vtk_file (std::ofstream &file, std::size_t &offset) const
 
auto write_polydata (std::ofstream &file, std::size_t &offset) const
 
auto write_piece (std::ofstream &file, std::size_t &offset) const
 
auto write_points (std::ofstream &file, std::size_t &offset) const
 
auto write_lines (std::ofstream &file, std::size_t &offset) const
 
auto write_lines_connectivity (std::ofstream &file, std::size_t &offset) const
 
auto write_lines_offsets (std::ofstream &file, std::size_t &offset) const
 
auto write_point_data (std::ofstream &file, std::size_t &offset) const
 
auto write_appended_data (std::ofstream &file) const
 
auto write_vertex_positions_to_appended_data (std::ofstream &file) const
 
auto write_line_connectivity_to_appended_data (std::ofstream &file) const
 
auto write_line_offsets_to_appended_data (std::ofstream &file) const
 
template<typename... Ts>
auto write_vertex_property_data_array (auto const &name, vertex_property_type const &prop, std::ofstream &file, std::size_t &offset) const
 
template<typename... Ts>
auto write_vertex_property_appended_data (vertex_property_type const &prop, std::ofstream &file) const
 
template<typename T >
auto write_vertex_property_appended_data (typed_vertex_property_type< T > const &prop, std::ofstream &file) const
 

Member Typedef Documentation

◆ typed_vertex_property_type

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
template<typename T >
using tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::typed_vertex_property_type = typename Line::template typed_vertex_property_type<T>

◆ vertex_property_type

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
using tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::vertex_property_type = typename Line::vertex_property_type

Member Function Documentation

◆ num_dimensions()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
static auto constexpr tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::num_dimensions ( )
inlinestaticconstexpr

◆ write()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write ( filesystem::path const &  path) const
inline

◆ write_appended_data()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_line_connectivity_to_appended_data()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_line_connectivity_to_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_line_offsets_to_appended_data()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_line_offsets_to_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_lines()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_lines ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_lines_connectivity()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_lines_connectivity ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_lines_offsets()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_lines_offsets ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_piece()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_piece ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_point_data()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_point_data ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_points()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_points ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_polydata()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_polydata ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_vertex_positions_to_appended_data()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_vertex_positions_to_appended_data ( std::ofstream &  file) const
inlineprivate

◆ write_vertex_property_appended_data() [1/2]

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
template<typename T >
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_vertex_property_appended_data ( typed_vertex_property_type< T > const &  prop,
std::ofstream &  file 
) const
inlineprivate

◆ write_vertex_property_appended_data() [2/2]

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
template<typename... Ts>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_vertex_property_appended_data ( vertex_property_type const &  prop,
std::ofstream &  file 
) const
inlineprivate

◆ write_vertex_property_data_array()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
template<typename... Ts>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_vertex_property_data_array ( auto const &  name,
vertex_property_type const &  prop,
std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

◆ write_vtk_file()

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
auto tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::write_vtk_file ( std::ofstream &  file,
std::size_t &  offset 
) const
inlineprivate

Member Data Documentation

◆ m_line

template<typename Line , unsigned_integral HeaderType, integral ConnectivityInt, integral OffsetInt>
Line const& tatooine::detail::line::vtp_writer< Line, HeaderType, ConnectivityInt, OffsetInt >::m_line

The documentation for this struct was generated from the following file: