[4dd432]: / contrib / brl / bseg / bvxm / pro / processes / bvxm_create_ortho_camera_process.h  Maximize  Restore  History

Download this file

39 lines (33 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// This is brl/bseg/bvxm/pro/processes/bvxm_create_ortho_camera_process.h
#ifndef bvxm_create_ortho_camera_process_h_
#define bvxm_create_ortho_camera_process_h_
//:
// \file
// \brief A class for generating an orthographic edge map
// creates an orthographic vpgl_geo_camera first, then renders the edge map using this camera
// WARNING: this process assumes that the world is compass-alinged
//
// - Inputs:
// * bvxm_voxel_world_sptr
//
// - Output:
// * vil_image_view_base_sptr generated image
//
// \author Ozge C. Ozcanli
// \date Aug 07, 2013
// \verbatim
// Modifications
// \endverbatim
#include <bprb/bprb_func_process.h>
// generate an ortho camera - generate a vpgl_geo_camera for the scene
//: global variables
namespace bvxm_create_ortho_camera_process_globals
{
const unsigned n_inputs_ = 2;
const unsigned n_outputs_ = 1;
}
//: set input and output types
bool bvxm_create_ortho_camera_process_cons(bprb_func_process& pro);
// generates an ortho camera from the scene bounding box, GSD of the image is 1 meter
bool bvxm_create_ortho_camera_process(bprb_func_process& pro);
#endif // bvxm_create_ortho_camera_process_h_