Tool to write eps files showing modes of model. More...
#include <mbl/mbl_read_props.h>#include <mbl/mbl_exception.h>#include <vul/vul_arg.h>#include <vul/vul_string.h>#include <vcl_sstream.h>#include <vcl_fstream.h>#include <vcl_string.h>#include <vcl_algorithm.h>#include <vsl/vsl_quick_file.h>#include <msm/msm_shape_model.h>#include <msm/msm_shape_instance.h>#include <msm/msm_curve.h>#include <msm/msm_add_all_loaders.h>#include <msm/utils/msm_draw_shape_to_eps.h>#include <msm/utils/msm_shape_mode_view.h>Go to the source code of this file.
Classes | |
| struct | tool_params |
| Structure to hold parameters. More... | |
Functions | |
| vul_arg_display_usage_and_exit () | |
| void | draw_mode (msm_shape_mode_view &mode_view, const msm_curves &curves, tool_params ¶ms) |
| void | draw_mode_frames (msm_shape_mode_view &mode_view, const msm_curves &curves, tool_params ¶ms) |
| Write a set of eps files defining a movie of the mode. | |
| msm_shape_model | create_subspace_model (const msm_shape_model &shape_model, const vcl_string &mode_path, const vcl_string &var_path) |
| Create new model where modes are a subspace of the original model. | |
| int | main (int argc, char **argv) |
Variables | |
| shape_model_path | __pad0__ |
Tool to write eps files showing modes of model.
Definition in file msm_draw_shape_modes.cxx.
| msm_shape_model create_subspace_model | ( | const msm_shape_model & | shape_model, |
| const vcl_string & | mode_path, | ||
| const vcl_string & | var_path | ||
| ) |
Create new model where modes are a subspace of the original model.
Loads in a matrix Q defining modes, and vector V defining variance Modes of new model are given by (PQ) where P are the modes of the original.
Definition at line 258 of file msm_draw_shape_modes.cxx.
| void draw_mode | ( | msm_shape_mode_view & | mode_view, |
| const msm_curves & | curves, | ||
| tool_params & | params | ||
| ) |
Definition at line 180 of file msm_draw_shape_modes.cxx.
| void draw_mode_frames | ( | msm_shape_mode_view & | mode_view, |
| const msm_curves & | curves, | ||
| tool_params & | params | ||
| ) |
Write a set of eps files defining a movie of the mode.
Definition at line 218 of file msm_draw_shape_modes.cxx.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 324 of file msm_draw_shape_modes.cxx.
| vul_arg_display_usage_and_exit | ( | ) |
| shape_model_path __pad0__ |
Definition at line 80 of file msm_draw_shape_modes.cxx.
1.7.5.1