1#include "MosaicTrackTool.h"
6#include "MosaicSceneWidget.h"
8#include "TProjection.h"
18 QStatusBar *status) : MosaicTool(scene) {
27 this, SLOT(labelDestroyed(
QObject *)));
35 this, SLOT(labelDestroyed(
QObject *)));
43 this, SLOT(labelDestroyed(
QObject *)));
51 this, SLOT(labelDestroyed(
QObject *)));
57 MosaicTrackTool::~MosaicTrackTool() {
76 void MosaicTrackTool::mouseMove(QPointF p) {
95 void MosaicTrackTool::labelDestroyed(
QObject *obj) {
128 Projection *proj = getWidget()->getProjection();
136 proj->SetCoordinate(p.x(), -1 * p.y());
150 p_xLabel->setText(
"X " + QString::number(p.x()));
155 p_yLabel->setText(
"Y " + QString::number(-1 * p.y()));
Base class for Map Projections.
@ Triaxial
These projections are used to map triaxial and irregular-shaped bodies.
ProjectionType projectionType() const
Returns an enum value for the projection type.
Base class for Map TProjections.
virtual double Latitude() const
This returns a latitude with correct latitude type as specified in the label object.
virtual double Longitude() const
This returns a longitude with correct longitude direction and domain as specified in the label object...
This is free and unencumbered software released into the public domain.