Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::MGridline4Whiskey Class Reference
Inheritance diagram for Maria::MGridline4Whiskey:
Maria::MGridlineBase

Public Member Functions

 MGridline4Whiskey (GridLayout *pGL, const std::shared_ptr< RasterProjector > &vm, const MWhiskeyPos &whiskeyPos, double dMinLat, double dMinLon, double dMaxLat, double dMaxLon, bool bVertical, double dFixedNorthing, double dFixedEasting, double dGridSize, int nSteps, const std::string &strLab, MGrid4WhiskeyOriginReference originref, int nLinesX, int nLinesY, double minX, double minY, double maxX, double maxY, int subDivs, int mode, const std::vector< std::string > &alphaLables, const std::vector< std::string > &numericTics)
 
- Public Member Functions inherited from Maria::MGridlineBase
bool Valid ()
 
double GetSpacing ()
 
void SetSpacing (double spacing)
 
void SetPolar (bool bPolar)
 
void SetFlCache (const std::shared_ptr< FlCache > &flCache)
 
void SetHashTagVertcal (double tag)
 
void SetHashTagHorizontal (double tag)
 
void SetShowFrameTicks (bool b)
 
void SetShowInteriorTicks (bool b)
 
virtual void Init (const std::shared_ptr< RasterProjector > &vm, GridLayout *pGL, double dMinLat, double dMinLon, double dMaxLat, double dMaxLon, bool bVertical, double dFixedNorthing, double dFixedEasting, double dGridSize, int nSteps, std::string strLab)
 
virtual void Build (std::shared_ptr< STK::PolylineRender2D > &pfc, int &lastLineIx)
 

Protected Member Functions

bool GetLatLon (double dNorthing, double dEasting, double &dLat, double &dLon)
 
void OnCrossPoint (const BasicGeoTypes::PointDXY &p)
 
void BuildAdditionalLabel (const BasicGeoTypes::PointDXY &p)
 
void Advance (std::shared_ptr< STK::PolylineRender2D > &pfc, std::vector< STK::Vector2f > &pf, int &lastLineIx)
 
GridEdges IsCrossingEdge (const BasicGeoTypes::PointDXY &pt) const
 
void MakeLabelStrings (bool bNorthing, std::string &strMajor, std::string &strMinor)
 
bool GetMinMaxNorthing ()
 
bool GetMinMaxEasting ()
 
bool GetNorthing (double Easting, double atLat, double &Northing)
 Helpers.
 
bool GetEasting (double Northing, double atLat, double &Easting)
 
- Protected Member Functions inherited from Maria::MGridlineBase
virtual bool GetLatLon (double dNorthing, double dEasting, double &dLat, double &dLon)
 
virtual bool GetLatLon (double &dLat, double &dLon)
 
virtual bool GetMinMaxNorthing ()
 
virtual bool GetMinMaxEasting ()
 
virtual void MakeLabelStrings (bool bNorthing, std::string &strMajor, std::string &strMinor)
 
virtual void MakeFrameLabelStrings (bool bNorthing, std::string &strMajor, std::string &strMinor)
 
virtual void OnCrossPoint (const BasicGeoTypes::PointDXY &p)
 
virtual void OnCrossingEdge (const BasicGeoTypes::PointDXY &p, GridEdges nEdge)
 
virtual void OnPoint (const BasicGeoTypes::PointDXY &p)
 
virtual void BuildFrameLabel (const BasicGeoTypes::PointDXY &p, GridEdges nEdge)
 
virtual void BuildAdditionalLabel (const BasicGeoTypes::PointDXY &p)
 
bool IsInside (const BasicGeoTypes::PointDXY &pt) const
 
virtual GridEdges IsCrossingEdge (const BasicGeoTypes::PointDXY &pt) const
 
double GetEdgePoint (const BasicGeoTypes::PointDXY &pt, GridEdges nEdge) const
 
virtual bool GetPoint (BasicGeoTypes::PointDXY &pt)
 
virtual void Advance (std::shared_ptr< STK::PolylineRender2D > &pfc, std::vector< STK::Vector2f > &pf, int &lastLineIx)
 

Protected Attributes

MWhiskeyPos _WhiskeyPos
 
MGrid4WhiskeyOriginReference _originref
 
int _nLinesX
 
int _nLinesY
 
double _minX
 
double _minY
 
double _maxX
 
double _maxY
 
int _subDivs
 
int _mode
 
std::vector< std::string > _alphaLables
 
std::vector< std::string > _numericTics
 
- Protected Attributes inherited from Maria::MGridlineBase
std::shared_ptr< RasterProjectorm_vm
 
GridLayoutm_pGL
 
bool m_bOK
 
bool m_bVertical
 
double m_dGridSize
 
double m_dSpacing
 
int m_nSteps
 
std::string m_strLab
 
double m_dMinLat
 
double m_dMaxLat
 
double m_dMinLon
 
double m_dMaxLon
 
double m_dNorthing
 
double m_dMinNorthing
 
double m_dMaxNorthing
 
double m_dEasting
 
double m_dMinEasting
 
double m_dMaxEasting
 
double m_dStart
 
bool m_bValid
 
bool m_bPolar
 
double m_dLat
 
double m_dLon
 
BasicGeoTypes::RectD m_rect
 
BasicGeoTypes::RectD m_rectW
 
BasicGeoTypes::PointDXY m_pt
 
std::shared_ptr< FlCache_flCache
 
bool _showFrameTicks
 
bool _showInteriorTicks
 
double _hashTagVertical
 
double _hashTagHorizontal
 

Member Function Documentation

◆ Advance()

void MGridline4Whiskey::Advance ( std::shared_ptr< STK::PolylineRender2D > &  pfc,
std::vector< STK::Vector2f > &  pf,
int &  lastLineIx 
)
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ BuildAdditionalLabel()

void MGridline4Whiskey::BuildAdditionalLabel ( const BasicGeoTypes::PointDXY p)
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ GetLatLon()

bool MGridline4Whiskey::GetLatLon ( double  dNorthing,
double  dEasting,
double &  dLat,
double &  dLon 
)
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ GetMinMaxEasting()

bool Maria::MGridline4Whiskey::GetMinMaxEasting ( )
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ GetMinMaxNorthing()

bool Maria::MGridline4Whiskey::GetMinMaxNorthing ( )
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ IsCrossingEdge()

GridEdges MGridline4Whiskey::IsCrossingEdge ( const BasicGeoTypes::PointDXY pt) const
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ MakeLabelStrings()

void MGridline4Whiskey::MakeLabelStrings ( bool  bNorthing,
std::string &  strMajor,
std::string &  strMinor 
)
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ OnCrossPoint()

void MGridline4Whiskey::OnCrossPoint ( const BasicGeoTypes::PointDXY p)
protectedvirtual

Reimplemented from Maria::MGridlineBase.


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