VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
gdb
networkSegmentHelper.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: netwrkSegHelper.h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
// \file netwrkSegHelper.h
9
// \brief Contains the DtNetworkSegmentHelper class declaration which wraps a
10
// DtNetworkSegment. This is a convenience class that allows the setting
11
// of a Chord rather than depending on a DtNetworkEdge to define the segment
12
13
#ifndef networkSegmentHelper_H_
14
#define networkSegmentHelper_H_
15
16
#include "
gdb/gdbDefines.h
"
17
#include <vlutil/vlConfig.h>
18
#include "
geometry/chord.h
"
19
#include "
gdb/networkSegment.h
"
20
#include <vlutil/vlString.h>
21
22
//
23
// DtNetworkSegmentHelper represents a section of a network that is approximated
24
// by a line segment.
25
class
DT_DLL_gdb
DtNetworkSegmentHelper
:
public
DtNetworkSegment
26
{
27
public
:
28
29
// default constructor
30
DtNetworkSegmentHelper
();
31
32
// destructor
33
virtual
~
DtNetworkSegmentHelper
();
34
35
// copy constructor
36
DtNetworkSegmentHelper
(
const
DtNetworkSegmentHelper
& orig);
37
38
// assignment operator
39
DtNetworkSegmentHelper
&
operator=
(
const
DtNetworkSegmentHelper
& orig);
40
41
// get/set chord
42
virtual
const
DtChord
chord
()
const
;
43
virtual
void
setChord(
const
DtChord
& chord);
44
45
virtual
DtString
type
();
46
47
// first and last endpoint, as traversing forward
48
virtual
DtPoint
endpoint0
()
const
;
49
virtual
DtPoint
endpoint1
()
const
;
50
51
protected
:
52
53
DtChord
myChord
;
54
};
55
56
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)