VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtEllipseFacadeInterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrvCore/vrvCore.h
>
12
#include <
vrvCore/DtUniqueID.h
>
13
#include <matrix/vlVector.h>
14
#include <vector>
15
16
namespace
makVrv
17
{
18
class
DtSceneObjectAgent;
19
class
DtAgentManagerInterface;
20
class
DtEllipseUpdaterAgent;
21
30
class
DT_DLL_VRVCORE
DtEllipseFacadeInterface
31
{
32
public
:
34
DtEllipseFacadeInterface
(
DtAgentManagerInterface
&, DtSceneObjectAgent* agent,
35
DtElementID
id
,
int
modelSet);
36
38
DtEllipseFacadeInterface
(
DtAgentManagerInterface
&,
int
modelSet,
DtElementID
id
,
bool
distribute =
true
);
39
41
virtual
~
DtEllipseFacadeInterface
();
42
43
public
:
45
virtual
void
setModelDefinition(
const
std::string&) = 0;
46
49
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
50
52
virtual
void
setOutsideColor(
float
r,
float
g,
float
b,
float
a);
53
55
virtual
void
setInsideColor(
float
r,
float
g,
float
b,
float
a);
56
59
virtual
void
setPoints(
const
std::vector<DtVector>&);
60
62
virtual
void
setOrigin(
const
DtVector
&);
63
65
virtual
void
setPosition(
int
iIndex,
const
DtVector
&);
66
68
virtual
void
setSelected(
bool
) = 0;
69
71
virtual
void
setLineWidth(
int
) = 0;
72
75
virtual
void
setFill(
bool
) = 0;
76
79
virtual
void
setDimensions(
double
,
double
);
80
82
virtual
void
setXRadius(
double
);
83
85
virtual
void
setYRadius(
double
);
86
88
virtual
void
setPickable(
bool
) = 0;
89
91
virtual
void
setLockUpdates(
bool
) = 0;
92
94
virtual
void
setVisible(
bool
) = 0;
95
97
virtual
void
setStipplePattern(
int
) = 0;
98
103
virtual
void
setFillPattern(
const
std::vector<unsigned int>&) = 0;
104
106
virtual
makVrv::DtUniqueID
uniqueId()
const
;
107
109
virtual
makVrv::DtElementID
elementId()
const
;
110
112
virtual
int
modelSet()
const
;
113
114
protected
:
115
DtSceneObjectAgent*
mySceneObjectAgent
;
116
DtAgentManagerInterface
&
myAgentManagerInterface
;
117
bool
myOwnsSceneObjectAgent
;
118
119
DtEllipseUpdaterAgent*
myUpdater
;
120
121
float
myInsideColor[4];
122
float
myOutsideColor[4];
123
124
int
myLineWidth
;
125
int
myModelSet
;
126
int
myNumPoints
;
127
double
myXRadius
;
128
double
myYRadius
;
129
makVrv::DtElementID
myElementId
;
130
};
131
}
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
)