VR-Forces 4.6 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
vrvGraphics
DtTexturedLine.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2014 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvGraphics/vrvGraphics.h
>
13
#include <
vrvGraphics/DtSegmentedLine.h
>
14
#include <
vrvGraphics/DtOverlayResourceProvider.h
>
15
16
namespace
makVrv
17
{
18
class
DtTexturedLineSegment;
19
22
class
DT_DLL_VRVGRAPHICS
DtTexturedLine
:
public
DtSegmentedLine
23
{
24
public
:
25
27
DtTexturedLine
(
DtOverlayRenderer
& renderer,
DtWidgetPicker
& picker);
28
30
virtual
~
DtTexturedLine
();
31
33
virtual
DtLineSegmentInterface
* createAndInitNewSegment();
34
36
virtual
void
setTexture(
DtOverlayResourceProvider::NativeResourceHandle
texture,
float
textureWidth);
37
40
virtual
void
setZoomFactor(
float
z);
41
43
virtual
void
setRotationOffset(
float
);
44
47
virtual
void
setGroup(
int
);
48
49
protected
:
51
virtual
void
removeLineSegmentsUntilEndFrom(
int
segmentCount);
52
54
virtual
void
setLineSegment(
int
,
DtLineSegmentInterface
*);
55
56
protected
:
57
typedef
std::vector<DtTexturedLineSegment*>
TexturedLineSegmentList
;
58
TexturedLineSegmentList
myTexturedLineSegments
;
59
60
DtOverlayResourceProvider::NativeResourceHandle
myTexture
;
61
float
myTextureWidth
;
62
float
myZoomFactor
;
63
float
myRotationOffset
;
64
};
65
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)