14#include <geometry/surface.h>
75 virtual void init(
const Vx::VxMaterialTable* val);
120 std::vector<VortexSurfaceInfo*>
122 std::vector<VortexSurfaceInfo*>
124 std::vector<VortexSurfaceInfo*>
std::vector< VortexSurfaceInfo * > mySoilTypeToMaterialMap
Mapping from soil types to Vortex materials.
Definition surfaceToVxMaterialMapper.h:119
std::vector< VortexSurfaceInfo * > myCulturalFeatureTypeToMaterialMap
Mapping from cultural feature types to Vortex materials.
Definition surfaceToVxMaterialMapper.h:123
std::vector< VortexSurfaceInfo * > myRoughnessSoilTypeToMaterialMap
Mapping from roughness soil types to Vortex materials.
Definition surfaceToVxMaterialMapper.h:125
bool isFiltered(const DtSurface &surf)
Check if a surface should be filtered out.
virtual ~DtSurfaceToVxMaterialMapper()
Destructor.
Vx::VxMaterial * getDefaultVortexMaterial()
Get the default Vortex material.
Vx::VxMaterial * myDefaultMaterial
The default Vortex material to use when no specific mapping is found.
Definition surfaceToVxMaterialMapper.h:117
VortexSurfaceInfo * getSurfaceInfo(const DtSurface &surf) const
Get the surface info for a specific terrain surface.
std::vector< VortexSurfaceInfo * > myBodyOfWaterTypeToMaterialMap
Mapping from body of water types to Vortex materials.
Definition surfaceToVxMaterialMapper.h:121
DtSurfaceToVxMaterialMapper()
Default constructor.
virtual void init(const Vx::VxMaterialTable *val)
Initialize the material mapper with a Vortex material table.
Vx::VxMaterial * getVortexMaterial(const DtSurface &surf)
Get the Vortex material for a specific terrain surface.
Export macros for the VR-Forces Vortex extension library.
#define VREVRFVORTEX_DLL
Export macro for non-Windows platforms.
Definition export.h:30
Wheel articulated part IDs used in the system.
Definition surfaceToVxMaterialMapper.h:17
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Structure that holds information about a Vortex surface material mapping.
Definition surfaceToVxMaterialMapper.h:29
bool isFiltered
Flag indicating if this surface should be filtered out in triangle generation.
Definition surfaceToVxMaterialMapper.h:42
VortexSurfaceInfo()
Default constructor.
Definition surfaceToVxMaterialMapper.h:33
Vx::VxMaterial * material
Pointer to the Vortex material.
Definition surfaceToVxMaterialMapper.h:41
std::string surfaceTypeString
String representation of the surface type.
Definition surfaceToVxMaterialMapper.h:45
bool isUsingDefault
Flag indicating if this surface is using the default material.
Definition surfaceToVxMaterialMapper.h:44
std::string surfaceTypeMapping
The material mapping string from configuration.
Definition surfaceToVxMaterialMapper.h:46
bool shouldUseRoughnessMap
Flag indicating if roughness mapping should be used for this surface.
Definition surfaceToVxMaterialMapper.h:43