VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfutil
rwSphere.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
14
15
#pragma once
16
17
#include "
vrfutil/vrfutilDefines.h
"
18
#include "
geometry/sphere.h
"
19
#include "
geometry/point.h
"
20
#include "
vrfutil/readerWriter.h
"
21
25
26
class
DT_DLL_vrfutil
DtRwSphere
:
public
DtReaderWriter
,
public
DtSphere
27
{
28
public
:
30
DtRwSphere
(
const
DtVector
& newCenter,
double
newRadius);
31
33
DtRwSphere
(
const
DtString
& name,
const
DtVector
& newCenter,
double
newRadius,
34
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
35
36
DtRwSphere
(
const
DtSymbolString
& name,
const
DtVector
& newCenter,
double
newRadius,
37
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
38
39
DtRwSphere
(
const
DtString
& name,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
40
DtRwSphere
(
const
DtSymbolString
& name,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
41
43
DtRwSphere
(
const
DtString
& name,
const
DtSphere
&
44
fromBoundingVolume,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
45
46
DtRwSphere
(
const
DtSymbolString
& name,
const
DtSphere
&
47
fromBoundingVolume,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
48
50
DtRwSphere
(
const
DtRwSphere
& orig);
51
53
DtRwSphere
(
const
DtString
& name,
const
DtRwSphere
&
54
fromRwBoundingVolume,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
55
56
DtRwSphere
(
const
DtSymbolString
& name,
const
DtRwSphere
&
57
fromRwBoundingVolume,
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
58
60
virtual
~
DtRwSphere
();
61
63
DtRwSphere
&
operator=
(
const
DtRwSphere
& orig);
64
DtRwSphere
&
operator=
(
const
DtSphere
& orig);
65
66
DtVector
centerVector()
const
;
67
68
virtual
void
putData
(std::string& fp,
int
indentLevel = 0);
69
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
70
const
DtVariableBindingsList
& variableBindings);
71
75
virtual
const
char
*
readerWriterType
()
const
;
76
77
virtual
bool
operator==
(
const
DtRwSphere
&)
const
;
78
81
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP parent)
const
;
82
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP value,
83
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
84
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
85
87
static
const
char
*
theXmlType
();
88
89
virtual
const
char
*
xmlType
()
const
90
{
91
return
theXmlType
();
92
}
94
95
protected
:
96
97
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)