Classes | Functions
contrib/mul/mfpf/mfpf_patch_data.h File Reference

Defines region size, shape, and form of model to use. More...

#include <mfpf/mfpf_point_finder_builder.h>
#include <mfpf/mfpf_region_definer.h>
#include <mbl/mbl_cloneable_ptr.h>
#include <vcl_iosfwd.h>

Go to the source code of this file.

Classes

class  mfpf_patch_data
 Defines region size, shape, and form of model to use. More...

Functions

vcl_ostream & operator<< (vcl_ostream &os, const mfpf_patch_data &b)
 Stream output operator for class reference.
void vsl_b_write (vsl_b_ostream &bfs, const mfpf_patch_data &b)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, mfpf_patch_data &b)
 Binary file stream input operator for class reference.
void mfpf_read_from_stream (vcl_istream &is, vcl_vector< mfpf_patch_data > &data)
 Reads in a list of mfpf_patch_data objects from a text stream.

Detailed Description

Defines region size, shape, and form of model to use.

Author:
Tim Cootes

Definition in file mfpf_patch_data.h.


Function Documentation

void mfpf_read_from_stream ( vcl_istream &  is,
vcl_vector< mfpf_patch_data > &  data 
)

Reads in a list of mfpf_patch_data objects from a text stream.

Format: "{ region: { ... } region: { ... } .... }" Throws an mbl_exception_parse_error if it fails.

Format: "{ region: { ... } region: { ... } .... }"

Definition at line 167 of file mfpf_patch_data.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const mfpf_patch_data b 
)

Stream output operator for class reference.

Definition at line 140 of file mfpf_patch_data.cxx.

void vsl_b_read ( vsl_b_istream bfs,
mfpf_patch_data b 
)

Binary file stream input operator for class reference.

Definition at line 156 of file mfpf_patch_data.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const mfpf_patch_data b 
)

Binary file stream output operator for class reference.

Definition at line 150 of file mfpf_patch_data.cxx.