Defines | Functions
contrib/rpl/rgrl/rgrl_trans_reader.cxx File Reference

Smart reader function for reading in ASCII transformation file. More...

#include "rgrl_trans_reader.h"
#include <rgrl/rgrl_trans_translation.h>
#include <rgrl/rgrl_trans_similarity.h>
#include <rgrl/rgrl_trans_affine.h>
#include <rgrl/rgrl_trans_reduced_quad.h>
#include <rgrl/rgrl_trans_quadratic.h>
#include <rgrl/rgrl_trans_homography2d.h>
#include <rgrl/rgrl_trans_rad_dis_homo2d.h>
#include <rgrl/rgrl_trans_rigid.h>
#include <rgrl/rgrl_trans_couple.h>
#include <rgrl/rgrl_trans_spline.h>
#include <rgrl/rgrl_util.h>
#include <vcl_iostream.h>
#include <vcl_fstream.h>
#include <vcl_string.h>
#include <vcl_compiler.h>

Go to the source code of this file.

Defines

#define READ_THIS_TRANSFORMATION(tag, trans)

Functions

vcl_istream & operator>> (vcl_istream &is, rgrl_transformation_sptr &trans_sptr)
 stream operator for reading transformation.

Detailed Description

Smart reader function for reading in ASCII transformation file.

Author:
Gehua yang, Chia-ling Tsai
Date:
Aug 04 2004

Definition in file rgrl_trans_reader.cxx.


Define Documentation

#define READ_THIS_TRANSFORMATION (   tag,
  trans 
)
Value:
if ( tag_str.find(tag) == 0 ){    \
    trans* trans_ptr = new trans(); \
    if( trans_ptr->read(is) )       \
      return trans_ptr;             \
    else                            \
      return 0;                     \
  }

Definition at line 39 of file rgrl_trans_reader.cxx.


Function Documentation

vcl_istream& operator>> ( vcl_istream &  is,
rgrl_transformation_sptr trans_sptr 
)

stream operator for reading transformation.

stream input operator for reading a transformation.

stream input operator for reading a feature.

Definition at line 123 of file rgrl_trans_reader.cxx.