AGX Dynamics 2.41.1.2
Loading...
Searching...
No Matches
HeightFieldGenerator.h
Go to the documentation of this file.
1/*
2Copyright 2007-2025. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXUTIL_HEIGHTFIELDGENERATOR_H
18#define AGXUTIL_HEIGHTFIELDGENERATOR_H
19
21#include <agx/Referenced.h>
22#include <agx/String.h>
23
24namespace agxCollide {
25 class HeightField;
26}
27
28namespace agxIO {
29 class Image;
30}
31
32namespace agxUtil {
33
37
38 public:
39
41 HeightFieldGenerator() : Referenced() {}
42
53 agx::Real sizeX, agx::Real sizeY,
54 agx::Real low, agx::Real high,
55 agx::Real bottomMargin=agx::Real(1));
56
67 agx::Real sizeX, agx::Real sizeY,
68 agx::Real low, agx::Real high,
69 agx::Real bottomMargin=agx::Real(1));
70
71 protected:
73
74 };
75
76}
77
78
79#endif
80
#define AGX_DECLARE_POINTER_TYPES(type)
Definition: Referenced.h:254
#define AGXPHYSICS_EXPORT
A HeightField is a collision shape that can be created from a grid structure, like an image.
Class to represent Images.
Definition: Image.h:33
static agxCollide::HeightField * createHeightFieldFromImage(agxIO::Image *image, agx::Real sizeX, agx::Real sizeY, agx::Real low, agx::Real high, agx::Real bottomMargin=agx::Real(1))
static agxCollide::HeightField * createHeightFieldFromFile(const agx::String &filename, agx::Real sizeX, agx::Real sizeY, agx::Real low, agx::Real high, agx::Real bottomMargin=agx::Real(1))
HeightFieldGenerator()
Default constructor.
Base class providing referencing counted objects.
Definition: Referenced.h:120
This namespace consists of a set of classes for handling geometric intersection tests including boole...
The agxIO namespace contains classes for reading, writing and finding files.
Definition: Material.h:42
The agxUtil namespace contain classes and methods for utility functionality.
double Real
Definition: Real.h:42