Container for all agent types.
More...
#include <HeightFields.h>
Container for all agent types.
◆ addHeightField()
void Atoms::HeightFields::addHeightField |
( |
const std::string & |
name, |
|
|
AtomsPtr< HeightField > & |
field, |
|
|
bool |
replace = false , |
|
|
bool |
animated = false , |
|
|
short |
gridMode = 0 |
|
) |
| |
Adds an hf to the map.
- Parameters
-
name | hf name |
heightField | mesh |
◆ heightField()
AtomsPtr<HeightField> Atoms::HeightFields::heightField |
( |
const std::string & |
name | ) |
|
Gets an hf.
- Parameters
-
- Returns
- Pointer to the hf
◆ heightFieldExists()
bool Atoms::HeightFields::heightFieldExists |
( |
const std::string & |
name | ) |
|
Checks if a hf exists.
- Parameters
-
- Returns
- Return true if the hf exists
◆ heightFieldNames()
std::vector<std::string> Atoms::HeightFields::heightFieldNames |
( |
| ) |
|
Gets all hf names.
- Returns
- List of all hf
◆ isAnimated()
bool Atoms::HeightFields::isAnimated |
( |
const std::string & |
name | ) |
|
Checks if an hf is animated.
- Parameters
-
- Returns
- Return true if the hf exists
◆ removeHeightField()
void Atoms::HeightFields::removeHeightField |
( |
const std::string & |
name | ) |
|
Removes an hf from the map.
- Parameters
-
◆ setAnimated()
void Atoms::HeightFields::setAnimated |
( |
const std::string & |
name, |
|
|
bool |
value |
|
) |
| |
Sets the hf animated flag.
- Parameters
-
name | Hf name |
value | Hf animated flag |
The documentation for this class was generated from the following file: