VR-Forces Development_Version 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
DtOsgDrawModel.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgDrawModel.h,v $ $Revision: 1.13 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsg/vrvOsg.h
>
15
#include <
vrvCore/DtDrawModel.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
#include <matrix/vlVector.h>
18
#include <matrix/vlTaitBryan.h>
19
20
namespace
makVrv
21
{
22
class
DtDe;
23
class
DtOsgSceneConnector;
24
31
class
DT_DLL_VRVOSG
DtOsgDrawModel
:
public
DtDrawModel
32
{
33
public
:
34
DtOsgDrawModel
(
DtDe
& de,
DtUniqueID
&
id
);
35
36
virtual
~
DtOsgDrawModel
();
37
38
//@name Distributed Interface
40
virtual
void
drawLine(
const
DtVector
& color,
double
lineWidth);
41
42
virtual
void
setVisible(
bool
visible);
43
virtual
void
setPosition(
int
vtx,
const
DtVector
& position );
44
virtual
void
setOrientation(
int
vtx,
const
DtTaitBryan& orientation );
45
virtual
void
setIsSupportModel(
bool
isSupport);
47
48
//@name Local Interface
50
virtual
void
addToScene(
const
DtUniqueID
& sceneObjectId,
int
modelSet,
51
int
visualizerType );
52
54
virtual
void
removeFromScene();
55
57
58
protected
:
59
void
initializeModelInstance();
60
61
protected
:
62
DtOsgSceneConnector
*
mySceneConnector
;
63
64
};
65
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)