VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
bhave3DGui
bhaveEditSpawnPointDialog.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
** Created: 4/16/12 MEM
5
*******************************************************************************/
6
9
10
11
#pragma once
12
13
#include "
bhave3DGui/bhave3DGuiDefines.h
"
14
15
#include "
vrfmsgs/rwSpawnData.h
"
16
#include <
vrfGuiCoreQt/pointObjectDefinitionDialog.h
>
17
18
class
makVrf::DtCreateAndEditObjectDialogInterface
;
19
class
DtSimMessage
;
20
21
namespace
BHAVE
22
{
23
namespace
BHAVE3DGui
24
{
31
class
DT_DLL_bhave3DGui
DtBhaveEditSpawnPointDialog
:
public
makVrf::DtPointObjectDefinitionDialog
32
{
33
34
Q_OBJECT
35
36
public
:
37
39
DtBhaveEditSpawnPointDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
QString& title=
""
,
DtDialogInteractionMode
mode=DtCreationMode);
40
42
virtual
~
DtBhaveEditSpawnPointDialog
();
43
44
virtual
void
init
(
const
DtEntityType&);
45
virtual
const
DtRwSpawnData
& spawnData()
const
;
46
47
protected
:
48
virtual
void
processSpawnData(
DtSimMessage
* rsp);
49
virtual
void
displaySpawnPointParameters(
bool
canEdit);
50
51
protected
slots:
52
53
virtual
void
slot_onEditTemplateButtonClicked();
54
56
virtual
void
slot_editSpawnPoint(
DtRwSpawnData
& spawnData);
57
59
virtual
void
slot_editSpawnTemplate(
DtRwSpawnData
& spawnData,
bool
updatePtNames);
60
61
protected
:
62
DtRwSpawnData
mySpawnData
;
63
DtString
myCurrentTemplateName
;
64
QPushButton
*
myEditTemplateButton
;
65
};
66
67
class
DT_DLL_bhave3DGui
DtBhaveEditSpawnPointDialogCreator
:
public
makVrf::DtPointObjectDefinitionDialogCreator
68
{
69
public
:
70
virtual
makVrf::DtCreateAndEditObjectDialogInterface
* createDialog(
makVrv::DtDe
& de,
QWidget
* parent,
const
QString& title,
71
makVrf::DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode
mode);
72
};
73
}
74
}
75
76
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)