AnimatLab
2
Test
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
MaterialType.h
Go to the documentation of this file.
1
7
#pragma once
8
9
namespace
AnimatSim
10
{
11
12
namespace
Environment
13
{
20
class
ANIMAT_PORT
MaterialType
:
public
AnimatBase
21
{
22
protected
:
23
24
virtual
void
SetMaterialProperties() = 0;
25
36
virtual
void
RegisterMaterialType() = 0;
37
38
public
:
39
MaterialType
();
40
virtual
~
MaterialType
();
41
42
static
MaterialType
*CastToDerived(
AnimatBase
*lpBase) {
return
static_cast<
MaterialType
*
>
(lpBase);}
43
56
virtual
int
GetMaterialID(std::string strName) = 0;
57
58
virtual
void
CreateDefaultUnits() = 0;
59
};
60
61
}
// Visualization
62
}
//VortexAnimatSim
AnimatSim
Root namespace for the base simulation library for AnimatLab.
Definition:
ActivatedItem.cpp:37
AnimatSim::Environment::MaterialType
A material type name.
Definition:
MaterialType.h:20
AnimatSim::AnimatBase
Animat base class.
Definition:
AnimatBase.h:36
Libraries
AnimatSim
MaterialType.h
Generated on Tue Sep 29 2015 07:07:16 for AnimatLab by
1.8.10