Macros | Functions
vpgl_rational_camera.hxx File Reference
#include <vector>
#include <fstream>
#include "vpgl_rational_camera.h"
#include <vsl/vsl_binary_io.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_point_3d.h>

Go to the source code of this file.

Macros

#define vpgl_RATIONAL_CAMERA_INSTANTIATE(T)
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &s, const vpgl_rational_camera< T > &c)
 Write to stream. More...
 
template<class T >
vpgl_rational_camera< T > * read_rational_camera (std::string cam_path)
 read from a file. More...
 
template<class T >
vpgl_rational_camera< T > * read_rational_camera (std::istream &istr)
 read from an open istream. More...
 
template<class T >
vpgl_rational_camera< T > * read_rational_camera_from_txt (std::string cam_path)
 Creates a rational camera from a txt file. More...
 
template<class T >
std::istream & operator >> (std::istream &s, vpgl_rational_camera< T > &c)
 Read from stream. More...
 

Macro Definition Documentation

◆ vpgl_RATIONAL_CAMERA_INSTANTIATE

#define vpgl_RATIONAL_CAMERA_INSTANTIATE (   T)
Value:
template class vpgl_scale_offset<T >; \
template class vpgl_rational_camera<T >; \
template std::ostream& operator<<(std::ostream&, const vpgl_rational_camera<T >&); \
template std::istream& operator>>(std::istream&, vpgl_rational_camera<T >&); \
template vpgl_rational_camera<T > * read_rational_camera(std::istream&); \
std::istream & operator>>(std::istream &is, vpgl_local_rational_camera< T > &p)
Read from stream.
vpgl_rational_camera< T > * read_rational_camera(std::string cam_path)
Creates a rational camera from a file.
std::ostream & operator<<(std::ostream &s, const vpgl_local_rational_camera< T > &p)
Write to stream.
vpgl_rational_camera< T > * read_rational_camera_from_txt(std::string cam_path)
Creates a rational camera from a txt file.

Definition at line 819 of file vpgl_rational_camera.hxx.

Function Documentation

◆ operator >>()

template<class T >
std::istream& operator >> ( std::istream &  s,
vpgl_rational_camera< T > &  c 
)

Read from stream.

Definition at line 810 of file vpgl_rational_camera.hxx.

◆ operator<<()

template<class T >
std::ostream& operator<< ( std::ostream &  s,
const vpgl_rational_camera< T > &  c 
)

Write to stream.

Definition at line 428 of file vpgl_rational_camera.hxx.

◆ read_rational_camera() [1/2]

template<class T >
vpgl_rational_camera<T>* read_rational_camera ( std::string  cam_path)

read from a file.

Creates a rational camera from a file.

Definition at line 436 of file vpgl_rational_camera.hxx.

◆ read_rational_camera() [2/2]

template<class T >
vpgl_rational_camera<T>* read_rational_camera ( std::istream &  istr)

read from an open istream.

Creates a rational camera from a stream.

Definition at line 450 of file vpgl_rational_camera.hxx.

◆ read_rational_camera_from_txt()

template<class T >
vpgl_rational_camera<T>* read_rational_camera_from_txt ( std::string  cam_path)

Creates a rational camera from a txt file.

Definition at line 625 of file vpgl_rational_camera.hxx.