Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

tlbaseInfr_mono.c File Reference

#include "tlbaseInfr_mono.h"
#include <stdio.h>
#include <math.h>
#include <tina/sys/sysDef.h>
#include <tina/sys/sysPro.h>
#include <tinatool/draw/drawDef.h>
#include <tina/geometry/geomDef.h>
#include <tina/geometry/geomPro.h>
#include <tina/image/imgDef.h>
#include <tina/image/imgPro.h>

Include dependency graph for tlbaseInfr_mono.c:

Include dependency graph

Go to the source code of this file.

Functions

Tvmono_tv (void)
Tvmono_tv_get (void)
void mono_tv_set (Tv *tv)
Imrect * mono_image_get (void)
Imrect * mono_image (void)
void mono_image_set (Imrect *im)
Imrect * mono_edges_get (void)
Imrect * mono_edges (void)
void mono_edges_set (Imrect *er)
void mono_edges_null (void)
List * mono_geom (void)
List * mono_geom_get (void)
void mono_geom_set (List *geom)
void mono_geom_null (void)
Camera * mono_camera_get (void)
Camera * mono_camera (void)
void mono_camera_set (Camera *cam)
Imrect * mono_corners_get (void)
void mono_corners_set (Imrect *cnr)
void mono_corners_null ()

Variables

Imrect * im_mono = NULL
Imrect * er_mono = NULL
Imrect * cnr_mono = NULL
Camera * cam_mono = NULL
List * geom_mono = NULL
Tvtv_mono = NULL


Function Documentation

Camera* mono_camera void   ) 
 

Definition at line 151 of file tlbaseInfr_mono.c.

References cam_mono.

Referenced by mono_output().

00152 {
00153     return (cam_mono);
00154 }

Camera* mono_camera_get void   ) 
 

Definition at line 146 of file tlbaseInfr_mono.c.

References cam_mono.

00147 {
00148     return (cam_mono);
00149 }

void mono_camera_set Camera *  cam  ) 
 

Definition at line 156 of file tlbaseInfr_mono.c.

References cam_mono, and im_mono.

Referenced by mono_input().

00157 {
00158     cam_free(cam_mono);
00159     cam_mono = cam;
00160 
00161     if (im_mono != NULL)
00162         (void) cam_scale_to_image(cam_mono, im_mono);
00163 }

Imrect* mono_corners_get void   ) 
 

Definition at line 165 of file tlbaseInfr_mono.c.

References cnr_mono.

Referenced by clear_proc(), mono_corner_proc(), mono_fulldraw(), mono_pick_corner_matchlist(), and temporal_corner_match_proc().

00166 {
00167     return (cnr_mono);
00168 }

void mono_corners_null  ) 
 

Definition at line 176 of file tlbaseInfr_mono.c.

References cnr_mono.

Referenced by mono_corner_proc().

00177 {
00178    cnr_mono = NULL;
00179 }

void mono_corners_set Imrect *  cnr  ) 
 

Definition at line 170 of file tlbaseInfr_mono.c.

References cnr_mono.

Referenced by clear_proc(), and mono_corner_proc().

00171 {
00172     er_free(cnr_mono);
00173     cnr_mono = cnr;
00174 }

Imrect* mono_edges void   ) 
 

Definition at line 109 of file tlbaseInfr_mono.c.

References er_mono.

Referenced by mono_fulldraw(), mono_init(), mono_output(), mono_pick_closest_edge(), and mono_skeldraw().

00110 {
00111     return (er_mono);
00112 }

Imrect* mono_edges_get void   ) 
 

Definition at line 104 of file tlbaseInfr_mono.c.

References er_mono.

Referenced by mono_canny_proc(), mono_geom2_proc(), and test_canny_proc().

00105 {
00106     return (er_mono);
00107 }

void mono_edges_null void   ) 
 

Definition at line 120 of file tlbaseInfr_mono.c.

References er_mono.

00121 {
00122     er_mono = NULL;
00123 }

void mono_edges_set Imrect *  er  ) 
 

Definition at line 114 of file tlbaseInfr_mono.c.

References er_mono.

Referenced by mono_canny_proc(), mono_input(), pop_proc(), and test_canny_proc().

00115 {
00116     er_free(er_mono);
00117     er_mono = er;
00118 }

List* mono_geom void   ) 
 

Definition at line 125 of file tlbaseInfr_mono.c.

