Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria3D::GeoTransform Class Reference

#include <M3DGeoTransform.h>

Public Member Functions

 GeoTransform (std::shared_ptr< LocalOrigin > origin)
 
bool isTransformDirty () const
 
void setGeodetic (double lat, double lon, double alt)
 
double getLatitude () const
 
double getLongitude () const
 
double getAltitude () const
 
void setGeocentric (const STK::Vector3d &pos_geoc)
 
const STK::Vector3dgetGeocentric () const
 
void setBasisMatrix (const STK::Matrix4x4f &m)
 
bool hasBasisMatrix () const
 
std::shared_ptr< const LocalOrigingetLocalOrigin () const
 
void setBodyOffset (const STK::Vector3f &offset)
 
void setSurfaceOriented (bool surfaceOriented)
 
bool isSurfaceOriented () const
 
void setOrientation (double roll, double pitch, double yaw)
 
double getRoll () const
 
double getPitch () const
 
double getYaw () const
 
void setScale (double scale)
 Set uniform scale.
 
double getScale () const
 
const STK::Matrix4x4fgetTransform ()
 

Static Public Attributes

static double ToleranceDegrees = 1e-6
 
static double ToleranceMeters = 1e-6
 

Protected Member Functions

void setTransformDirty (bool dirty)
 
bool isOriginDirty () const
 
void updateTransform ()
 

Protected Attributes

std::shared_ptr< LocalOriginlocal_origin_
 
unsigned long origin_gen_
 
double lat_
 
double lon_
 
double alt_
 
double roll_
 
double pitch_
 
double yaw_
 
double scale_
 
STK::Vector3f body_offset_
 
STK::Vector3d pos_geoc_
 
STK::Matrix4x4f basis_
 
bool has_basis_
 
STK::Matrix4x4f transform_
 
bool surfaceOriented_
 
bool xfm_dirty_
 

Detailed Description

GeoTransform - Short description. Detailed description.

Member Function Documentation

◆ setBodyOffset()

void Maria3D::GeoTransform::setBodyOffset ( const STK::Vector3f offset)
inline

Set offset in body coordinates.

◆ setOrientation()

void Maria3D::GeoTransform::setOrientation ( double  roll,
double  pitch,
double  yaw 
)
inline

Set body rotations in degrees. These orientations are relative to the earth surface:

  • roll is rotation about the x-axis
  • pitch is rotation about the y-axis
  • yaw is rotation about the z-axis

The documentation for this class was generated from the following files: