AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
Ellipsoid.h
Go to the documentation of this file.
1
7
#pragma once
8
9
namespace
AnimatSim
10
{
11
namespace
Environment
12
{
13
namespace
Bodies
14
{
24
class
ANIMAT_PORT
Ellipsoid
:
public
RigidBody
25
{
26
protected
:
28
float
m_fltMajorRadius
;
29
31
float
m_fltMinorRadius
;
32
34
int
m_iLatSegments
;
35
37
int
m_iLongSegments
;
38
39
public
:
40
Ellipsoid
();
41
virtual
~
Ellipsoid
();
42
43
static
Ellipsoid
*CastToDerived(
AnimatBase
*lpBase) {
return
static_cast<
Ellipsoid
*
>
(lpBase);}
44
53
virtual
float
MajorRadius();
54
64
virtual
void
MajorRadius(
float
fltVal,
bool
bUseScaling =
true
);
65
74
virtual
float
MinorRadius();
75
85
virtual
void
MinorRadius(
float
fltVal,
bool
bUseScaling =
true
);
86
87
virtual
int
LatSegments();
88
virtual
void
LatSegments(
int
iVal);
89
90
virtual
void
LongSegments(
int
iVal);
91
virtual
int
LongSegments();
92
93
virtual
bool
SetData(
const
std::string &strDataType,
const
std::string &strValue,
bool
bThrowError =
true
);
94
virtual
void
QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
95
virtual
void
Load(CStdXml &oXml);
96
};
97
98
}
//Bodies
99
}
// Environment
100
}
//AnimatSim
AnimatSim
Root namespace for the base simulation library for AnimatLab.
Definition:
ActivatedItem.cpp:37
AnimatSim::Environment::Bodies::Ellipsoid
The Cone base class.
Definition:
Ellipsoid.h:24
AnimatSim::Environment::Bodies::Ellipsoid::m_fltMinorRadius
float m_fltMinorRadius
The radius of the minor axis of the ellipsoid.
Definition:
Ellipsoid.h:31
AnimatSim::Environment::Bodies::Ellipsoid::m_fltMajorRadius
float m_fltMajorRadius
The radius of the major axis of the ellipsoid.
Definition:
Ellipsoid.h:28
AnimatSim::Environment::Bodies::Ellipsoid::m_iLatSegments
int m_iLatSegments
The number of segments used to draw in the latitude direction.
Definition:
Ellipsoid.h:34
AnimatSim::AnimatBase
Animat base class.
Definition:
AnimatBase.h:36
AnimatSim::Environment::RigidBody
The base class for all of the basic rigid body type of objects.
Definition:
RigidBody.h:66
AnimatSim::Environment::Bodies::Ellipsoid::m_iLongSegments
int m_iLongSegments
The number of segments used to draw in the longtitude direction.
Definition:
Ellipsoid.h:37
Libraries
AnimatSim
Ellipsoid.h
Generated on Tue Sep 29 2015 07:07:14 for AnimatLab by
1.8.10