ManipulationAttributesEditTab.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package MemoryX::MemoryX::PriorMemoryEditorPlugin
17
* @author Kai Welke (welke at kit dot edu)
18
* @date 2013
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <QWidget>
26
27
#include "../EntityAttributesEditTab.h"
28
#include <
MemoryX/core/entity/Entity.h
>
29
30
namespace
Ui
31
{
32
class
ManipulationAttributesEditTab;
33
}
34
35
namespace
memoryx
36
{
37
38
/**
39
* This tab allows to change the simox attributes of an objectclass entity.
40
**/
41
class
ManipulationAttributesEditTab
:
public
EntityAttributesEditTab
42
{
43
Q_OBJECT
44
45
public
:
46
explicit
ManipulationAttributesEditTab
(
47
armarx::RobotStateComponentInterfacePrx
robotStateComponent,
48
QWidget* parent = 0);
49
~ManipulationAttributesEditTab
()
override
;
50
51
/**
52
* Pure virtual method. Implement this in order to update the dialog with the information
53
* contained in the entity provided as parameter.
54
*
55
* @param entity the entity used for updating the Gui
56
**/
57
void
updateGui
(
const
EntityPtr
& entity)
override
;
58
59
/**
60
* Pure virtual method. Implement this in order to update the entity with information
61
* edited in the gui
62
*
63
* @param entity the entity to update
64
**/
65
void
updateEntity
(
const
EntityPtr
& entity, std::string filesDBName)
override
;
66
67
public
slots:
68
void
manipulationFileSelected
();
69
void
visuFileSelected
();
70
void
collisionFileSelected
();
71
void
editGrasps
();
72
73
void
update
();
74
75
private
:
76
Ui::ManipulationAttributesEditTab* ui;
77
QFileDialog* manipulationFileDialog;
78
QFileDialog* visuFileDialog;
79
QFileDialog* collisionFileDialog;
80
armarx::RobotStateComponentInterfacePrx
robotStateComponent;
81
};
82
}
// namespace memoryx
memoryx::ManipulationAttributesEditTab::update
void update()
Definition:
ManipulationAttributesEditTab.cpp:194
memoryx::ManipulationAttributesEditTab::collisionFileSelected
void collisionFileSelected()
Definition:
ManipulationAttributesEditTab.cpp:142
memoryx::ManipulationAttributesEditTab::ManipulationAttributesEditTab
ManipulationAttributesEditTab(armarx::RobotStateComponentInterfacePrx robotStateComponent, QWidget *parent=0)
Definition:
ManipulationAttributesEditTab.cpp:39
memoryx
VirtualRobot headers.
Definition:
CommonPlacesTester.cpp:48
memoryx::ManipulationAttributesEditTab::updateGui
void updateGui(const EntityPtr &entity) override
Pure virtual method.
Definition:
ManipulationAttributesEditTab.cpp:85
IceInternal::Handle
Definition:
forward_declarations.h:8
memoryx::ManipulationAttributesEditTab
This tab allows to change the simox attributes of an objectclass entity.
Definition:
ManipulationAttributesEditTab.h:41
Ui
ArmarX Headers.
Definition:
ArmarXMainWindow.h:54
memoryx::ManipulationAttributesEditTab::updateEntity
void updateEntity(const EntityPtr &entity, std::string filesDBName) override
Pure virtual method.
Definition:
ManipulationAttributesEditTab.cpp:103
memoryx::ManipulationAttributesEditTab::~ManipulationAttributesEditTab
~ManipulationAttributesEditTab() override
Definition:
ManipulationAttributesEditTab.cpp:79
memoryx::ManipulationAttributesEditTab::manipulationFileSelected
void manipulationFileSelected()
Definition:
ManipulationAttributesEditTab.cpp:130
Entity.h
memoryx::ManipulationAttributesEditTab::visuFileSelected
void visuFileSelected()
Definition:
ManipulationAttributesEditTab.cpp:136
IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface >
memoryx::EntityAttributesEditTab
The entity edit dialog is a superclass for all edit dialogs used to set attributes of entites.
Definition:
EntityAttributesEditTab.h:37
memoryx::ManipulationAttributesEditTab::editGrasps
void editGrasps()
Definition:
ManipulationAttributesEditTab.cpp:148
MemoryX
gui-plugins
PriorMemoryEditor
ObjectClassEditDialog
ManipulationAttributesEditTab.h
Generated on Sat Mar 29 2025 09:17:24 for armarx_documentation by
1.8.17