AGX Dynamics
2.37.3.2
TrimeshInterpolator.h
Go to the documentation of this file.
1
/*
2
Copyright 2007-2024. 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_TRIMESHINTERPOLATOR_H
18
#define AGXUTIL_TRIMESHINTERPOLATOR_H
19
20
#include <
agx/agx.h
>
21
#include <
agxUtil/agxUtil.h
>
22
23
namespace
agxCollide
{
24
class
Trimesh;
25
}
26
27
namespace
agxUtil
{
28
32
AGX_DECLARE_POINTER_TYPES
(
TrimeshInterpolator
);
33
class
AGXPHYSICS_EXPORT
TrimeshInterpolator
34
{
35
public
:
36
38
TrimeshInterpolator
() {}
39
~TrimeshInterpolator
() {}
40
50
static
agxCollide::Trimesh
* createInterpolationTrimesh(
51
const
agxCollide::Trimesh
* startTrimesh,
52
const
agxCollide::Trimesh
* endTrimesh,
53
agx::Real
subTime);
54
63
static
agx::Vec3Vector
createVelocityVector(
64
const
agxCollide::Trimesh
* startTrimesh,
65
const
agxCollide::Trimesh
* endTrimesh,
66
agx::Real
duration);
67
68
DOXYGEN_START_INTERNAL_BLOCK
()
69
70
79
static
void
replaceContactGeometry(
80
agx::RigidBody
* newContactBody,
81
const
agx::Vec3Vector
* velocityVector,
82
agxCollide::GeometryContact
* geometryContact,
83
size_t
geoToReplace
// Index 0 or 1
84
);
85
DOXYGEN_END_INTERNAL_BLOCK
()
86
87
};
88
}
89
90
#endif
91
agxCollide
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Definition:
ContactForceFilterParticipant.h:22
agxCollide::GeometryContact
A contact between two geometries.
Definition:
Contacts.h:270
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agxUtil::TrimeshInterpolator::TrimeshInterpolator
TrimeshInterpolator()
Default constructor.
Definition:
TrimeshInterpolator.h:38
agx::VectorPOD< Vec3 >
agxUtil::TrimeshInterpolator::~TrimeshInterpolator
~TrimeshInterpolator()
Definition:
TrimeshInterpolator.h:39
agx::RigidBody
The rigid body class, combining a geometric model and a frame of reference.
Definition:
RigidBody.h:54
agx.h
agx::Real
double Real
Definition:
Real.h:42
agxUtil.h
agxCollide::Trimesh
Triangle mesh for geometric intersection tests.
Definition:
Trimesh.h:42
DOXYGEN_END_INTERNAL_BLOCK
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition:
Object.h:98
agxUtil
The agxUtil namespace contain classes and methods for utility functionality.
Definition:
CylindricalJoint.h:22
DOXYGEN_START_INTERNAL_BLOCK
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition:
Object.h:97
agxCollide::AGX_DECLARE_POINTER_TYPES
AGX_DECLARE_POINTER_TYPES(SpaceListener)
agxUtil::TrimeshInterpolator
Definition:
TrimeshInterpolator.h:33
include
agxUtil
TrimeshInterpolator.h
Generated on Fri Apr 12 2024 12:40:27 for AGX Dynamics by
1.8.13