Classes | Functions
contrib/mul/msm/msm_shape_model_builder.h File Reference

Object to build a msm_shape_model. More...

#include <vcl_cassert.h>
#include <vcl_iosfwd.h>
#include <vcl_string.h>
#include <vsl/vsl_fwd.h>
#include <msm/msm_shape_model.h>
#include <msm/msm_param_limiter.h>

Go to the source code of this file.

Classes

class  msm_shape_model_builder
 Object to build a msm_shape_model. More...

Functions

void msm_load_shapes (const vcl_string &points_dir, const vcl_vector< vcl_string > &filenames, vcl_vector< msm_points > &shapes)
 Loads all shapes from points_dir/filenames[i].
void vsl_b_write (vsl_b_ostream &bfs, const msm_shape_model_builder &pts)
 Binary file stream output operator for class reference.
void vsl_b_read (vsl_b_istream &bfs, msm_shape_model_builder &pts)
 Binary file stream input operator for class reference.
vcl_ostream & operator<< (vcl_ostream &os, const msm_shape_model_builder &pts)
 Stream output operator for class reference.
void vsl_print_summary (vcl_ostream &os, const msm_shape_model_builder &pts)
 Stream output operator for class reference.

Detailed Description

Object to build a msm_shape_model.

Author:
Tim Cootes

Definition in file msm_shape_model_builder.h.


Function Documentation

void msm_load_shapes ( const vcl_string &  points_dir,
const vcl_vector< vcl_string > &  filenames,
vcl_vector< msm_points > &  shapes 
)

Loads all shapes from points_dir/filenames[i].

Throws mbl_exception_parse_error if fails.

Definition at line 350 of file msm_shape_model_builder.cxx.

vcl_ostream& operator<< ( vcl_ostream &  os,
const msm_shape_model_builder pts 
)

Stream output operator for class reference.

Definition at line 466 of file msm_shape_model_builder.cxx.

void vsl_b_read ( vsl_b_istream bfs,
msm_shape_model_builder pts 
)

Binary file stream input operator for class reference.

Definition at line 457 of file msm_shape_model_builder.cxx.

void vsl_b_write ( vsl_b_ostream bfs,
const msm_shape_model_builder pts 
)

Binary file stream output operator for class reference.

Definition at line 448 of file msm_shape_model_builder.cxx.

void vsl_print_summary ( vcl_ostream &  os,
const msm_shape_model_builder pts 
)

Stream output operator for class reference.

Definition at line 476 of file msm_shape_model_builder.cxx.