VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
rwVecIterator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2001 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: rwVecIterator.h,v $ $Revision: 1.9 $ $State: Exp $
7
*******************************************************************************/
8
11
17
18
#ifndef DtRwVectorIterator_H_
19
#define DtRwVectorIterator_H_
20
21
#include "
vrfutil/vertexList.h
"
22
#include "
vrfutil/rwVector.h
"
23
#include "
vrfutil/iteratorBase.h
"
27
28
#include "
vrfutil/vrfutilDefines.h
"
29
class
DT_DLL_vrfutil
DtRwVectorIterator
:
public
DtIteratorBase
<DtRwVector>
30
{
31
private
:
33
DtRwVectorIterator
();
35
const
DtRwVectorIterator
&
operator=
(
const
DtRwVectorIterator
& orig);
36
37
public
:
38
40
DtRwVectorIterator
(
const
DtList& list) :
DtIteratorBase
<
DtRwVector
>(list) {};
41
43
DtRwVectorIterator
(
const
DtRwVectorIterator
& orig) :
DtIteratorBase
<
DtRwVector
>(orig) {};
44
45
virtual
~DtRwVectorIterator
() {};
46
49
bool
setToClosest(
DtVector
point
)
50
{
51
DtVertexList
* list = (
DtVertexList
*)(&myList);
52
53
myCursor = list->
getClosestVertex
(point);
54
55
return
(myCursor != NULL);
56
};
57
};
58
59
#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
)