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

Public Member Functions

 MGridlineCgrs (GridLayout *pGL, const std::shared_ptr< RasterProjector > &vm, const MCgrsPos &cgrs, int nMode, double dMinLat, double dMinLon, double dMaxLat, double dMaxLon, double dMinNorthing, double dMaxNorthing, double dMinEasting, double dMaxEasting, bool bVertical, double dFixedNorthing, double dFixedEasting, double dGridSize, const std::vector< std::string > &alphaLabels, const std::vector< std::string > &numericTics)
 
void Build (std::shared_ptr< STK::PolylineRender2D > &pfc, int &lastLineIx)
 
- 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 GetMinMaxNorthing ()
 
bool GetMinMaxEasting ()
 
bool GetLatLon (double dNorthing, double dEasting, double &dLat, double &dLon)
 
void Advance (std::shared_ptr< STK::PolylineRender2D > &pfc, std::vector< STK::Vector2f > &pf, int &lastLineIx)
 
void OnCrossPoint (const BasicGeoTypes::PointDXY &p)
 
void MakeLabelStrings (bool bNorthing, std::string &strMajor, std::string &strMinor)
 
void BuildAdditionalLabel (const BasicGeoTypes::PointDXY &p)
 
- 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)
 

Additional Inherited Members

- 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 MGridlineCgrs::Advance ( std::shared_ptr< STK::PolylineRender2D > &  pfc,
std::vector< STK::Vector2f > &  pf,
int &  lastLineIx 
)
protectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ Build()

void Maria::MGridlineCgrs::Build ( std::shared_ptr< STK::PolylineRender2D > &  pfc,
int &  lastLineIx 
)
inlinevirtual

Reimplemented from Maria::MGridlineBase.

◆ BuildAdditionalLabel()

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

Reimplemented from Maria::MGridlineBase.

◆ GetLatLon()

bool Maria::MGridlineCgrs::GetLatLon ( double  dNorthing,
double  dEasting,
double &  dLat,
double &  dLon 
)
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ GetMinMaxEasting()

bool Maria::MGridlineCgrs::GetMinMaxEasting ( )
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ GetMinMaxNorthing()

bool Maria::MGridlineCgrs::GetMinMaxNorthing ( )
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.

◆ MakeLabelStrings()

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

Reimplemented from Maria::MGridlineBase.

◆ OnCrossPoint()

void Maria::MGridlineCgrs::OnCrossPoint ( const BasicGeoTypes::PointDXY p)
inlineprotectedvirtual

Reimplemented from Maria::MGridlineBase.


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