Macros | Functions
vnl_xio_quaternion.hxx File Reference
#include "vnl_xio_quaternion.h"
#include <vnl/vnl_quaternion.h>
#include <vsl/vsl_basic_xml_element.h>

Go to the source code of this file.

Macros

#define VNL_XIO_QUATERNION_INSTANTIATE(T)
 

Functions

template<class T >
void x_write (std::ostream &os, vnl_quaternion< T > const &q, std::string name)
 XML save vnl_quaternion to stream. More...
 
template<class T >
void x_write_tree (std::ostream &os, vnl_quaternion< T > const &q, std::string name)
 XML save vnl_quaternion as a 2-level tree to stream. More...
 

Macro Definition Documentation

◆ VNL_XIO_QUATERNION_INSTANTIATE

#define VNL_XIO_QUATERNION_INSTANTIATE (   T)
Value:
template VNL_EXPORT void x_write(std::ostream &, vnl_quaternion<T > const&, std::string); \
template VNL_EXPORT void x_write_tree(std::ostream &, vnl_quaternion<T > const&, std::string)
4-element vector that represents rotation in 3D.
Definition: vnl_fwd.h:29
void VNL_EXPORT x_write_tree(std::ostream &os, vnl_matrix< T > const &v, std::string name="vnl_matrix")
XML save vnl_matrix as a 3-level tree to stream.
void VNL_EXPORT x_write(std::ostream &os, vnl_matrix< T > const &v, std::string name="vnl_matrix")
XML save vnl_matrix to stream.

Definition at line 34 of file vnl_xio_quaternion.hxx.

Function Documentation

◆ x_write()

template<class T >
void x_write ( std::ostream &  os,
vnl_quaternion< T > const &  q,
std::string  name 
)

XML save vnl_quaternion to stream.

Definition at line 11 of file vnl_xio_quaternion.hxx.

◆ x_write_tree()

template<class T >
void x_write_tree ( std::ostream &  os,
vnl_quaternion< T > const &  q,
std::string  name 
)

XML save vnl_quaternion as a 2-level tree to stream.

Definition at line 23 of file vnl_xio_quaternion.hxx.