VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsg
DtOsgProjectedWidgetModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgProjectedWidgetModel.h,v $ $Revision: 1.14 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsg/vrvOsg.h
>
15
#include <
vrvCore/DtProjectedWidgetModel.h
>
16
#include <vector>
17
18
namespace
makVrv
19
{
20
class
DtOsgWidgetUpdater;
21
22
25
class
DT_DLL_VRVOSG
DtOsgProjectedWidgetModel
:
public
DtProjectedWidgetModel
26
{
27
public
:
28
30
DtOsgProjectedWidgetModel
(
DtDe
& de,
DtUniqueID
id
);
31
33
virtual
~
DtOsgProjectedWidgetModel
();
34
36
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
37
int
visualizerType );
38
40
virtual
void
removeFromScene();
41
44
virtual
void
addWidget(
DtWidget
* aWidget);
45
47
virtual
void
removeWidget(
DtWidget
* aWidget);
48
50
virtual
void
setModelDefinition(
const
std::string& str);
51
53
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
54
55
DtOsgWidgetUpdater
& widgetUpdater();
56
57
virtual
std::vector<DtWidget*>& widgets();
58
59
virtual
void
setVisible(
bool
visible);
60
62
virtual
void
setSolid(
bool
solid);
63
64
protected
:
65
66
DtUniqueID
myParentId
;
67
68
};
69
}
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
)