AGXDynamics
2.35.0.2
HeightFieldGenerator.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
#ifndef AGXUTIL_HEIGHTFIELDGENERATOR_H
18
#define AGXUTIL_HEIGHTFIELDGENERATOR_H
19
20
#include <
agx/agxPhysics_export.h
>
21
#include <
agx/Referenced.h
>
22
#include <
agx/String.h
>
23
24
namespace
agxCollide
{
25
class
HeightField;
26
}
27
28
namespace
agxIO
{
29
class
Image;
30
}
31
32
namespace
agxUtil
{
33
35
AGX_DECLARE_POINTER_TYPES
(
HeightFieldGenerator
);
36
class
AGXPHYSICS_EXPORT
HeightFieldGenerator
:
public
agx::Referenced
{
37
38
public
:
39
41
HeightFieldGenerator
() : Referenced() {}
42
52
static
agxCollide::HeightField
* createHeightFieldFromImage(
agxIO::Image
* image,
53
agx::Real
sizeX,
agx::Real
sizeY,
54
agx::Real
low,
agx::Real
high,
55
agx::Real
bottomMargin=
agx::Real
(1));
56
66
static
agxCollide::HeightField
* createHeightFieldFromFile(
const
agx::String
& filename,
67
agx::Real
sizeX,
agx::Real
sizeY,
68
agx::Real
low,
agx::Real
high,
69
agx::Real
bottomMargin=
agx::Real
(1));
70
71
protected
:
72
virtual
~
HeightFieldGenerator
();
73
74
};
75
76
}
77
78
79
#endif
80
agxPhysics_export.h
Referenced.h
agx::Real
double Real
Definition:
Real.h:42
agxCollide::HeightField
A HeightField is a collision shape that can be created from a grid structure, like an image.
Definition:
agxCollide/HeightField.h:51
agxUtil::HeightFieldGenerator
Definition:
HeightFieldGenerator.h:36
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agxUtil::HeightFieldGenerator::HeightFieldGenerator
HeightFieldGenerator()
Default constructor.
Definition:
HeightFieldGenerator.h:41
agxIO::Image
Class to represent Images.
Definition:
Image.h:32
agx::Referenced
Base class providing referencing counted objects.
Definition:
Referenced.h:113
AGX_DECLARE_POINTER_TYPES
#define AGX_DECLARE_POINTER_TYPES(type)
Definition:
Referenced.h:248
agxCollide
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Definition:
ContactForceFilterParticipant.h:22
String.h
agx::AgXString< std::string >
agxUtil
The agxUtil namespace contain classes and methods for utility functionality.
Definition:
CylindricalJoint.h:22
agxIO
The agxIO namespace contains classes for reading, writing and finding files.
Definition:
Material.h:41
include
agxUtil
HeightFieldGenerator.h
Generated on Mon Jan 30 2023 15:44:13 for AGXDynamics by
1.8.17