www.pudn.com > src.rar
To Read all the content
[file head]:
#include <tina/all_tina.h>
tool_proc(void)
{
static int x = 395, y = 0;
static int xr = 0, yr = 0;
tv_tool(x+xr, y+yr);
xr += 270;
yr += 0;
if (x+xr>700)
{
xr = yr = 0;
y += 50;
}
if (y>400) y = 200;
}
static void stereo_tool_proc(void)
{
stereo_tool(150,150);
}
static void mono_tool_proc(void)
{
mono_tool(50, 50);
}
static void seq_tool_proc(void)
{
seq_tool(75, 75);
}
static void view_tool_proc(void)
{
view_tool(75,75);
}
static void terrain_tool_proc(void)
{
terrain_tool(75,75);
}
static void imcalc_tool_proc(void)
{
imcalc_tool(200,200);
}
static void calib_tool_proc(void)
{
calib_tool(250,250);
}
static void edge_tool_proc(void)
{
edge_tool(250,250);
}
static void corner_tool_proc(void)
{
corner_tool(250,250);
}
static void skeleton_tool_proc(void)
{
skeleton_tool(250,250);
}
static void denoise_3sigma_tool_proc(void)
{
denoise_3sigma_tool(0,250);
}
static
... ...
[file tail]:
... ...
NULL);
tw_newrow();
tw_label(" ");
tw_button("Skeleton", skeleton_tool_proc, NULL);
tw_newrow();
tw_label(" ");
tw_button("3sigma",denoise_3sigma_tool_proc,NULL);
tw_newrow();
tw_label("-----------------------------------------------------");
tw_newrow();
tw_button("newscramdegree", Newscremdegree_tool_proc, NULL);
tw_button("scrambling",scramble_tool_proc,NULL);
tw_button("test",test_tool_proc,NULL);
tw_button("time",time_tool_proc,NULL);
tw_newrow();
tw_button("mixscramble",mixscramble_tool_proc,NULL);
tw_button("cut",cut_tool_proc,NULL);
tw_button("repair",repair_tool_proc,NULL);
tw_label(" ");
tw_button("Add noise",addnoise_tool_proc,NULL);
tw_newrow();
tw_button("send client",send_tool_proc,NULL);
tw_button("receive client",receive_tool_proc,NULL);
tw_button("denoise(s&amt;p)",spdenoise_tool_proc,NULL);
tw_newrow();
tw_textsw(10, 65);
tw_end_tool();
tw_main_loop();
}