AGXDynamics
2.35.0.3
TerrainMaterialLibrary.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2022. Algoryx Simulation AB.
3
4
All AGX source code, intellectual property, documentation, sample code,
5
tutorials, scene files and technical white papers, are copyrighted, proprietary
6
and confidential material of Algoryx Simulation AB. You may not download, read,
7
store, distribute, publish, copy or otherwise disseminate, use or expose this
8
material unless having a written signed agreement with Algoryx Simulation AB, or having been
9
advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10
valid commercial license from Algoryx Simulation AB.
11
12
Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13
from using this software, unless otherwise stated in written agreements with
14
Algoryx Simulation AB.
15
*/
16
17
#pragma once
18
19
#include <agx/config/AGX_USE_AGXTERRAIN.h>
20
#include <
agxTerrain/export.h
>
21
#include <
agxTerrain/TerrainMaterial.h
>
22
23
#define DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER "MaterialLibrary/TerrainMaterials/"
24
25
namespace
agxTerrain
26
{
36
class
AGXTERRAIN_EXPORT
TerrainMaterialLibrary
37
{
38
public
:
39
50
static
bool
loadMaterialProfile(
const
agx::String
& materialName,
51
agxTerrain::TerrainMaterial
* terrainMaterial,
52
const
agx::String
& librayFolder =
DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER
);
53
62
static
agx::StringVector
getAvailableLibraryMaterials(
const
agx::String
& librayFolder =
DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER
);
63
};
64
}
65
66
agx::Vector< AgXString< std::string > >
agxTerrain
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes.
Definition:
Geometry.h:59
agxTerrain::TerrainMaterial
This class is used to describe the general material properties of the Terrain.
Definition:
TerrainMaterial.h:53
agxTerrain::TerrainMaterialLibrary
Class that is used for interfacing with different TerrainMaterial presets with calibrated bulk and co...
Definition:
TerrainMaterialLibrary.h:36
export.h
TerrainMaterial.h
AGXTERRAIN_EXPORT
#define AGXTERRAIN_EXPORT
Definition:
agxTerrain/export.h:41
DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER
#define DEFAULT_TERRAIN_MATERIAL_LIBRARY_FOLDER
Definition:
TerrainMaterialLibrary.h:23
agx::AgXString< std::string >
include
agxTerrain
TerrainMaterialLibrary.h
Generated on Fri Feb 10 2023 14:06:19 for AGXDynamics by
1.8.17