VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvUtil
DtNoOpCoordinateConverter.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/*********************************************************************
6
** $RCSfile: DtNoOpCoordinateConverter.h,v $ $Revision: 1.10 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtNoOpCoordinateConverter_H_
13
#define DtNoOpCoordinateConverter_H_
14
15
#include <
vrvUtil/DtCoordinateConverter.h
>
16
#include <string>
17
18
namespace
makVrv
19
{
20
23
class
DT_DLL_VRVUTIL
DtNoOpCoordinateConverter
:
public
DtCoordinateConverter
24
{
25
public
:
26
28
DtNoOpCoordinateConverter
() :
DtCoordinateConverter
(NoOp) {}
29
31
virtual
~DtNoOpCoordinateConverter
() {}
32
34
virtual
DtCoordinateConverter
*
clone
()
const
{
return
new
DtNoOpCoordinateConverter
; }
35
37
virtual
bool
init
(
const
std::string& origin) {
return
true
; }
38
40
virtual
std::string
stringRep
() {
return
std::string(); }
41
43
44
virtual
void
geocToCig(
const
DtVector
& geoc,
DtVector
& out)
const
45
{
46
out = geoc;
47
}
48
50
virtual
void
cigToGeoc(
const
DtVector
& in,
DtVector
& geoc)
const
51
{
52
geoc = in;
53
}
54
56
58
virtual
void
setupTopoFrame
(
const
DtVector
& truth) {}
59
60
static
DtCoordinateConverter
* create()
61
{
62
return
new
DtNoOpCoordinateConverter
();
63
}
64
65
private
:
66
68
DtNoOpCoordinateConverter
(
const
DtCoordinateConverter
& orig);
69
71
DtNoOpCoordinateConverter
& operator=(
const
DtCoordinateConverter
& orig);
72
};
73
74
}
75
76
#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
)