OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
opencover::coTUIEarthMap Class Reference

#include <coTabletUI.h>

Inheritance diagram for opencover::coTUIEarthMap:
Inheritance graph
[legend]
Collaboration diagram for opencover::coTUIEarthMap:
Collaboration graph
[legend]

Public Member Functions

 coTUIEarthMap (const char *, int pID=1)
 
virtual ~coTUIEarthMap ()
 
virtual void setPosition (float latitude, float longitude, float altitude)
 
virtual void resend (bool create) override
 
virtual void parseMessage (covise::TokenBuffer &tb) override
 
void addPathNode (float latitude, float longitude)
 
void updatePath ()
 
void setMinMax (float minH, float maxH)
 
- Public Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID=1)
 
 coTUIElement (QObject *parent, const std::string &, int pID)
 
 coTUIElement (QObject *parent, const std::string &, int pID, int type)
 
virtual ~coTUIElement ()
 
virtual void setEventListener (coTUIListener *)
 
virtual coTUIListenergetMenuListener () override
 
void createSimple (int type)
 
coTabletUItui () const
 

Public Attributes

float latitude
 
float longitude
 
float altitude
 
float minHeight
 
float maxHeight
 
std::list< std::pair< float,
float > > 
path
 

Additional Inherited Members

- Public Slots inherited from opencover::coTUIElement
void setVal (const std::string &value)
 
void setVal (bool value)
 
void setVal (int value)
 
void setVal (float value)
 
void setVal (int type, int value)
 
void setVal (int type, float value)
 
void setVal (int type, int value, const std::string &nodePath)
 
void setVal (int type, const std::string &nodePath, const std::string &simPath, const std::string &simName)
 
void setVal (int type, int value, const std::string &nodePath, const std::string &simPath)
 
int getID () const
 
virtual void setPos (int, int) override
 
virtual void setSize (int, int) override
 
virtual void setLabel (const char *l) override
 
virtual void setLabel (const std::string &l)
 
virtual void setColor (Qt::GlobalColor)
 
virtual void setHidden (bool)
 
virtual void setEnabled (bool)
 
std::string getName () const
 
- Protected Member Functions inherited from opencover::coTUIElement
 coTUIElement (const std::string &, int pID, int type)
 
 coTUIElement (coTabletUI *tui, const std::string &, int pID, int type)
 
- Protected Attributes inherited from opencover::coTUIElement
int type = -1
 
int parentID
 
std::string label
 label of this element More...
 
int ID
 unique ID More...
 
int xs
 
int ys
 
int xp
 
int yp
 
Qt::GlobalColor color
 
bool hidden = false
 
bool enabled = true
 
coTUIListenerlistener = nullptr
 event listener More...
 
coTabletUIm_tui = nullptr
 
- Properties inherited from opencover::coTUIElement
int id
 
std::string name
 name of this element More...
 

Detailed Description

an earth Map Widget

Constructor & Destructor Documentation

opencover::coTUIEarthMap::coTUIEarthMap ( const char *  ,
int  pID = 1 
)
virtual opencover::coTUIEarthMap::~coTUIEarthMap ( )
virtual

Member Function Documentation

void opencover::coTUIEarthMap::addPathNode ( float  latitude,
float  longitude 
)
virtual void opencover::coTUIEarthMap::parseMessage ( covise::TokenBuffer &  tb)
overridevirtual

Reimplemented from opencover::coTUIElement.

virtual void opencover::coTUIEarthMap::resend ( bool  create)
overridevirtual

Reimplemented from opencover::coTUIElement.

void opencover::coTUIEarthMap::setMinMax ( float  minH,
float  maxH 
)
virtual void opencover::coTUIEarthMap::setPosition ( float  latitude,
float  longitude,
float  altitude 
)
virtual
void opencover::coTUIEarthMap::updatePath ( )

Member Data Documentation

float opencover::coTUIEarthMap::altitude
float opencover::coTUIEarthMap::latitude
float opencover::coTUIEarthMap::longitude
float opencover::coTUIEarthMap::maxHeight
float opencover::coTUIEarthMap::minHeight
std::list<std::pair<float, float> > opencover::coTUIEarthMap::path

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