VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
gdb
sphereIntRec.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2006 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: sphereIntRec.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef sphereIntRec_h
13
#define sphereIntRec_h
14
15
#include "
geometry/intersectionRecord.h
"
16
#include <list>
17
#include "
gdb/allPoly.h
"
18
19
class
DT_DLL_gdb
DtSphereIntersectionRecord
:
public
DtIntersectionRecord
20
{
21
public
:
22
typedef
std::list<DtAllTypesPolygon*>
DtPolygonList
;
23
24
DtSphereIntersectionRecord
();
25
virtual
~
DtSphereIntersectionRecord
();
26
27
// copy constructor
28
DtSphereIntersectionRecord
(
const
DtSphereIntersectionRecord
& orig);
29
30
// assignment operator
31
DtSphereIntersectionRecord
&
operator=
(
const
DtSphereIntersectionRecord
& orig);
32
33
// clone this object
34
virtual
DtSphereIntersectionRecord
*
clone
()
const
;
35
36
// Adds this polygon to the intersected polygons list.
37
virtual
void
addPolygon(
DtAllTypesPolygon
* poly);
38
39
// Clears the intersected polygons list.
40
virtual
void
clearPolygons();
41
42
// \return The list of intersected polygons.
43
virtual
const
DtPolygonList
& intersectedPolygons()
const
;
44
45
protected
:
46
DtPolygonList
myIntersectedPolygons
;
47
48
};
49
50
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)