VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
indexedMarked.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: indexedMarked.h,v $ $Revision: 1.7 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef indexedMarked_H_
10
#define indexedMarked_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include <vlutil/vlMachineTypes.h>
14
15
// class DtIndexedMarked:
16
//
17
// Provides and indexed/markable interface.
18
// @note This class has no virtual functions on purpose to reduce the size
19
// of the items as DtPointIndexedMarked instances contain a DtIndexedMarked.
20
// This means that a DtIndexedMarked is created for every vertex when the
21
// vertex manager is reducing vertices, which very much adds up for large scenes.
22
// Additionally, this class is @bnot intended to be derived from.
23
//
24
class
DT_DLL_gdb
DtIndexedMarked
25
{
26
public
:
27
28
// default constructor
29
DtIndexedMarked
();
30
31
// destructor
32
~
DtIndexedMarked
();
33
34
// copy constructor
35
DtIndexedMarked
(
const
DtIndexedMarked
& orig);
36
37
// assignment operator
38
DtIndexedMarked
& operator=(
const
DtIndexedMarked
& orig);
39
40
//get and set for index0
41
unsigned
int
getIndex0()
const
;
42
void
setIndex0(
unsigned
int
indexIn);
43
44
//get and set marked
45
bool
isMarked()
const
;
46
void
mark(
void
);
47
void
unmark(
void
);
48
49
protected
:
50
51
unsigned
int
myIndex0
;
52
bool
myMarked
;
53
};
54
55
56
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)