MCPcopy Create free account
hub / github.com/OctoMap/octomap / ViewerSettingsPanelCamera

Method ViewerSettingsPanelCamera

octovis/src/ViewerSettingsPanelCamera.cpp:28–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include <iostream>
27
28ViewerSettingsPanelCamera::ViewerSettingsPanelCamera(QWidget *parent)
29: QWidget(parent), m_currentFrame(1), m_numberFrames(0), m_robotTrajectoryAvailable(false)
30{
31 ui.setupUi(this);
32 connect(ui.posX, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
33 connect(ui.posY, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
34 connect(ui.posZ, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
35 connect(ui.lookX, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
36 connect(ui.lookY, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
37 connect(ui.lookZ, SIGNAL(valueChanged(double)), this, SLOT(positionEditDone(double)));
38
39 ui.followTrajectoryButton->setEnabled(m_robotTrajectoryAvailable);
40 dataChanged();
41}
42
43ViewerSettingsPanelCamera::~ViewerSettingsPanelCamera()
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected