VR-Forces 4.5 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
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
55
virtual
void
setIsSupportModel(
bool
isSupport);
57
58
protected
:
59
60
//@name Local Interface
62
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
63
int
visualizerType );
64
virtual
void
removeFromScene();
65
66
virtual
void
setModelInstance(
DtModelInstance
* modelInstance );
68
69
protected
:
70
DtOsgSceneConnector
*
mySceneConnector
;
71
Dt3DTextModelInstance
*
myTextModelInstance
;
72
73
};
74
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)