AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
Cone.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
Cone
:
public
RigidBody
25
{
26
protected
:
28
float
m_fltLowerRadius
;
29
31
float
m_fltUpperRadius
;
32
34
float
m_fltHeight
;
35
37
int
m_iSides
;
38
39
public
:
40
Cone
();
41
virtual
~
Cone
();
42
43
static
Cone
*CastToDerived(
AnimatBase
*lpBase) {
return
static_cast<
Cone
*
>
(lpBase);}
44
53
virtual
float
LowerRadius();
54
64
virtual
void
LowerRadius(
float
fltVal,
bool
bUseScaling =
true
);
65
74
virtual
float
UpperRadius();
75
85
virtual
void
UpperRadius(
float
fltVal,
bool
bUseScaling =
true
);
86
95
virtual
float
Height();
96
106
virtual
void
Height(
float
fltVal,
bool
bUseScaling =
true
);
107
108
virtual
void
Sides(
int
iVal);
109
virtual
int
Sides();
110
111
virtual
bool
SetData(
const
std::string &strDataType,
const
std::string &strValue,
bool
bThrowError =
true
);
112
virtual
void
QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
113
virtual
void
Load(CStdXml &oXml);
114
};
115
116
}
//Bodies
117
}
// Environment
118
}
//AnimatSim
AnimatSim::Environment::Bodies::Cone::m_fltLowerRadius
float m_fltLowerRadius
The lower radius of the cone.
Definition:
Cone.h:28
AnimatSim
Root namespace for the base simulation library for AnimatLab.
Definition:
ActivatedItem.cpp:37
AnimatSim::Environment::Bodies::Cone::m_iSides
int m_iSides
The number of sides used to draw the cone.
Definition:
Cone.h:37
AnimatSim::Environment::Bodies::Cone
The Cone base class.
Definition:
Cone.h:24
AnimatSim::Environment::Bodies::Cone::m_fltHeight
float m_fltHeight
The height of the cone.
Definition:
Cone.h:34
AnimatSim::AnimatBase
Animat base class.
Definition:
AnimatBase.h:36
AnimatSim::Environment::Bodies::Cone::m_fltUpperRadius
float m_fltUpperRadius
The upper radius of the cone.
Definition:
Cone.h:31
AnimatSim::Environment::RigidBody
The base class for all of the basic rigid body type of objects.
Definition:
RigidBody.h:66
Libraries
AnimatSim
Cone.h
Generated on Tue Sep 29 2015 07:07:13 for AnimatLab by
1.8.10