VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsg3DTextModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsg3DTextModel.h,v $ $Revision: 1.13 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsg/vrvOsg.h
>
15
#include <
vrvCore/Dt3DTextModel.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
namespace
osg
19
{
20
class
Group
;
21
}
22
23
namespace
makVrv
24
{
25
class
DtDe;
26
class
DtOsgSceneConnector;
27
class
Dt3DTextModelInstance;
28
32
class
DT_DLL_VRVOSG
DtOsg3DTextModel
:
public
Dt3DTextModel
33
{
34
public
:
35
DtOsg3DTextModel
(
DtDe
& de,
DtUniqueID
id
);
36
37
virtual
~
DtOsg3DTextModel
();
38
39
//@name Distributed Interface
41
virtual
void
setVisible(
bool
visible);
42
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
43
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
44
45
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a );
46
virtual
void
setFont(
const
std::string& fontName );
47
virtual
void
setFontSize(
double
size );
48
virtual
void
setText(
const
std::string& text );
49
50
virtual
void
setModelDefinition(
const
std::string& modelDefinition);
51
52
virtual
void
setSolid(
bool
solid);
54
55
protected
:
56
57
//@name Local Interface
59
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
60
int
visualizerType );
61
virtual
void
removeFromScene();
62
63
virtual
void
setModelInstance(
DtModelInstance
* modelInstance );
65
66
protected
:
67
DtOsgSceneConnector
*
mySceneConnector
;
68
Dt3DTextModelInstance
*
myTextModelInstance
;
69
70
};
71
}
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
)