Classes | Macros | Functions
vpgl_local_rational_camera.h File Reference

A local rational camera model. More...

#include <iostream>
#include <string>
#include <vgl/vgl_fwd.h>
#include <vpgl/vpgl_rational_camera.h>
#include <vpgl/vpgl_lvcs.h>

Go to the source code of this file.

Classes

class  vpgl_local_rational_camera< T >
 

Macros

#define VPGL_LOCAL_RATIONAL_CAMERA_INSTANTIATE(T)   extern "please include vgl/vpgl_local_rational_camera.hxx first"
 

Functions

template<class T >
vpgl_local_rational_camera< T > * read_local_rational_camera (std::string cam_path)
 Creates a local rational camera from a file. More...
 
template<class T >
vpgl_local_rational_camera< T > * read_local_rational_camera (std::istream &istr)
 Creates a local rational camera from a stream (RPB format). More...
 
template<class T >
vpgl_local_rational_camera< T > * read_local_rational_camera_from_txt (std::string cam_path)
 read camera from txt file (small sat format). More...
 
template<class T >
std::ostream & operator<< (std::ostream &s, const vpgl_local_rational_camera< T > &p)
 Write to stream. More...
 
template<class T >
std::istream & operator>> (std::istream &is, vpgl_local_rational_camera< T > &p)
 Read from stream. More...
 

Detailed Description

A local rational camera model.

Author
Joseph Mundy
Date
February 16, 2008

Rational camera models are defined with respect to global geographic coordinates. In many applications it is necessary to project points with local 3-d Cartesian coordinates. This camera class incorporates a Local Vertical Coordinate System (LVCS) to convert local coordinates to geographic coordinates to input to the native geographic RPC model.

Definition in file vpgl_local_rational_camera.h.

Macro Definition Documentation

◆ VPGL_LOCAL_RATIONAL_CAMERA_INSTANTIATE

#define VPGL_LOCAL_RATIONAL_CAMERA_INSTANTIATE (   T)    extern "please include vgl/vpgl_local_rational_camera.hxx first"

Definition at line 114 of file vpgl_local_rational_camera.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  s,
const vpgl_local_rational_camera< T > &  p 
)

Write to stream.

Definition at line 259 of file vpgl_local_rational_camera.hxx.

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  is,
vpgl_local_rational_camera< T > &  p 
)

Read from stream.

◆ read_local_rational_camera() [1/2]

template<class T >
vpgl_local_rational_camera< T > * read_local_rational_camera ( std::string  cam_path)

Creates a local rational camera from a file.

Definition at line 182 of file vpgl_local_rational_camera.hxx.

◆ read_local_rational_camera() [2/2]

template<class T >
vpgl_local_rational_camera< T > * read_local_rational_camera ( std::istream &  istr)

Creates a local rational camera from a stream (RPB format).

Creates a local rational camera from a stream (RPB format).

Definition at line 194 of file vpgl_local_rational_camera.hxx.

◆ read_local_rational_camera_from_txt()

template<class T >
vpgl_local_rational_camera<T>* read_local_rational_camera_from_txt ( std::string  cam_path)

read camera from txt file (small sat format).

Definition at line 221 of file vpgl_local_rational_camera.hxx.