Supply basic geometry functions. More...
Go to the source code of this file.
Classes | |
struct | rect |
Enumerations | |
enum | noe_view_t { kX, kY, kXorY } |
Functions | |
int | pixx_from_pixy (const int y) |
void | setboxes () |
void | setfd () |
int | total_x_pixels (const int pixels_x) |
int | total_y_pixels (const int pixels_y) |
int | scintpix_from_pixx (const int x) |
int | det_to_screen_y (const int plane, const int cell) |
int | det_to_screen_x (const int plane) |
std::pair< int, int > | cppoint_to_screen (const cppoint &tp) |
int | screen_to_plane (const noe_view_t view, const int x) |
int | screen_to_plane_unbounded (const noe_view_t view, const int x) |
int | screen_to_cell (const noe_view_t view, const int x, const int y) |
int | screen_to_cell_unbounded (const noe_view_t view, const int x, const int y) |
enum noe_view_t |
Definition at line 139 of file geo.cxx.
References cppoint::cell, det_to_screen_x(), det_to_screen_y(), cppoint::fcell, cppoint::fplane, pixx, pixy, and cppoint::plane.
Referenced by draw_track_in_one_view(), draw_vertex_in_one_view(), and rect::xmax().
Definition at line 100 of file geo.cxx.
References first_mucatcher, pixx, and screenxoffset.
Referenced by cppoint_to_screen(), dozooming(), draw_hit(), and rect::xmax().
Definition at line 119 of file geo.cxx.
References getBrightness::cell, first_mucatcher, ncells_perplane, pixy, screenyoffset_xview, and screenyoffset_yview.
Referenced by cppoint_to_screen(), dozooming(), draw_hit(), and rect::xmax().
Definition at line 51 of file geo.cxx.
References celldepth, ExtruGlueThick, ExtruWidth, and makeTrainCVSamples::int.
Referenced by dozooming(), and rect::xmax().
Definition at line 61 of file geo.cxx.
References celldepth, ExtruDepth, ExtruWallThick, and makeTrainCVSamples::int.
Referenced by draw_hit(), and rect::xmax().
int screen_to_cell | ( | const noe_view_t | view, |
const int | x, | ||
const int | y | ||
) |
Definition at line 229 of file geo.cxx.
References plot_validation_datamc::c, first_mucatcher, kY, ncells_perplane, NDAPDHVSetting::plane, screen_to_cell_unbounded(), and screen_to_plane().
Referenced by screen_to_activecell(), and rect::xmax().
int screen_to_cell_unbounded | ( | const noe_view_t | view, |
const int | x, | ||
const int | y | ||
) |
Definition at line 215 of file geo.cxx.
References first_mucatcher, kX, ncells_perplane, pixy, NDAPDHVSetting::plane, screen_to_plane(), screenyoffset_xview, and screenyoffset_yview.
Referenced by dozooming(), screen_to_cell(), and rect::xmax().
int screen_to_plane | ( | const noe_view_t | view, |
const int | x | ||
) |
Definition at line 207 of file geo.cxx.
References kX, nplanes, and screen_to_plane_unbounded().
Referenced by screen_to_activecell(), screen_to_cell(), screen_to_cell_unbounded(), update_active_indices(), and rect::xmax().
int screen_to_plane_unbounded | ( | const noe_view_t | view, |
const int | x | ||
) |
Definition at line 182 of file geo.cxx.
References first_mucatcher, kX, kY, pixx, and screenxoffset.
Referenced by dozooming(), screen_to_plane(), and rect::xmax().
void setboxes | ( | ) |
Definition at line 149 of file geo.cxx.
References first_mucatcher, kX, kY, ncells_perplane, nplanes, pixx, pixy, screenxoffset, screenyoffset_xview, screenyoffset_yview, total_x_pixels(), total_y_pixels(), rect::xmin, rect::xsize, rect::ymin, and rect::ysize.
Referenced by draw_background(), setfd(), setup(), and rect::xmax().
void setfd | ( | ) |
Definition at line 80 of file geo.cxx.
References FDfirst_mucatcher, FDncells_perplane, FDnplanes_perview, FDpixx, FDpixy, first_mucatcher, isfd, ncells_perplane, nplanes, nplanes_perview, pixx, pixy, and setboxes().
Referenced by draw_event(), and rect::xmax().
Definition at line 67 of file geo.cxx.
References first_mucatcher, nplanes, and nplanes_perview.
Referenced by setboxes(), and rect::xmax().
Definition at line 74 of file geo.cxx.
References ncells_perplane.
Referenced by setboxes(), and rect::xmax().