#include <app_vinfo.h>
Public Member Functions | |
ViewInfo (Scan *Sc, int qf, int zf) | |
virtual | ~ViewInfo () |
void | SetQfZf (int qf, int zf) |
void | SetPixelUnit (int flag=TRUE) |
void | SetCoordMode (SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
void | ChangeXYUnit (UnitObj *u) |
void | ChangeXUnit (UnitObj *u) |
void | ChangeYUnit (UnitObj *u) |
void | ChangeZUnit (UnitObj *u) |
gchar * | makeXinfo (double x) |
gchar * | makeDXYinfo (double xy1[2], double xy2[2], Point2D *p1=NULL, Point2D *p2=NULL) |
gchar * | makeDnXYinfo (double *xy, int n) |
gchar * | makeA2info (double xy1[2], double xy2[2]) |
gchar * | makeXYinfo (double x, double y, Point2D *p=NULL) |
gchar * | makedXdYinfo (double xy1[2], double xy2[2]) |
gchar * | makeXYZinfo (double x, double y, Point2D *p=NULL) |
void | Angstroem2W (double &x, double &y) |
void | W2Angstroem (double &x, double &y) |
int | GetQfac () |
int | GetZfac () |
UnitObj * | Ux () |
UnitObj * | Uy () |
UnitObj * | Uz () |
ViewInfo (Scan *Sc, int qf, int zf) | |
virtual | ~ViewInfo () |
void | SetQfZf (int qf, int zf) |
void | SetPixelUnit (int flag=TRUE) |
void | SetCoordMode (SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
void | ChangeXYUnit (UnitObj *u) |
void | ChangeXUnit (UnitObj *u) |
void | ChangeYUnit (UnitObj *u) |
void | ChangeZUnit (UnitObj *u) |
gchar * | makeXinfo (double x) |
gchar * | makeDXYinfo (double xy1[2], double xy2[2], Point2D *p1=NULL, Point2D *p2=NULL) |
gchar * | makeDnXYinfo (double *xy, int n) |
gchar * | makeA2info (double xy1[2], double xy2[2]) |
gchar * | makeXYinfo (double x, double y, Point2D *p=NULL) |
gchar * | makedXdYinfo (double xy1[2], double xy2[2]) |
gchar * | makeXYZinfo (double x, double y, Point2D *p=NULL) |
void | Angstroem2W (double &x, double &y) |
void | W2Angstroem (double &x, double &y) |
int | GetQfac () |
int | GetZfac () |
UnitObj * | Ux () |
UnitObj * | Uy () |
UnitObj * | Uz () |
Public Attributes | |
Scan * | sc |
Scan * | sc |
Private Attributes | |
UnitObj * | ux |
UnitObj * | uy |
UnitObj * | uz |
int | Qfac |
int | Zfac |
int | pixelmode |
SCAN_COORD_MODE | sc_mode |
UnitObj * | ux |
UnitObj * | uy |
UnitObj * | uz |
Definition at line 42 of file app_vinfo.h.
|
Definition at line 40 of file app_vinfo.C. References FALSE, Qfac, sc, SetCoordMode(), SetPixelUnit(), ux, uy, uz, and Zfac. |
|
Definition at line 45 of file app_vinfo.h. |
|
|
|
Definition at line 45 of file app_vinfo.h. |
|
|
|
Definition at line 245 of file app_vinfo.C. References Qfac, sc, SCAN_COORD_ABSOLUTE, and Scan::World2Pixel(). Referenced by VObTrace::Change(), VObject::SetUpPos(), and VObTrace::VObTrace(). |
|
Definition at line 54 of file app_vinfo.h. References ux. |
|
Definition at line 54 of file app_vinfo.h. References ux. |
|
Definition at line 53 of file app_vinfo.h. |
|
Definition at line 53 of file app_vinfo.h. Referenced by ViewControl::view_view_coord_absolute_callback(), ViewControl::view_view_coord_pixels_callback(), and ViewControl::view_view_coord_relative_callback(). |
|
Definition at line 55 of file app_vinfo.h. References uy. |
|
Definition at line 55 of file app_vinfo.h. References uy. |
|
Definition at line 56 of file app_vinfo.h. References uz. |
|
Definition at line 56 of file app_vinfo.h. References uz. Referenced by ViewControl::view_view_coord_absolute_callback(), ViewControl::view_view_coord_pixels_callback(), and ViewControl::view_view_coord_relative_callback(). |
|
Definition at line 69 of file app_vinfo.h. References Qfac. |
|
Definition at line 69 of file app_vinfo.h. References Qfac. Referenced by ViewControl::canvas_event_cb(), VObject::set_offset(), VObject::SetUpScan(), and VObPoint::update_offset(). |
|
Definition at line 70 of file app_vinfo.h. References Zfac. |
|
Definition at line 70 of file app_vinfo.h. References Zfac. Referenced by ViewControl::activate_obj(), ViewControl::AddObject(), and ViewControl::deactivate_obj(). |
|
|
|
Definition at line 138 of file app_vinfo.C. References Mem2d::GetNx(), Scan::mem2d, Scan::Pixel2World(), pixelmode, Qfac, sc, SCAN_COORD_RELATIVE, UnitObj::UsrStringSqr(), and Ux(). Referenced by VObRectangle::Update(). |
|
|
|
Definition at line 110 of file app_vinfo.C. References pixelmode, and Qfac. Referenced by VObPolyLine::Update(). |
|
|
|
Definition at line 182 of file app_vinfo.C. References Mem2d::GetNx(), Scan::mem2d, Scan::Pixel2World(), pixelmode, Qfac, sc, SCAN_COORD_RELATIVE, UnitObj::UsrString(), Ux(), and Uy(). Referenced by VObRectangle::Update(), VObPolyLine::Update(), and VObLine::Update(). |
|
|
|
Definition at line 68 of file app_vinfo.C. References cohen_sutherland_line_clip_d(), Mem2d::GetNx(), Mem2d::GetNy(), Scan::mem2d, NotClipped, Scan::Pixel2World(), pixelmode, Qfac, R2INT, sc, SCAN_COORD_RELATIVE, sqrt(), Ux(), Point2D::x, and Point2D::y. Referenced by VObCircle::Update(), and VObLine::Update(). |
|
|
|
Definition at line 59 of file app_vinfo.C. References Mem2d::GetNx(), Scan::GetWorldX(), Scan::mem2d, pixelmode, Qfac, sc, UnitObj::UsrString(), and Ux(). Referenced by VObParabel::Update(). |
|
|
|
Definition at line 161 of file app_vinfo.C. References Mem2d::GetNx(), Mem2d::GetNy(), MAX, Scan::mem2d, MIN, Scan::Pixel2World(), pixelmode, Qfac, R2INT, sc, sc_mode, UnitObj::UsrString(), Ux(), Uy(), Point2D::x, and Point2D::y. Referenced by VObCircle::Update(), VObRectangle::Update(), VObParabel::Update(), VObKsys::Update(), VObTrace::Update(), VObPolyLine::Update(), and VObLine::Update(). |
|
|
|
Definition at line 214 of file app_vinfo.C. References Scan::data, Scan_Param::dz, Mem2d::GetDataPkt(), Mem2d::GetNx(), Mem2d::GetNy(), MAX, Scan::mem2d, MIN, Scan::Pixel2World(), pixelmode, Qfac, R2INT, SCAN_DATA::s, sc, sc_mode, UnitObj::UsrString(), Ux(), Uy(), Uz(), Point2D::x, and Point2D::y. Referenced by ViewControl::canvas_event_cb(), VObEvent::Update(), and VObPoint::Update(). |
|
Definition at line 52 of file app_vinfo.h. References sc_mode. |
|
Definition at line 52 of file app_vinfo.h. References sc_mode. Referenced by ViewControl::view_view_coord_absolute_callback(), ViewControl::view_view_coord_pixels_callback(), ViewControl::view_view_coord_relative_callback(), and ViewInfo(). |
|
Definition at line 51 of file app_vinfo.h. References pixelmode. |
|
Definition at line 51 of file app_vinfo.h. References pixelmode. Referenced by ViewControl::view_view_coord_absolute_callback(), ViewControl::view_view_coord_pixels_callback(), ViewControl::view_view_coord_relative_callback(), and ViewInfo(). |
|
Definition at line 47 of file app_vinfo.h. |
|
Definition at line 47 of file app_vinfo.h. Referenced by ViewControl::Resize(). |
|
|
|
Definition at line 49 of file app_vinfo.C. References Scan::data, sc, ux, and SCAN_DATA::Xunit. Referenced by makeA2info(), makedXdYinfo(), makeDXYinfo(), makeXinfo(), makeXYinfo(), and makeXYZinfo(). |
|
|
|
Definition at line 52 of file app_vinfo.C. References Scan::data, sc, uy, and SCAN_DATA::Yunit. Referenced by makedXdYinfo(), makeXYinfo(), and makeXYZinfo(). |
|
|
|
Definition at line 55 of file app_vinfo.C. References Scan::data, sc, uz, and SCAN_DATA::Zunit. Referenced by makeXYZinfo(). |
|
|
|
Definition at line 253 of file app_vinfo.C. References Scan::Pixel2World(), Qfac, sc, and SCAN_COORD_ABSOLUTE. Referenced by VObject::save(). |
|
Definition at line 82 of file app_vinfo.h. Referenced by makeA2info(), makeDnXYinfo(), makedXdYinfo(), makeDXYinfo(), makeXinfo(), makeXYinfo(), makeXYZinfo(), and SetPixelUnit(). |
|
Definition at line 81 of file app_vinfo.h. Referenced by Angstroem2W(), GetQfac(), makeA2info(), makeDnXYinfo(), makedXdYinfo(), makeDXYinfo(), makeXinfo(), makeXYinfo(), makeXYZinfo(), SetQfZf(), ViewInfo(), and W2Angstroem(). |
|
Definition at line 76 of file app_vinfo.h. |
|
Definition at line 76 of file app_vinfo.h. Referenced by Angstroem2W(), ViewControl::CheckRedLine(), VObject::GoLocMax(), makeA2info(), makedXdYinfo(), makeDXYinfo(), makeXinfo(), makeXYinfo(), makeXYZinfo(), VObject::set_offset(), VObject::SetUpScan(), VObEvent::Update(), VObCircle::Update(), VObRectangle::Update(), VObKsys::Update(), VObLine::Update(), VObPoint::Update(), VObPoint::update_offset(), Ux(), Uy(), Uz(), ViewInfo(), and W2Angstroem(). |
|
Definition at line 83 of file app_vinfo.h. Referenced by makeXYinfo(), makeXYZinfo(), and SetCoordMode(). |
|
Definition at line 78 of file app_vinfo.h. |
|
Definition at line 78 of file app_vinfo.h. Referenced by ChangeXUnit(), ChangeXYUnit(), Ux(), and ViewInfo(). |
|
Definition at line 79 of file app_vinfo.h. |
|
Definition at line 79 of file app_vinfo.h. Referenced by ChangeXYUnit(), ChangeYUnit(), Uy(), and ViewInfo(). |
|
Definition at line 80 of file app_vinfo.h. |
|
Definition at line 80 of file app_vinfo.h. Referenced by ChangeZUnit(), Uz(), and ViewInfo(). |
|
Definition at line 81 of file app_vinfo.h. Referenced by GetZfac(), SetQfZf(), and ViewInfo(). |