VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvDrawControl
DtCuboidObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
#pragma once
6
10
11
#include <vlutil/vlString.h>
12
13
#include <
vrvDrawControl/vrvDrawControl.h
>
14
15
#include <
vrvDrawControl/DtEllipsoidCuboidBase.h
>
16
17
#include <vl/environmentalRectangularVolumeRecord.h>
18
19
namespace
vrvControlToolkit
20
{
27
class
DT_DLL_VRVDRAWCONTROL
DtCuboidObject
:
public
DtEllipsoidCuboidBase
28
{
29
public
:
54
DtCuboidObject
(DtExerciseConn* exConn,
unsigned
id
,
const
DtVdc3DAttachPoint
& attachment,
55
double
length,
double
width,
double
height,
56
const
DtVector
&
offset
= DtVector::zero(),
57
const
DtTaitBryan& rotation = zeros,
58
DtVdcColor
color =
DtVdcColor::DtVdcWhite
,
bool
flashing =
false
);
59
60
// \brief Virtual destructor
61
virtual
~
DtCuboidObject
();
62
68
virtual
double
length()
const
;
69
75
virtual
void
setLength(
double
length);
76
82
virtual
double
width()
const
;
83
89
virtual
void
setWidth(
double
width);
90
96
virtual
double
height()
const
;
97
103
virtual
void
setHeight(
double
height);
104
105
virtual
void
setAttachment(
const
DtVdc3DAttachPoint
& attachment);
106
virtual
void
setRotation(
const
DtTaitBryan& rotation);
107
108
virtual
void
update();
109
110
private
:
115
DtCuboidObject
();
116
120
DtCuboidObject
(
const
DtCuboidObject
& orig);
121
125
DtCuboidObject
& operator=(
const
DtCuboidObject
& rhs);
126
127
void
initCuboidRecords();
128
129
protected
:
130
DtEnvironmentalRectangularVolumeRecord
myCuboidRecord
;
131
132
private
:
133
// Initializer for DtTaitBryan
134
static
DtTaitBryan
zeros
;
135
136
};
137
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)