References geom_mono.

Referenced by mono_fulldraw(), and mono_skeldraw().

00126 {
00127     return (geom_mono);
00128 }

List* mono_geom_get void   ) 
 

Definition at line 130 of file tlbaseInfr_mono.c.

References geom_mono.

Referenced by geom2_pick_closest(), and mono_output().

00131 {
00132     return (geom_mono);
00133 }

void mono_geom_null void   ) 
 

Definition at line 141 of file tlbaseInfr_mono.c.

References geom_mono.

00142 {
00143     geom_mono = NULL;
00144 }

void mono_geom_set List *  geom  ) 
 

Definition at line 135 of file tlbaseInfr_mono.c.

References geom_mono.

Referenced by mono_canny_proc(), mono_geom2_proc(), mono_input(), and test_canny_proc().

00136 {
00137     (void) reclist_list_free(geom_mono, geom_free, 0, NULL);
00138     geom_mono = geom;
00139 }

Imrect* mono_image void   ) 
 

Definition at line 93 of file tlbaseInfr_mono.c.

References im_mono.

Referenced by clear_proc(), mono_backdraw(), mono_corner_proc(), mono_grey(), mono_init(), mono_input(), mono_output(), mono_skeldraw(), and push_proc().

00094 {
00095     return (im_mono);
00096 }

Imrect* mono_image_get void   ) 
 

Definition at line 88 of file tlbaseInfr_mono.c.

References im_mono.

Referenced by est_plasma_conc_proc(), mono_canny_proc(), pfit_pixels_proc(), pixel_pfit_plot(), test_canny_proc(), and tv_get_imrect().

00089 {
00090     return (im_mono);
00091 }

void mono_image_set Imrect *  im  ) 
 

Definition at line 98 of file tlbaseInfr_mono.c.

References im_free(), and im_mono.

Referenced by clear_proc(), flip_mono_im(), mono_input(), and pop_proc().

00099 {
00100     im_free(im_mono);
00101     im_mono = im;
00102 }

Here is the call graph for this function:

Tv* mono_tv void   ) 
 

Definition at line 73 of file tlbaseInfr_mono.c.

References Tv, and tv_mono.

Referenced by flip_mono_im(), mono_corner_proc(), mono_mouse_proc(), mono_pick_proc(), tv_choice_proc(), and tv_proc().

00074 {
00075     return (tv_mono);
00076 }

Tv* mono_tv_get void   ) 
 

Definition at line 78 of file tlbaseInfr_mono.c.

References Tv, and tv_mono.

Referenced by input_proc(), mono_canny_proc(), mono_edge_pick_proc(), mono_geom2_proc(), mono_mouse_proc(), mono_show_stored_corners(), pop_proc(), and test_canny_proc().

00079 {
00080     return (tv_mono);
00081 }

void mono_tv_set Tv tv  ) 
 

Definition at line 83 of file tlbaseInfr_mono.c.

References Tv, and tv_mono.

Referenced by tv_proc().

00084 {
00085     tv_mono = tv;
00086 }


Variable Documentation

Camera* cam_mono = NULL [static]
 

Definition at line 69 of file tlbaseInfr_mono.c.

Referenced by mono_camera(), mono_camera_get(), and mono_camera_set().

Imrect* cnr_mono = NULL [static]
 

Definition at line 68 of file tlbaseInfr_mono.c.

Referenced by mono_corners_get(), mono_corners_null(), and mono_corners_set().

Imrect* er_mono = NULL [static]
 

Definition at line 67 of file tlbaseInfr_mono.c.

Referenced by mono_edges(), mono_edges_get(), mono_edges_null(), and mono_edges_set().

List* geom_mono = NULL [static]
 

Definition at line 70 of file tlbaseInfr_mono.c.

Referenced by mono_geom(), mono_geom_get(), mono_geom_null(), and mono_geom_set().

Imrect* im_mono = NULL [static]
 

Definition at line 66 of file tlbaseInfr_mono.c.

Referenced by mono_camera_set(), mono_image(), mono_image_get(), and mono_image_set().

Tv* tv_mono = NULL [static]
 

Definition at line 71 of file tlbaseInfr_mono.c.

Referenced by mono_tv(), mono_tv_get(), and mono_tv_set().


Generated on Thu Nov 12 02:21:28 2009 for Tools by doxygen 1.3.6