VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
23 {
24 public:
25 
26  // default constructor
28 
29  // destructor
31 
32  // constructor from a parent
33  DtSurfaceIndexedMarked(const DtSurface& orig);
34 
35  // copy constructor
37 
38  // assignment operator
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 
57 };
58 
59 
60 #endif

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)