VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
gdb
surfaceIndexedMarked.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1999 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: surfaceIM.h,v $ $Revision: 1.3 $ $State: Exp $
7
*********************************************************************/
8
9
#ifndef surfaceIndexedMarked_H_
10
#define surfaceIndexedMarked_H_
11
12
#include "
gdb/gdbDefines.h
"
13
#include "
geometry/surface.h
"
14
#include "
gdb/indexedMarked.h
"
15
16
// class DtSurfaceIM:
17
//
18
// DtSurfaceIM inherits directly all methods
19
// of DtSurface, but also gets an integer index and a method
20
// to mark from parent DtIndexedMarked.
21
22
class
DT_DLL_gdb
DtSurfaceIndexedMarked
:
public
DtSurface
23
{
24
public
:
25
26
// default constructor
27
DtSurfaceIndexedMarked
();
28
29
// destructor
30
~
DtSurfaceIndexedMarked
();
31
32
// constructor from a parent
33
DtSurfaceIndexedMarked
(
const
DtSurface
& orig);
34
35
// copy constructor
36
DtSurfaceIndexedMarked
(
const
DtSurfaceIndexedMarked
& orig);
37
38
// assignment operator
39
DtSurfaceIndexedMarked
&
operator=
(
const
DtSurfaceIndexedMarked
& orig);
40
41
// equivalency
42
int
operator==
(
const
DtSurfaceIndexedMarked
& orig);
43
44
// Static function to sort surfaces by characteristics.
45
// The void*'s are cast into DtSurfaces for comparison.
46
// If the integer value of e1 < e2, returns -1;
47
// If the integer value of e1 > e2, returns 1;
48
// If the two integer values are equal, returns 0;
49
static
int
sortSurfacesByCharacteristics(
const
void
* e1,
const
void
* e2);
50
51
// access to the indexer
52
DtIndexedMarked
* indexer();
53
54
protected
:
55
56
DtIndexedMarked
myindexer
;
57
};
58
59
60
#endif
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)