35 #include <QVBoxLayout>
36 #include <QPushButton>
37 #include <QTableWidget>
38 #include <QTableWidgetItem>
39 #include <QHeaderView>
42 #include <QGridLayout>
44 #include <vtkDoubleArray.h>
62 LandmarkPatientRegistrationWidget::LandmarkPatientRegistrationWidget(
RegServices services,
63 QWidget* parent, QString objectName, QString windowTitle) :
99 QHBoxLayout* buttonsLayout =
new QHBoxLayout;
111 void LandmarkPatientRegistrationWidget::globalConfigurationFileChangedSlot(QString key)
113 if (key ==
"giveManualToolPhysicalProperties")
131 bool enabled =
false;
152 Vector3D p_pr = lastTransform_prMt.coord(
Vector3D(0, 0, tool->getTooltipOffset()));
180 rep->setSecondaryColor(QColor::fromRgbF(0, 0.6, 0.8));
QString qstring_cast(const T &val)
void reportError(QString msg)
static ImageLandmarksSourcePtr New()
One landmark, or fiducial, coordinate.
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
QVariant value(const QString &key, const QVariant &defaultValue=QVariant()) const
void fixedDataChanged(QString uid)
void valueChangedFor(QString key)
static PatientLandmarksSourcePtr New(PatientModelServicePtr dataManager)
void setPrimarySource(LandmarksSourcePtr primary)
Settings * settings()
Shortcut for accessing the settings instance.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
VisualizationServicePtr visualizationService
boost::shared_ptr< LandmarksSource > LandmarksSourcePtr
std::map< QString, class Landmark > LandmarkMap
TrackingServicePtr trackingService
PatientModelServicePtr patientModelService
boost::shared_ptr< class LandmarkRep > LandmarkRepPtr
RegistrationServicePtr registrationService
boost::shared_ptr< class Tool > ToolPtr