Macros | Functions
vpgl_io_camera.hxx File Reference
#include <string>
#include <iostream>
#include "vpgl_io_camera.h"
#include <vpgl/vpgl_proj_camera.h>
#include <vpgl/vpgl_perspective_camera.h>
#include <vpgl/vpgl_affine_camera.h>
#include <vpgl/vpgl_rational_camera.h>
#include <vpgl/vpgl_local_rational_camera.h>
#include <vpgl/io/vpgl_io_proj_camera.h>
#include <vpgl/io/vpgl_io_perspective_camera.h>
#include <vpgl/io/vpgl_io_affine_camera.h>
#include <vpgl/io/vpgl_io_rational_camera.h>
#include <vpgl/io/vpgl_io_local_rational_camera.h>
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.

Macros

#define VPGL_IO_CAMERA_INSTANTIATE(T)
 

Functions

template<class T >
void vsl_b_write (vsl_b_ostream &os, vpgl_camera< T > *const &camera)
 Binary save camera to stream. More...
 
template<class T >
void vsl_b_read (vsl_b_istream &is, vpgl_camera< T > *&camera)
 Binary load camera from stream. More...
 

Macro Definition Documentation

◆ VPGL_IO_CAMERA_INSTANTIATE

#define VPGL_IO_CAMERA_INSTANTIATE (   T)
Value:
template void vsl_b_read(vsl_b_istream &, vpgl_camera<T >* &); \
template void vsl_b_write(vsl_b_ostream &, vpgl_camera<T >* const&)
void vsl_b_write(vsl_b_ostream &os, vpgl_camera< T > *const &camera)
Binary save camera to stream.
void vsl_b_read(vsl_b_istream &is, vpgl_camera< T > *&camera)
Binary load camera from stream.

Definition at line 119 of file vpgl_io_camera.hxx.

Function Documentation

◆ vsl_b_read()

template<class T >
void vsl_b_read ( vsl_b_istream is,
vpgl_camera< T > *&  camera 
)

Binary load camera from stream.

Definition at line 75 of file vpgl_io_camera.hxx.

◆ vsl_b_write()

template<class T >
void vsl_b_write ( vsl_b_ostream os,
vpgl_camera< T > *const &  camera 
)

Binary save camera to stream.

Definition at line 28 of file vpgl_io_camera.hxx.