VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleBulletHole
DtBulletHoleVisualizer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#pragma once
10
#include <
vrvCore/DtStateVisualizer.h
>
11
12
namespace
makVrv
13
{
14
class
DtPolygonModelAgent;
15
16
namespace
DT_PROTOCOL_NAMESPACE
17
{
66
class
DT_DLL_EXAMPLEBULLETHOLE
DtBulletHoleVisualizer
:
67
public
DtStateVisualizer
68
{
69
public
:
72
DtBulletHoleVisualizer
(
DtBaseConnection
& simulation,
73
DtStateListener
& listener,
int
modelSet);
74
75
virtual
~
DtBulletHoleVisualizer
();
77
virtual
void
setParent(
DtStateVisualizer
*);
78
80
virtual
void
createModelAgents();
81
87
virtual
void
destroyModelAgents();
88
90
virtual
void
setVisualizerDefinition(
const
DtVisualizerDefinition
&);
91
93
virtual
void
setModelDefinitionForAgents();
94
96
virtual
const
DtStateVisualizer::TypeInfo
& typeInfo()
const
;
97
99
static
const
DtStateVisualizer::TypeInfo
& theTypeInfo();
100
101
protected
:
102
104
virtual
void
createBulletHole();
105
106
protected
:
107
108
std::string
myTexture
;
109
float
myRadius
;
110
DtPolygonModelAgent*
myPolygonAgent
;
111
};
112
114
typedef
DtStateVisualizerCreatorTemplate<DtBulletHoleVisualizer>
115
DtBulletHoleVisualizerCreator
;
116
}
117
}
118
119
#define DtBulletHoleVisualizer_INL_
120
#include "DtBulletHoleVisualizer.inl"
121
#undef DtBulletHoleVisualizer_INL_
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)