GlobeEngine
geAstro::Comparisoner Class Reference

#include <Comparisoner.h>

Public Member Functions

 Comparisoner ()
 
 ~Comparisoner ()
 
void clear ()
 
void createComparison ()
 
void drawComparison ()
 
void drawComparisonGrid ()
 
void addPlanet (std::shared_ptr< Planet > _planet)
 
void addPlanet (std::vector< std::shared_ptr< Planet > > _planets)
 
void removePlanet (std::shared_ptr< Planet > _planet)
 
void togglePlanetMarking (std::shared_ptr< Planet > _planet)
 
void clearPlanets ()
 
void setXProperty (ComparisonProperty _xProperty)
 
void setYProperty (ComparisonProperty _yProperty)
 
ComparisonProperty getXProperty ()
 
ComparisonProperty getYProperty ()
 
void setCamera (std::shared_ptr< ge::OrthographicMapCamera > _cam)
 
void setupComparisonGrid (std::shared_ptr< ge::Shader > _shader)
 
void newNumberOfXLines (int _lines)
 
void newNumberOfYLines (int _lines)
 
void newXRangeMin (double _newMin)
 
void newXRangeMax (double _newMax)
 
void newYRangeMin (double _newMin)
 
void newYRangeMax (double _newMax)
 
const vmml::Vector2d & getPropertyValuesMin ()
 
const vmml::Vector2d & getPropertyValuesMax ()
 
const vmml::Vector2i & getInitialNumberOfLines ()
 
const vmml::Vector2i & getCurrentNumberOfLines ()
 
void createLabelInfos ()
 
std::vector< ComparisonLabelInfo > & getAxisLabelInfos ()
 
std::vector< ComparisonLabelInfo > & getPlanetAxisLabelInfos ()
 
std::vector< ComparisonLabelInfo > & getPlanetNameLabelInfos ()
 
std::vector< ComparisonLabelInfo > & getMarkedPlanetAxisLabelInfos ()
 
std::vector< ComparisonLabelInfo > & getMarkedPlanetNameLabelInfos ()
 
void resetCamera ()
 

Constructor & Destructor Documentation

geAstro::Comparisoner::Comparisoner ( )
geAstro::Comparisoner::~Comparisoner ( )

Member Function Documentation

void geAstro::Comparisoner::addPlanet ( std::shared_ptr< Planet _planet)
void geAstro::Comparisoner::addPlanet ( std::vector< std::shared_ptr< Planet > >  _planets)
void geAstro::Comparisoner::clear ( )
void geAstro::Comparisoner::clearPlanets ( )
void geAstro::Comparisoner::createComparison ( )
void geAstro::Comparisoner::createLabelInfos ( )
void geAstro::Comparisoner::drawComparison ( )
void geAstro::Comparisoner::drawComparisonGrid ( )
std::vector< ComparisonLabelInfo > & geAstro::Comparisoner::getAxisLabelInfos ( )

generate labels for all grid lines (not used at the moment) *for (int i = 0; i < lineCoordinatesX.size(); i++){

generate labels for all grid lines (not used at the moment) *for (int i = 0; i < lineCoordinatesY.size(); i++){

const vmml::Vector2i & geAstro::Comparisoner::getCurrentNumberOfLines ( )
const vmml::Vector2i & geAstro::Comparisoner::getInitialNumberOfLines ( )
std::vector< ComparisonLabelInfo > & geAstro::Comparisoner::getMarkedPlanetAxisLabelInfos ( )
std::vector< ComparisonLabelInfo > & geAstro::Comparisoner::getMarkedPlanetNameLabelInfos ( )
std::vector< ComparisonLabelInfo > & geAstro::Comparisoner::getPlanetAxisLabelInfos ( )
std::vector< ComparisonLabelInfo > & geAstro::Comparisoner::getPlanetNameLabelInfos ( )
const vmml::Vector2d & geAstro::Comparisoner::getPropertyValuesMax ( )
const vmml::Vector2d & geAstro::Comparisoner::getPropertyValuesMin ( )
ComparisonProperty geAstro::Comparisoner::getXProperty ( )
ComparisonProperty geAstro::Comparisoner::getYProperty ( )
void geAstro::Comparisoner::newNumberOfXLines ( int  _lines)
void geAstro::Comparisoner::newNumberOfYLines ( int  _lines)
void geAstro::Comparisoner::newXRangeMax ( double  _newMax)
void geAstro::Comparisoner::newXRangeMin ( double  _newMin)
void geAstro::Comparisoner::newYRangeMax ( double  _newMax)
void geAstro::Comparisoner::newYRangeMin ( double  _newMin)
void geAstro::Comparisoner::removePlanet ( std::shared_ptr< Planet _planet)
void geAstro::Comparisoner::resetCamera ( )
void geAstro::Comparisoner::setCamera ( std::shared_ptr< ge::OrthographicMapCamera _cam)
void geAstro::Comparisoner::setupComparisonGrid ( std::shared_ptr< ge::Shader _shader)
void geAstro::Comparisoner::setXProperty ( ComparisonProperty  _xProperty)
void geAstro::Comparisoner::setYProperty ( ComparisonProperty  _yProperty)
void geAstro::Comparisoner::togglePlanetMarking ( std::shared_ptr< Planet _planet)

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