Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vpro_vil_video_process Class Reference

#include <vpro_vil_video_process.h>

Inheritance diagram for vpro_vil_video_process:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 27 of file vpro_vil_video_process.h.

Public Types

enum  process_data_type {
  NOTYPE = 0, IMAGE, SPATIAL_OBJECT, TOPOLOGY,
  IMAGE_SPATIAL_OBJECT
}

Public Member Functions

 vpro_vil_video_process ()
 vpro_vil_video_process (vpro_vil_video_process const &p)
virtual ~vpro_vil_video_process ()
void clear_input ()
void clear_output ()
void set_n_frames (int n_frames)
void set_frame_index (int index)
void add_input_image (vil_image_resource_sptr const &im)
void add_input_spatial_object (vsol_spatial_object_2d_sptr const &so)
void add_input_spatial_objects (vcl_vector< vsol_spatial_object_2d_sptr > const &spat_objs)
void add_input_topology_object (vtol_topology_object_sptr const &to)
void add_input_topology (vcl_vector< vtol_topology_object_sptr > const &topo_objs)
int n_frames ()
int frame_index ()
int get_N_input_images ()
vil_image_resource_sptr get_input_image (unsigned int i)
vil_image_resource_sptr get_output_image ()
int get_N_input_spat_objs ()
vcl_vector< vsol_spatial_object_2d_sptr
> const & 
get_input_spatial_objects ()
int get_N_input_topo_objs ()
vcl_vector< vtol_topology_object_sptr
> const & 
get_input_topology ()
virtual vcl_vector< vsol_spatial_object_2d_sptr
> const & 
get_output_spatial_objects ()
 output handling may depend on the specific process.
virtual vcl_vector< vtol_topology_object_sptr
> const & 
get_output_topology ()
void set_graph_flag ()
void clear_graph_flag ()
bool graph_flag ()
void set_graph (vcl_vector< float > const &graph)
vcl_vector< float > graph ()
unsigned int start_frame ()
unsigned int end_frame ()
virtual process_data_type get_input_type ()
virtual process_data_type get_output_type ()
virtual bool execute ()=0
virtual bool finish ()=0
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Attributes

int frame_index_
int n_frames_
unsigned int start_frame_
unsigned int end_frame_
vcl_vector< vil_image_resource_sptrinput_images_
vcl_vector< vsol_spatial_object_2d_sptrinput_spat_objs_
vcl_vector< vtol_topology_object_sptrinput_topo_objs_
vil_image_resource_sptr output_image_
vcl_vector< vtol_topology_object_sptroutput_topo_objs_
vcl_vector< vsol_spatial_object_2d_sptroutput_spat_objs_
bool graph_flag_
vcl_vector< float > graph_


Member Enumeration Documentation

enum vpro_vil_video_process::process_data_type
 

Enumerator:
NOTYPE 
IMAGE 
SPATIAL_OBJECT 
TOPOLOGY 
IMAGE_SPATIAL_OBJECT 

Definition at line 30 of file vpro_vil_video_process.h.


Constructor & Destructor Documentation

vpro_vil_video_process::vpro_vil_video_process  ) 
 

Definition at line 3 of file vpro_vil_video_process.cxx.

vpro_vil_video_process::vpro_vil_video_process vpro_vil_video_process const &  p  )  [inline]
 

Definition at line 33 of file vpro_vil_video_process.h.

virtual vpro_vil_video_process::~vpro_vil_video_process  )  [inline, virtual]
 

Definition at line 42 of file vpro_vil_video_process.h.


Member Function Documentation

void vpro_vil_video_process::add_input_image vil_image_resource_sptr const &  im  )  [inline]
 

Definition at line 50 of file vpro_vil_video_process.h.

void vpro_vil_video_process::add_input_spatial_object vsol_spatial_object_2d_sptr const &  so  ) 
 

Definition at line 36 of file vpro_vil_video_process.cxx.

void vpro_vil_video_process::add_input_spatial_objects vcl_vector< vsol_spatial_object_2d_sptr > const &  spat_objs  ) 
 

Definition at line 41 of file vpro_vil_video_process.cxx.

void vpro_vil_video_process::add_input_topology vcl_vector< vtol_topology_object_sptr > const &  topo_objs  ) 
 

Definition at line 52 of file vpro_vil_video_process.cxx.

void vpro_vil_video_process::add_input_topology_object vtol_topology_object_sptr const &  to  ) 
 

Definition at line 47 of file vpro_vil_video_process.cxx.

void vpro_vil_video_process::clear_graph_flag  )  [inline]
 

Definition at line 84 of file vpro_vil_video_process.h.

void vpro_vil_video_process::clear_input  ) 
 

Definition at line 22 of file vpro_vil_video_process.cxx.

void vpro_vil_video_process::clear_output  ) 
 

Definition at line 29 of file vpro_vil_video_process.cxx.

unsigned int vpro_vil_video_process::end_frame  )  [inline]
 

Definition at line 90 of file vpro_vil_video_process.h.

virtual bool vpro_vil_video_process::execute  )  [pure virtual]
 

Implemented in vpro_roi_process.

virtual bool vpro_vil_video_process::finish  )  [pure virtual]
 

