本文整理汇总了C++中BPoint::get_n方法的典型用法代码示例。如果您正苦于以下问题:C++ BPoint::get_n方法的具体用法?C++ BPoint::get_n怎么用?C++ BPoint::get_n使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BPoint
的用法示例。
在下文中一共展示了BPoint::get_n方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: m_E
//.........这里部分代码省略.........
{
cerr << endl << endl;
cerr << "error in forward intersection!" <<flush;
}
else
{
I.m_x_local =p.get_X();
I.m_y_local =p.get_Y();
I.m_z_local =p.get_Z();
I.m_stdx_local=p.get_dX();
I.m_stdy_local=p.get_dY();
I.m_stdz_local=p.get_dZ();
//control
info=true;
m_is_calc_vws=true;
m_is_set_LocalMeasurementPoint=true;
}
}
//calculate a point on the epipolarline
if( lCam_bore.size() == 2 && lBPoint.size() == 1 &&
m_is_set_distance_epi
)
{
Cam *cam = new Cam(*lCam_bore.rbegin());
BPoint bp = lBPoint.begin()->get_KernlinenPunkt( *cam , I.m_distance_epi );
delete cam;
I.m_m = bp.get_m();
I.m_n = bp.get_n();
m_is_set_distance_epi = false;
m_is_calc_epipolarline =true;
info=true;
}
//forward intersection from a pixel coordinate to a object ray into a plane
//for e.g. mono photogrammetrie with one cam and informations about the ground surface
if( lCam_bore.size() == 1 &&
m_is_set_RefGroundSurface
)
{
//create a plane
Ebene E(I.m_nx,I.m_ny,I.m_nz,I.m_d);
//rotation parameter boreside
Point BT;
BT = (lCam_bore.rbegin())->get_B();
Rotation_matrix BR(Rotation_matrix::math,lCam_bore.rbegin()->get_B_rotx(),lCam_bore.rbegin()->get_B_roty(),lCam_bore.rbegin()->get_B_rotz());
E=E.RotationRueck(BT,BR);
Cam *cam = new Cam(*lCam_bore.rbegin());
BPoint bp(*cam,I.m_m,I.m_n);
Point p;
p = bp.calc_mono_cam_to_plane_intersection(E);
I.m_x_local =p.get_X();
I.m_y_local =p.get_Y();