AGXDynamics
2.35.0.2
TrimeshInterpolator.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_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
agx::Real
double Real
Definition:
Real.h:42
DOXYGEN_END_INTERNAL_BLOCK
#define DOXYGEN_END_INTERNAL_BLOCK()
Definition:
macros.h:97
DOXYGEN_START_INTERNAL_BLOCK
#define DOXYGEN_START_INTERNAL_BLOCK()
Definition:
macros.h:96
agx::VectorPOD< Vec3 >
agx
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Definition:
AddedMassInteraction.h:22
AGXPHYSICS_EXPORT
#define AGXPHYSICS_EXPORT
agx::Vec3Vector
VectorPOD< Vec3 > Vec3Vector
Definition:
agx_vector_types.h:58
agx.h
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
agxUtil::TrimeshInterpolator::~TrimeshInterpolator
~TrimeshInterpolator()
Definition:
TrimeshInterpolator.h:39
agxCollide::Trimesh
Triangle mesh for geometric intersection tests.
Definition:
Trimesh.h:42
agxUtil::TrimeshInterpolator
Definition:
TrimeshInterpolator.h:33
agxUtil
The agxUtil namespace contain classes and methods for utility functionality.
Definition:
CylindricalJoint.h:22
agxUtil.h
agxUtil::TrimeshInterpolator::TrimeshInterpolator
TrimeshInterpolator()
Default constructor.
Definition:
TrimeshInterpolator.h:38
include
agxUtil
TrimeshInterpolator.h
Generated on Mon Jan 30 2023 15:44:21 for AGXDynamics by
1.8.17