VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsgProjectedTextModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgProjectedTextModel.h,v $ $Revision: 1.13 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtOsgAttachableProjectedTextModel_H_
14
#define DtOsgAttachableProjectedTextModel_H_
15
16
#include <
vrvOsg/vrvOsg.h
>
17
#include <
vrvCore/DtProjectedTextModel.h
>
18
#include <
vrvCore/DtUniqueID.h
>
19
#include <matrix/vlVector.h>
20
21
namespace
osg
22
{
23
class
Group
;
24
}
25
26
namespace
makVrv
27
{
28
class
DtDe;
29
class
DtProjectedTextModelInstance;
30
class
DtOsgSceneConnector;
31
35
class
DT_DLL_VRVOSG
DtOsgProjectedTextModel
36
:
public
DtProjectedTextModel
37
{
38
public
:
39
DtOsgProjectedTextModel
(
DtDe
& de,
DtUniqueID
&
id
);
40
41
virtual
~
DtOsgProjectedTextModel
();
42
43
//@name Distributed Interface
45
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
46
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
47
48
virtual
void
setColor(
const
DtVector
& rgbColor );
49
virtual
void
setFontName(
const
std::string& fontName );
50
virtual
void
setFontSize(
double
size );
51
virtual
void
setText(
const
std::string& text );
52
virtual
void
setVisible(
bool
isVisible);
53
virtual
void
setSolid(
bool
solid);
55
56
protected
:
57
58
//@name Local Interface
60
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
61
int
visualizerType );
62
virtual
void
removeFromScene();
64
65
protected
:
66
virtual
void
createModelInstance();
67
68
protected
:
69
// casting avoidance
70
DtProjectedTextModelInstance
*
myTextInstance
;
71
DtOsgSceneConnector
*
mySceneConnector
;
72
};
73
}
74
75
#endif
76
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)