Home
last modified time | relevance | path

Searched refs:SGQuatd (Results 1 – 25 of 58) sorted by relevance

123

/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/
H A Drad_alt.cxx177 SGQuatd hlTrans = SGQuatd::fromLonLat(globals->get_aircraft_position()); in getCartAntennaPos()
181 hlTrans *= SGQuatd::fromYawPitchRollDeg(yaw,pitch,roll); in getCartAntennaPos()
200 SGQuatd offset = SGQuatd::fromYawPitchRollDeg(az, el + tilt, 0); in rayVector()
203 SGQuatd hlTrans = SGQuatd::fromLonLat(globals->get_aircraft_position()); in rayVector()
207 hlTrans *= SGQuatd::fromYawPitchRollDeg(yaw, in rayVector()
/dports/games/flightgear/flightgear-2020.3.11/src/Cockpit/
H A Dagradar.cxx159 SGQuatd hlTrans = SGQuatd::fromLonLat(userpos); in getCartAntennaPos()
163 hlTrans *= SGQuatd::fromYawPitchRollDeg(yaw,pitch,roll); in getCartAntennaPos()
191 SGQuatd offset = SGQuatd::fromYawPitchRollDeg(az + trk, el + tilt, 0); in setUserVec()
194 SGQuatd hlTrans = SGQuatd::fromLonLat(antennapos); in setUserVec()
198 hlTrans *= SGQuatd::fromYawPitchRollDeg(yaw, in setUserVec()
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/model/
H A Dplacement.cxx70 SGQuatd orient = SGQuatd::fromLonLat(_position); in update()
71 orient *= SGQuatd::fromYawPitchRollDeg(_heading_deg, _pitch_deg, _roll_deg); in update()
74 orient *= SGQuatd::fromRealImag(0, SGVec3d(0, 1, 0)); in update()
125 SGModelPlacement::setOrientation (const SGQuatd& orientation) in setOrientation()
/dports/games/flightgear/flightgear-2020.3.11/utils/fgai/
H A DAIPhysics.hxx42 const SGQuatd& getOrientation() const in getOrientation()
46 const SGQuatd& getHorizontalLocalOrientation() const in getHorizontalLocalOrientation()
49 SGQuatd getGeodOrientation() const in getGeodOrientation()
103 SGQuatd _horizontalLocalOrientation;
H A DAIPhysics.cxx44 _horizontalLocalOrientation = SGQuatd::fromLonLat(_geodPosition); in AIPhysics()
81 _horizontalLocalOrientation = SGQuatd::fromLonLat(_geodPosition); in advanceByBodyVelocity()
95 _horizontalLocalOrientation = SGQuatd::fromLonLat(_geodPosition); in advanceToLocation()
101 …_angularBodyVelocity = SGQuatd::forwardDifferenceVelocity(_location.getOrientation(), location.get… in advanceToLocation()
H A Dfgai.cxx78 return SGQuatd::fromLonLat(getGeodPosition()).backTransform(SGVec3d(0, 0, 9.81));
155 SGQuatd stabilityToBody = SGQuatd::fromEulerRad(beta, alpha, 0);
325 SGLocationd location(SGVec3d::fromGeod(_geod), SGQuatd::fromLonLat(_geod)); in init()
446 SGQuatd hl = SGQuatd::fromLonLat(rwyStart); in init()
461 …SGLocationd location(SGVec3d::fromGeod(rwyStart), SGQuatd::fromLonLat(rwyStart)*SGQuatd::fromEuler… in init()
/dports/devel/simgear/simgear-2020.3.11/simgear/hla/
H A DHLALocation.cxx71 SGQuatd
74 …return SGQuatd::fromPositiveRealImag(SGVec3d(_imag[0].getValue(), _imag[1].getValue(), _imag[2].ge… in getCartOrientation()
78 HLACartesianLocation::setCartOrientation(const SGQuatd& orientation) in setCartOrientation()
287 _cartOrientation(SGQuatd::unit()), in Location()
318 virtual SGQuatd getCartOrientation() const in getCartOrientation()
320 virtual void setCartOrientation(const SGQuatd& orientation) in setCartOrientation()
516 SGQuatd geodOrientation = inverse(SGQuatd::fromLonLat(_geodPosition))*_cartOrientation; in updateGeodeticFromCartesian()
532SGQuatd geodOrientation = SGQuatd::fromEulerRad(_geodEulerRad[2], _geodEulerRad[1], _geodEulerRad[… in updateCartesianFromGeodetic()
533 _cartOrientation = SGQuatd::fromLonLat(_geodPosition)*geodOrientation; in updateCartesianFromGeodetic()
545 mutable SGQuatd _cartOrientation;
H A DHLALocation.hxx39 virtual SGQuatd getCartOrientation() const = 0;
40 virtual void setCartOrientation(const SGQuatd&) = 0;
71 virtual SGQuatd getCartOrientation() const;
72 virtual void setCartOrientation(const SGQuatd& orientation);
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/util/
H A DSGUpdateVisitor.hxx40 const SGQuatd& globalViewOrientation) in setViewData()
46 mGlobalHorizLocalOr = SGQuatd::fromLonLat(mGlobalGeodEyePos); in setViewData()
100 const SGQuatd& getGlobalViewOr() const in getGlobalViewOr()
102 const SGQuatd& getGlobalHorizLocalOr() const in getGlobalHorizLocalOr()
205 SGQuatd mGlobalViewOr;
206 SGQuatd mGlobalHorizLocalOr;
H A DOsgMath.hxx93 SGQuatd
95 { return SGQuatd(q[0], q[1], q[2], q[3]); } in toSG()
99 toOsg(const SGQuatd& q) in toOsg()
108 { return osg::Matrix(toOsg(SGQuatd::fromLonLat(geod))); } in makeSimulationFrameRelative()
/dports/games/flightgear/flightgear-2020.3.11/src/Viewer/
H A Dview.cxx798 SGQuatd hlOr = SGQuatd::fromLonLat(_position); in recalcLookFrom()
801 SGQuatd hlToBody = SGQuatd::fromYawPitchRollDeg(head, pitch, roll); in recalcLookFrom()
810 SGQuatd ec2body = hlOr*hlToBody; in recalcLookFrom()
817 SGQuatd q(-0.5, -0.5, 0.5, 0.5); in recalcLookFrom()
988 SGQuatd geodTargetOr = SGQuatd::fromYawPitchRollDeg(_target_heading_deg, in recalcLookAt()
991 SGQuatd geodTargetHlOr = SGQuatd::fromLonLat(_target); in recalcLookAt()
1056 SGQuatd geodEyeOr = SGQuatd::fromYawPitchRollDeg(eye_heading, eye_pitch, eye_roll); in recalcLookAt()
1057 SGQuatd geodEyeHlOr = SGQuatd::fromLonLat(_position); in recalcLookAt()
1067 SGQuatd ec2eye = geodEyeHlOr*geodEyeOr; in recalcLookAt()
1374 static const SGQuatd fsb2sta() in fsb2sta()
[all …]
H A Dview.hxx176 const SGQuatd& getViewOrientation() { if ( _dirty ) { recalc(); } return mViewOrientation; } in getViewOrientation()
177 const SGQuatd& getViewOrientationOffset() { if ( _dirty ) { recalc(); } return mViewOffsetOr; } in getViewOrientationOffset()
323 SGQuatd mViewOrientation;
324 SGQuatd mViewOffsetOr;
/dports/devel/simgear/simgear-2020.3.11/simgear/sound/
H A Dsample_group.hxx195 void set_orientation( const SGQuatd& ori ) { in set_orientation()
234 SGQuatd _orientation = SGQuatd::zeros();
H A Dsample.hxx240 SGQuatd _orientation; // base orientation
244 SGQuatd _rotation;
520 inline void set_orientation( const SGQuatd& ori ) { in set_orientation()
524 inline void set_rotation( const SGQuatd& ec2body ) { in set_rotation()
H A Dsample.cxx56 _orientation(SGQuatd::zeros()), in SGSoundSampleInfo()
59 _rotation(SGQuatd::zeros()) in SGSoundSampleInfo()
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/AIWake/
H A DAIWakeGroup.cxx61 SGQuatd Te2l = SGQuatd::fromLonLatRad(geoc.getLongitudeRad(), in AddAI()
63 data.Te2b = Te2l * SGQuatd::fromYawPitchRollDeg(ai->_getHeading(), in AddAI()
H A DAircraftMesh.cxx47 void AircraftMesh::setPosition(const SGVec3d& _pos, const SGQuatd& orient) in setPosition()
51 SGQuatd Te2l = SGQuatd::fromLonLatRad(geoc.getLongitudeRad(), in setPosition()
H A DAIWakeGroup.hxx41 SGQuatd Te2b {SGQuatd::unit()};
H A DAircraftMesh.hxx36 void setPosition(const SGVec3d& pos, const SGQuatd& orient);
44 SGQuatd Te2b;
/dports/games/flightgear/flightgear-2020.3.11/utils/fgviewer/
H A DHLAPerspectiveViewer.hxx46 const SGQuatd& getOrientation() const in getOrientation()
48 void setOrientation(const SGQuatd& orientation) in setOrientation()
H A DHLAView.hxx54 const SGQuatd& getOrientation() const in getOrientation()
56 void setOrientation(const SGQuatd& orientation) in setOrientation()
H A DHLACamera.hxx60 const SGQuatd& getOrientation() const in getOrientation()
62 void setOrientation(const SGQuatd& orientation) in setOrientation()
/dports/games/flightgear/flightgear-2020.3.11/src/AIModel/
H A DAIShip.cxx224 SGQuatd ec2hl = SGQuatd::fromLonLat(pos); in update()
226 SGQuatd hl2body = SGQuatd::fromYawPitchRollDeg(hdg, pitch, roll); in update()
229 SGQuatd ec2body = ec2hl*hl2body; in update()
251 SGQuatd ec2hlNew = SGQuatd::fromLonLat(pos); in update()
253 SGQuatd hl2bodyNew = SGQuatd::fromYawPitchRollDeg(hdg, pitch, roll); in update()
255 SGQuatd dOr = inverse(ec2body)*ec2hlNew*hl2bodyNew; in update()
/dports/devel/simgear/simgear-2020.3.11/simgear/scene/tgdb/
H A Dobj.cxx76 SGQuatd hlOr = SGQuatd::fromLonLat(geodPos)*SGQuatd::fromEulerDeg(0, 0, 180); in SGLoadBTG()
H A DSGOceanTile.cxx107 void calcMesh(const SGVec3d& cartCenter, const SGQuatd& orient,
116 void OceanMesh::calcMesh(const SGVec3d& cartCenter, const SGQuatd& orient, in calcMesh()
301 SGQuatd hlOr = SGQuatd::fromLonLat(geodPos)*SGQuatd::fromEulerDeg(0, 0, 180); in SGOceanTile()

123