VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
symbology
compositeLabelSymbol.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: compositeLabelSymbol.h,v $ $Revision: 1.7 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtCompositeLabelSymbol_H_
13
#define DtCompositeLabelSymbol_H_
14
15
#include "
symbology/compositeSymbol.h
"
16
17
#include "
symbology/symbologyDefines.h
"
18
class
DT_DLL_symbology
DtCompositeLabelSymbol
:
public
DtCompositeSymbol
19
{
20
public
:
21
23
DtCompositeLabelSymbol
(
DtSymbolDrawer
& drawer);
24
DtCompositeLabelSymbol
(
const
DtCompositeLabelSymbol
& orig);
25
DtCompositeLabelSymbol
&
operator=
(
const
DtCompositeLabelSymbol
& orig);
26
virtual
~
DtCompositeLabelSymbol
();
27
28
virtual
DtSymbol
*
clone
()
const
;
29
30
virtual
int
resetLabelPositions(
const
DtCompositeSymbol
* parent,
31
const
QSize& bbox,
int
labelPositions,
const
QPoint& lastLabelPosition);
32
33
virtual
void
addSymbol
(
DtSymbol
* symbol,
bool
isALabel =
false
);
34
35
void
setOffsetFromBottom(
bool
);
36
bool
offsetFromBottom()
const
;
37
38
private
:
40
DtCompositeLabelSymbol
();
41
42
protected
:
43
bool
myOffsetFromBottom
;
44
};
45
46
inline
void
DtCompositeLabelSymbol::setOffsetFromBottom
(
bool
b)
47
{
48
myOffsetFromBottom
= b;
49
}
50
51
inline
bool
DtCompositeLabelSymbol::offsetFromBottom
()
const
52
{
53
return
myOffsetFromBottom
;
54
}
55
56
#endif
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)