Implemented in vpro_roi_process.

int vpro_vil_video_process::frame_index  )  [inline]
 

Definition at line 61 of file vpro_vil_video_process.h.

vil_image_resource_sptr vpro_vil_video_process::get_input_image unsigned int  i  ) 
 

Definition at line 11 of file vpro_vil_video_process.cxx.

vcl_vector<vsol_spatial_object_2d_sptr> const& vpro_vil_video_process::get_input_spatial_objects  )  [inline]
 

Definition at line 67 of file vpro_vil_video_process.h.

vcl_vector<vtol_topology_object_sptr> const& vpro_vil_video_process::get_input_topology  )  [inline]
 

Definition at line 71 of file vpro_vil_video_process.h.

virtual process_data_type vpro_vil_video_process::get_input_type  )  [inline, virtual]
 

Definition at line 92 of file vpro_vil_video_process.h.

int vpro_vil_video_process::get_N_input_images  )  [inline]
 

Definition at line 62 of file vpro_vil_video_process.h.

int vpro_vil_video_process::get_N_input_spat_objs  )  [inline]
 

Definition at line 66 of file vpro_vil_video_process.h.

int vpro_vil_video_process::get_N_input_topo_objs  )  [inline]
 

Definition at line 70 of file vpro_vil_video_process.h.

vil_image_resource_sptr vpro_vil_video_process::get_output_image  )  [inline]
 

Definition at line 64 of file vpro_vil_video_process.h.

virtual vcl_vector<vsol_spatial_object_2d_sptr> const& vpro_vil_video_process::get_output_spatial_objects  )  [inline, virtual]
 

output handling may depend on the specific process.

Definition at line 76 of file vpro_vil_video_process.h.

virtual vcl_vector<vtol_topology_object_sptr> const& vpro_vil_video_process::get_output_topology  )  [inline, virtual]
 

Definition at line 79 of file vpro_vil_video_process.h.

virtual process_data_type vpro_vil_video_process::get_output_type  )  [inline, virtual]
 

Reimplemented in vpro_roi_process.

Definition at line 93 of file vpro_vil_video_process.h.

vcl_vector<float> vpro_vil_video_process::graph  )  [inline]
 

Definition at line 87 of file vpro_vil_video_process.h.

bool vpro_vil_video_process::graph_flag  )  [inline]
 

Definition at line 85 of file vpro_vil_video_process.h.

int vpro_vil_video_process::n_frames  )  [inline]
 

Definition at line 60 of file vpro_vil_video_process.h.

void vpro_vil_video_process::set_frame_index int  index  )  [inline]
 

Definition at line 48 of file vpro_vil_video_process.h.

void vpro_vil_video_process::set_graph vcl_vector< float > const &  graph  )  [inline]
 

Definition at line 86 of file vpro_vil_video_process.h.

void vpro_vil_video_process::set_graph_flag  )  [inline]
 

Definition at line 83 of file vpro_vil_video_process.h.

void vpro_vil_video_process::set_n_frames int  n_frames  )  [inline]
 

Definition at line 47 of file vpro_vil_video_process.h.

unsigned int vpro_vil_video_process::start_frame  )  [inline]
 

Definition at line 89 of file vpro_vil_video_process.h.


Member Data Documentation

unsigned int vpro_vil_video_process::end_frame_ [protected]
 

Definition at line 101 of file vpro_vil_video_process.h.

int vpro_vil_video_process::frame_index_ [protected]
 

Definition at line 98 of file vpro_vil_video_process.h.

vcl_vector<float> vpro_vil_video_process::graph_ [protected]
 

Definition at line 109 of file vpro_vil_video_process.h.

bool vpro_vil_video_process::graph_flag_ [protected]
 

Definition at line 108 of file vpro_vil_video_process.h.

vcl_vector<vil_image_resource_sptr> vpro_vil_video_process::input_images_ [protected]
 

Definition at line 102 of file vpro_vil_video_process.h.

vcl_vector<vsol_spatial_object_2d_sptr> vpro_vil_video_process::input_spat_objs_ [protected]
 

Definition at line 103 of file vpro_vil_video_process.h.

vcl_vector<vtol_topology_object_sptr> vpro_vil_video_process::input_topo_objs_ [protected]
 

Definition at line 104 of file vpro_vil_video_process.h.

int vpro_vil_video_process::n_frames_ [protected]
 

Definition at line 99 of file vpro_vil_video_process.h.

vil_image_resource_sptr vpro_vil_video_process::output_image_ [protected]
 

Definition at line 105 of file vpro_vil_video_process.h.

vcl_vector<vsol_spatial_object_2d_sptr> vpro_vil_video_process::output_spat_objs_ [protected]
 

Definition at line 107 of file vpro_vil_video_process.h.

vcl_vector<vtol_topology_object_sptr> vpro_vil_video_process::output_topo_objs_ [protected]
 

Definition at line 106 of file vpro_vil_video_process.h.

unsigned int vpro_vil_video_process::start_frame_ [protected]
 

Definition at line 100 of file vpro_vil_video_process.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:53:07 2008 for contrib/brl/bseg/vpro by  doxygen 1.4.4