17 #ifndef AGXMODEL_HEIGHT_MAP_GENERATOR_H
18 #define AGXMODEL_HEIGHT_MAP_GENERATOR_H
60 void setWidth(
const size_t& width);
70 void setHeigth(
const size_t& height);
91 const agx::Vec2& heightInter,
size_t num,
bool periodic_x =
false,
bool periodic_y =
false,
agx::Real max_Height = 0);
150 bool limitToMaxHeight=
false,
agx::Real maxHeight=0);
178 namespace MeshModifierUtils
void AGXPHYSICS_EXPORT init()
Initialize agx.
AGXMODEL_EXPORT agxCollide::Trimesh * bumpCylindricalMeshAroundAnAxisFromHeightData(agxCollide::Trimesh *trimesh, agx::RealMatrix *heightData, agx::Vec3 axis, agx::Vec3 perpendicularBaseVector, agx::Real cylinderLength, agx::Vec3 cylinderCenter)
This struct holds parameters for the creation of a height texture that is a composite bump created by...
A height map generator using a Gaussian function.
#define AGX_DECLARE_POINTER_TYPES(type)
Base class providing referencing counted objects.
agx::Vector< agx::RealVector > RealMatrix
size_t getHeight()
Gets the height in pixels of the produced texture.
size_t getWidth()
Gets the width in pixels of the produced texture.
GaussianFunctionSettings m_settings
void setSeed(agx::UInt seed)
Sets the seed that it used by the random number generator when creating a bump texture.
Triangle mesh for geometric intersection tests.
A base class used for generating textures.