Static Public Member Functions | Static Protected Attributes
rgrl_feature_reader Class Reference

Read one feature from input stream. More...

#include <rgrl_feature_reader.h>

List of all members.

Static Public Member Functions

static rgrl_feature_sptr read (vcl_istream &is)
 Read a transformation from input stream.
static void add_feature (rgrl_feature_sptr feat)
 add a feature candidate.

Static Protected Attributes

static vcl_vector
< rgrl_feature_sptr
feature_candidates_

Detailed Description

Read one feature from input stream.

IMPORTANCE:

Definition at line 29 of file rgrl_feature_reader.h.


Member Function Documentation

void rgrl_feature_reader::add_feature ( rgrl_feature_sptr  feat) [static]

add a feature candidate.

Definition at line 30 of file rgrl_feature_reader.cxx.

rgrl_feature_sptr rgrl_feature_reader::read ( vcl_istream &  is) [static]

Read a transformation from input stream.

IMPORTANCE:

  • Open transformation file in BINARY mode!
  • Stream Pos does not work in Windows when a UNIX ascii file is opened in text mode.

The type of feature depends on the content of the input stream. NULL smart ptr is returned if reading operation fails. Please check the validity of the returned smart ptr.

Definition at line 37 of file rgrl_feature_reader.cxx.


Member Data Documentation

Definition at line 50 of file rgrl_feature_reader.h.


The documentation for this class was generated from the following files: