VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvDrawControl
DtTriangle3DObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtTriangle3DObject.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
#pragma once
9
14
15
#include <vector>
16
17
#include <vl/envPoint.h>
18
#include <vlutil/vlString.h>
19
20
#include <
vrvDrawControl/vrvDrawControl.h
>
21
#include <
vrvDrawControl/DtArea3DObject.h
>
22
23
#include <
vrvDrawControl/DtVdcColor.h
>
24
25
#include <
vrfExtObjects/3dGraphicalObjectStateRecord.h
>
26
27
namespace
vrvControlToolkit
28
{
34
class
DT_DLL_VRVDRAWCONTROL
DtTriangle3DObject
:
public
DtArea3DObject
35
{
36
public
:
52
DtTriangle3DObject
(DtExerciseConn* exConn,
unsigned
id
,
const
DtVector
& vertex1,
53
const
DtVector
& vertex2,
const
DtVector
& vertex3,
54
DtVector
offset = DtVector::zero(),
55
DtVdcColor
color =
DtVdcColor::DtVdcWhite
,
56
const
DtString
& textureDirectory =
""
,
57
const
DtString
& textureFilename = DtString::nullString(),
58
int
numTextureTiles = 0,
bool
flashing =
false
);
59
60
61
// \brief Virtual destructor
62
virtual
~
DtTriangle3DObject
();
63
64
private
:
69
DtTriangle3DObject
();
70
74
DtTriangle3DObject
(
const
DtTriangle3DObject
& orig);
75
79
DtTriangle3DObject
& operator=(
const
DtTriangle3DObject
& rhs);
80
81
public
:
87
virtual
const
DtVector
& vertex1()
const
;
88
94
virtual
void
setVertex1(
const
DtVector
& vertex1);
95
101
virtual
const
DtVector
& vertex2()
const
;
102
108
virtual
void
setVertex2(
const
DtVector
& vertex2);
109
115
virtual
const
DtVector
& vertex3()
const
;
116
122
virtual
void
setVertex3(
const
DtVector
& vertex3);
123
};
124
}
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
)